-
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.
* feat: initial commit for footer * fix: fixed isssues * fix: fixed isssues * fix: fixed isssues * fix: fixed isssues * fix: resolved issues * Revert "fix: resolved issues" This reverts commit 87cace3. * feat: added logo and content * fix: resolve issues * feat: text color * feat: text color * fix: text color * fix: text color * fix: text color * fix: text color * feat: added pendulum and index in images * feat: added terms conditions and credits. * fix: created separate file for credits * fix: separated initial abut section * fix: resolved formatting issue using prettier * feat: added content in config * feat: added content in config * fix: prettier check * feat: added cradle files * fix: converted to styled comps * fix: converted to styled comps * fix: formatted files * fix: deleted css files * feat: added social logos * fix: separated styles in styles.jsx * fix: formatted using pretter * fix: converted css to tailwind * feat: made responsive * feat: added colour gradient * fix: moved images to cloudinary * fix: changed mobile view layout * fix: changed mobile view layout * fix: formatted Herosection using prettire * fix: formatted Herosection using prettire * fix: changed mobile view layout * fix: changed aboutsection layout * feat: created links array and mapped * fix: used absolute imports * feat: added gradient animation while moving * added animation for desktop. fixed layout for tab * feat: added pointer to links * fix: ghaction changes * fix: foramtted navbar files --------- Co-authored-by: Ashish Padhy <[email protected]>
- Loading branch information
1 parent
ab1b723
commit 63ee2f6
Showing
18 changed files
with
597 additions
and
42 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
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 |
---|---|---|
|
@@ -146,4 +146,4 @@ export const HeroButtons = styled.div` | |
items-center | ||
mt-4 | ||
`} | ||
`; | ||
`; |
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 |
---|---|---|
@@ -1,2 +1 @@ | ||
|
||
export * from './shared'; |
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,38 @@ | ||
import React from 'react'; | ||
import { Heading3 } from '../..'; | ||
import { | ||
FirstAboutContainer, | ||
FirstRow, | ||
FrItems, | ||
AboutBox, | ||
Para, | ||
Content, | ||
LogoCont, | ||
LogoImg, | ||
} from './styles'; | ||
|
||
const AboutContainer = ({ AbtLogo, aboutContent, abtLinks }) => { | ||
return ( | ||
<FirstAboutContainer> | ||
<FirstRow> | ||
{abtLinks.map((link) => ( | ||
<FrItems href='#' key={link.id}> | ||
{link.title} | ||
</FrItems> | ||
))} | ||
</FirstRow> | ||
|
||
<AboutBox> | ||
<LogoCont> | ||
<LogoImg src={AbtLogo.imgSrc} alt={aboutContent.img.alt} /> | ||
</LogoCont> | ||
<Para> | ||
<Heading3>{aboutContent.title}</Heading3> | ||
<Content>{aboutContent.text}</Content> | ||
</Para> | ||
</AboutBox> | ||
</FirstAboutContainer> | ||
); | ||
}; | ||
|
||
export default AboutContainer; |
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,36 @@ | ||
import React from 'react'; | ||
import { SocialLogo, SocialText, SocialsCont, CradleContainer, Ball, Ball1, Ball5 } from './styles'; | ||
|
||
const Cradle = ({ socials, text }) => { | ||
return ( | ||
<SocialsCont> | ||
<CradleContainer> | ||
<a href='https://facebook.com/hacknitr'> | ||
<Ball1> | ||
<SocialLogo src={socials[0].imgLink} /> | ||
</Ball1> | ||
</a> | ||
{socials.slice(1, -1).map((s) => ( | ||
<a key={socials.indexOf(s)} href={s.link}> | ||
<Ball> | ||
<SocialLogo src={s.imgLink} /> | ||
</Ball> | ||
</a> | ||
))} | ||
<a href='https://twitter.com/hacknitr'> | ||
<Ball5> | ||
<SocialLogo src={socials[socials.length - 1].imgLink} /> | ||
</Ball5> | ||
</a> | ||
</CradleContainer> | ||
|
||
<SocialText> | ||
{text.content1} | ||
<br /> | ||
{text.content2} | ||
</SocialText> | ||
</SocialsCont> | ||
); | ||
}; | ||
|
||
export default Cradle; |
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,24 @@ | ||
import React from 'react'; | ||
import { footer } from '../../../../config'; | ||
import { FooterContainer, InitialCont, SecondPendulumContainer } from './styles'; | ||
import TermsNCredits from './TermsNCredits'; | ||
import AboutContainer from './AboutBox'; | ||
import Cradle from './Cradle'; | ||
|
||
export const Footer = () => { | ||
return ( | ||
<FooterContainer> | ||
<InitialCont> | ||
<AboutContainer | ||
AbtLogo={footer.Nitr} | ||
aboutContent={footer.cards[0]} | ||
abtLinks={footer.links} | ||
/> | ||
<TermsNCredits copyw={footer.copyright} /> | ||
</InitialCont> | ||
<SecondPendulumContainer> | ||
<Cradle socials={footer.socials} text={footer.icons} /> | ||
</SecondPendulumContainer> | ||
</FooterContainer> | ||
); | ||
}; |
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,16 @@ | ||
import React from 'react'; | ||
import { LastLine, Terms, ConditionItems, Credits } from './styles'; | ||
|
||
const TermsNCredits = ({ copyw }) => { | ||
return ( | ||
<LastLine> | ||
<Terms> | ||
<ConditionItems href='#'>Privacy & Cookies</ConditionItems> | ||
<ConditionItems href='#'>Terms and Conditions</ConditionItems> | ||
</Terms> | ||
<Credits>{copyw.content}</Credits> | ||
</LastLine> | ||
); | ||
}; | ||
|
||
export default TermsNCredits; |
Oops, something went wrong.