Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added active and incative label to detail page #187

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion components/Header.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export default function Header ({ title, description }) {
borderRadius="10px"
borderStyle="solid"
position="absolute">
<Title fontSize={{base:"17px",sm:"17px", md:"38px", lg:"48px",xl:"48px","2xl":"75px"}} paddingRight={{sm:"10px", md:"30px", lg:"15%", xl:"15%", "2xl":"30%"}} fontWeight="800px">
<Title fontSize={{base:"25px",sm:"17px", md:"38px", lg:"48px",xl:"48px","2xl":"75px"}} paddingRight={{sm:"10px", md:"30px", lg:"15%", xl:"15%", "2xl":"30%"}} fontWeight="800px">
{title}
</Title>
<Text fontSize={{base:"17px",sm:"24px", md:"30px", lg:"30px",xl:"30px","2xl":"45px"}} fontFamily="sora" fontWeight="500px" marginTop="2rem" paddingRight={{sm:"0px", md:"20px", lg:"15%", xl:"15%", "2xl":"30%"}} textAlign="left" >
Expand Down
2 changes: 1 addition & 1 deletion pages/projects/[id].js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ function Project({
<GridItem colSpan={3}>
<Heading as="h1" textStyle="caps" fontSize={{base:"18px", sm:"25", md:"30px", "2xl":"98px"}} left="78px" top="93px" textAlign="left">
Project Detail
{data.active && <Button bg="#FAD546" marginX="10px" padding={{base:"8px",sm:"8px",md:"8px",lg:"8px",xl:"8px","2xl":"26px"}} fontSize={{base:"8px",sm:"8px",md:"8px",lg:"8px",xl:"8px","2xl":"30px"}} border="1px solid #000" color="#000" textTransform="uppercase" h="18px">Active</Button>}
{data.active ? <Button bg="#FAD546" marginX="10px" padding={{base:"8px",sm:"8px",md:"8px",lg:"8px",xl:"8px","2xl":"26px"}} fontSize={{base:"8px",sm:"8px",md:"8px",lg:"8px",xl:"8px","2xl":"30px"}} border="1px solid #000" color="#000" textTransform="uppercase" h="18px">Active</Button>:<Button bg="#FAD546" marginX="10px" padding={{base:"8px",sm:"8px",md:"8px",lg:"8px",xl:"8px","2xl":"26px"}} fontSize={{base:"8px",sm:"8px",md:"8px",lg:"8px",xl:"8px","2xl":"30px"}} border="1px solid #000" color="#000" textTransform="uppercase" h="18px">Inactive</Button> }
</Heading>
</GridItem>
<GridItem colSpan={1} />
Expand Down