-
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.
- Loading branch information
Showing
20 changed files
with
330 additions
and
295 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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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,39 @@ | ||
import React from 'react'; | ||
import styled from 'styled-components'; | ||
import tw from 'twin.macro'; | ||
import { Heading3 } from '../..'; | ||
import { | ||
FirstAboutContainer, | ||
FirstRow, | ||
FrItems, | ||
AboutBox, | ||
Para, | ||
Content, | ||
LogoCont, | ||
LogoImg, | ||
} from './styles'; | ||
|
||
const AboutContainer = ({ AbtLogo, about_content }) => { | ||
console.log(about_content); | ||
return ( | ||
<FirstAboutContainer> | ||
<FirstRow> | ||
<FrItems>About US</FrItems> | ||
<FrItems>Contact US</FrItems> | ||
<FrItems>Sponsor US</FrItems> | ||
</FirstRow> | ||
|
||
<AboutBox> | ||
<LogoCont> | ||
<LogoImg src={AbtLogo} alt={about_content.img.alt} /> | ||
</LogoCont> | ||
<Para> | ||
<Heading3>{about_content.title}</Heading3> | ||
<Content>{about_content.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,39 @@ | ||
import React from 'react'; | ||
import tw from 'twin.macro'; | ||
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'; | ||
import { SocialLogo, SocialText, SocialsCont, CradleContainer, Ball, Ball1, Ball5 } from './styles'; | ||
import { fb, twitter } from './images'; | ||
|
||
const Cradle = ({ socials, text }) => { | ||
return ( | ||
<SocialsCont> | ||
<CradleContainer> | ||
<a href='https://facebook.com/hacknitr'> | ||
<Ball1> | ||
<SocialLogo src={fb} /> | ||
</Ball1> | ||
</a> | ||
{socials.slice(1, -1).map((s) => ( | ||
<a href={s.link}> | ||
<Ball> | ||
<SocialLogo src={s.name} /> | ||
</Ball> | ||
</a> | ||
))} | ||
<a href='https://twitter.com/hacknitr'> | ||
<Ball5> | ||
<SocialLogo src={twitter} /> | ||
</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
Oops, something went wrong.