nehatkhan
nehatkhan
Explore posts from servers
KPCKevin Powell - Community
Created by nehatkhan on 6/30/2023 in #front-end
Need help with the layout problem. the content of the main section is going below the sidebar.
This is the code of my app.js file file, where I put the sidebar and topbar so that It can be accessed on every page.
import { Box, Container, Grid, Typography } from "@mui/material";
import React from "react";
import SideNav from "../../components/nav/SideNav";
import TopNav from "../../components/nav/TopNav";
import { OverViewCard } from "../../components/overview/OverViewCard";

const Dashboard = () => {
return (
<>
<Box sx={{display:'flex'}}>
<Box component="main" sx={{py: 8, flexGrow:1 }}>
<Container maxWidth='lg'>
<Grid container spacing={3} sx={{justifyContent:'center', flex:1}}>
<Grid item sm={12} md={6} lg={4}>
<OverViewCard />
</Grid>

<Grid item sm={12} md={6} lg={4}>
<OverViewCard />
</Grid>

<Grid item sm={12} md={6} lg={4}>
<OverViewCard />
</Grid>
</Grid>
</Container>
</Box>
</Box>
</>
);
};

export default Dashboard;
import { Box, Container, Grid, Typography } from "@mui/material";
import React from "react";
import SideNav from "../../components/nav/SideNav";
import TopNav from "../../components/nav/TopNav";
import { OverViewCard } from "../../components/overview/OverViewCard";

const Dashboard = () => {
return (
<>
<Box sx={{display:'flex'}}>
<Box component="main" sx={{py: 8, flexGrow:1 }}>
<Container maxWidth='lg'>
<Grid container spacing={3} sx={{justifyContent:'center', flex:1}}>
<Grid item sm={12} md={6} lg={4}>
<OverViewCard />
</Grid>

<Grid item sm={12} md={6} lg={4}>
<OverViewCard />
</Grid>

<Grid item sm={12} md={6} lg={4}>
<OverViewCard />
</Grid>
</Grid>
</Container>
</Box>
</Box>
</>
);
};

export default Dashboard;
` This is the code of dashboard where I am displaying the cards.
4 replies
KPCKevin Powell - Community
Created by nehatkhan on 6/30/2023 in #front-end
Need help with the layout problem. the content of the main section is going below the sidebar.
sorry sir, I forgot to paste that. just now I did that
4 replies
KPCKevin Powell - Community
Created by nehatkhan on 6/21/2023 in #front-end
what this triangle share in bottom middle of the image called. I want to make this
lol didn't a that name so called it triangle. Thank you I will search it
4 replies
KPCKevin Powell - Community
Created by nehatkhan on 6/21/2023 in #front-end
what this triangle share in bottom middle of the image called. I want to make this
*shape
4 replies
KPCKevin Powell - Community
Created by nehatkhan on 6/16/2023 in #ui-ux
how to make 3 grid not to take height of other column
🙏
26 replies
KPCKevin Powell - Community
Created by nehatkhan on 6/16/2023 in #ui-ux
how to make 3 grid not to take height of other column
no sir not at all. You guys only made me a a dev. I am self-taught developer. Wish me good luck sir, this assignment is for my first job as a developer. Before I was into freelancing.
26 replies
KPCKevin Powell - Community
Created by nehatkhan on 6/16/2023 in #ui-ux
how to make 3 grid not to take height of other column
@webmechanic Thanks to you also.
26 replies
KPCKevin Powell - Community
Created by nehatkhan on 6/16/2023 in #ui-ux
how to make 3 grid not to take height of other column
Agree on this. Anyways sir won't argue. Thanks for the response and help.
26 replies
KPCKevin Powell - Community
Created by nehatkhan on 6/16/2023 in #ui-ux
how to make 3 grid not to take height of other column
items-start this works when I put this in main container. the assignment is to showcase my backend skills not frontend. I know basic so I tried with the framework. Who will jump into the framework without knowing the basic or fundamentals. And I didnt say write code for me. I just ask why its happening.
26 replies
KPCKevin Powell - Community
Created by nehatkhan on 6/16/2023 in #ui-ux
how to make 3 grid not to take height of other column
It's for an assignment, I don't want to put more effort that's why I used Tailwind.
26 replies
KPCKevin Powell - Community
Created by nehatkhan on 6/16/2023 in #ui-ux
how to make 3 grid not to take height of other column
Okay sit
26 replies
KPCKevin Powell - Community
Created by nehatkhan on 6/16/2023 in #ui-ux
how to make 3 grid not to take height of other column
So how should I do that sir
26 replies
KPCKevin Powell - Community
Created by nehatkhan on 6/16/2023 in #ui-ux
how to make 3 grid not to take height of other column
Yes sir, in the codesand box it didnt ise grid col
26 replies
KPCKevin Powell - Community
Created by nehatkhan on 6/16/2023 in #ui-ux
how to make 3 grid not to take height of other column
This is my code, sorry unable to put the code markdown as I am on ios
26 replies
KPCKevin Powell - Community
Created by nehatkhan on 6/16/2023 in #ui-ux
how to make 3 grid not to take height of other column
<div class="grid grid-cols-3 gap-4"> <div class="bg-gray-200 p-4 rounded-md"> <!-- Column 1 content --> </div> <div class="bg-gray-200 p-4 rounded-md"> <!-- Column 2 content --> </div> <div class="bg-gray-200 p-4 rounded-md"> <!-- Column 3 content --> </div> </div>
26 replies
KPCKevin Powell - Community
Created by nehatkhan on 6/16/2023 in #ui-ux
how to make 3 grid not to take height of other column
No description
26 replies
KPCKevin Powell - Community
Created by nehatkhan on 6/1/2023 in #ui-ux
Patient Details Modal Ideas
Thanks for the response. I have already built and delivered the project.
4 replies
KPCKevin Powell - Community
Created by nehatkhan on 6/1/2023 in #front-end
how to fix alignment using flex box
11 replies
KPCKevin Powell - Community
Created by nehatkhan on 6/1/2023 in #front-end
how to fix alignment using flex box
git it sir thanks a lot
11 replies
KPCKevin Powell - Community
Created by nehatkhan on 6/1/2023 in #front-end
how to fix alignment using flex box
Sure sir will do that in a minute by dividing every parts
11 replies