forked from dscnitrourkela/project-waffle
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request dscnitrourkela#3 from AYANscyy2/dev-aboutus
feat: added about us and stats
- Loading branch information
Showing
8 changed files
with
74 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
import styled from 'styled-components'; | ||
import tw from 'twin.macro'; | ||
|
||
import { PrizesHeading, PrizesHeadingContainer } from '../prizes/styles'; | ||
|
||
export const SectionContainer = styled.div` | ||
${tw` | ||
flex flex-col justify-center items-center pb-[141px] gap-[40px] sm:gap-[50px] md:gap-[67px] max-w-[1200px] | ||
`} | ||
`; | ||
export const AboutUSHeadingContainer = styled(PrizesHeadingContainer)` | ||
${tw`max-w-[340px]`} | ||
`; | ||
export const AboutUsHeading = styled(PrizesHeading)``; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
import { AboutUsHeading, AboutUSHeadingContainer, SectionContainer } from './AboutUsMain.Styles'; | ||
import { AboutUsDescription } from './Description'; | ||
|
||
export const AboutUsMain = () => { | ||
return ( | ||
<SectionContainer> | ||
<AboutUSHeadingContainer> | ||
<AboutUsHeading>About Us</AboutUsHeading> | ||
</AboutUSHeadingContainer> | ||
<AboutUsDescription /> | ||
</SectionContainer> | ||
); | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
import { DescriptioData } from '@/config/content/AboutUs/Data'; | ||
import { DescriptionContainer } from './Description.styles'; | ||
|
||
export const AboutUsDescription = () => { | ||
return <DescriptionContainer>{DescriptioData}</DescriptionContainer>; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
import styled from 'styled-components'; | ||
import tw from 'twin.macro'; | ||
|
||
import { Paragraph } from '../shared/typography/Headings'; | ||
|
||
export const DescriptionContainer = styled(Paragraph)` | ||
${tw` | ||
font-light text-[20px] leading-[32px] sm:text-[24px] sm:leading-[36px] md:text-[28px] md:leading-[44.8px] lg:text-[32px] lg:leading-[51.2px] | ||
`} | ||
`; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
import { SectionContainer, StatsHeading, StatsHeadingContainer } from './StatsMain.style'; | ||
|
||
export const StatsMain = () => { | ||
return ( | ||
<SectionContainer> | ||
<StatsHeadingContainer> | ||
<StatsHeading>Stats HackNITR 6.0</StatsHeading> | ||
</StatsHeadingContainer> | ||
</SectionContainer> | ||
); | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
import styled from 'styled-components'; | ||
import tw from 'twin.macro'; | ||
|
||
import { PrizesHeading, PrizesHeadingContainer } from '../prizes/styles'; | ||
|
||
export const SectionContainer = styled.div` | ||
${tw` | ||
flex flex-col justify-center items-center gap-[40px] sm:gap-[50px] md:gap-[67px] max-w-[1200px] | ||
`} | ||
`; | ||
export const StatsHeadingContainer = styled(PrizesHeadingContainer)` | ||
${tw`max-w-[608px]`} | ||
`; | ||
export const StatsHeading = styled(PrizesHeading)``; |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.