-
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
Francis Igbiriki
committed
Sep 18, 2023
1 parent
4914e11
commit 700a33a
Showing
16 changed files
with
304 additions
and
236 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 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,51 @@ | ||
import styled from "styled-components"; | ||
|
||
export const TabsWrapper = styled.div` | ||
flex: 1; | ||
display: flex; | ||
flex-direction: column; | ||
`; | ||
|
||
export const TabButton = styled.button` | ||
flex: 1; | ||
height: 50px; | ||
padding: 0px 24px; | ||
display: flex; | ||
align-items: center; | ||
justify-content: center; | ||
font-size: 16px; | ||
cursor: default; | ||
background: transparent; | ||
outline: none; | ||
transition: border-color 0.2s ease-in; | ||
border: none; | ||
text-transform: capitalize; | ||
color: ${(props) => props.theme.san}; | ||
border-bottom: 2px solid | ||
${(props) => (props.selected ? props.theme.san : "#fff")}; | ||
&:hover, | ||
&:focus, | ||
&:active { | ||
border-bottom: 2px solid | ||
${(props) => (props.selected ? props.theme.san : "#fff")}; | ||
} | ||
`; | ||
|
||
export const TabList = styled.div` | ||
display: flex; | ||
flex-direction: row; | ||
width: 100%; | ||
@media (max-width: ${(props) => props.breakPoint}) { | ||
flex-direction: column; | ||
& > div, | ||
& > div > button { | ||
width: 100%; | ||
} | ||
} | ||
`; | ||
|
||
export const TabContent = styled.div` | ||
flex: 1; | ||
width: 100%; | ||
padding-top: 16px; | ||
`; |
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,45 +1,41 @@ | ||
import React from 'react'; | ||
import { Title } from '../../components/Text/Text'; | ||
import { StyledComponent } from './banner.styles'; | ||
import React from "react"; | ||
import { Title } from "../../components/Text/Text"; | ||
import { BannerContainer, StyledComponent } from "./banner.styles"; | ||
import { Link } from "styled-icons/evaicons-solid"; | ||
|
||
export default function Banner() { | ||
return ( | ||
<StyledComponent> | ||
<Title> | ||
<code style={{ fontSize: '40px' }}>{'<Igbiriki Francis/>'}</code> | ||
<code style={{ fontSize: "40px" }}>{"<Igbiriki Francis/>"}</code> | ||
</Title> | ||
|
||
<main | ||
style={{ | ||
display: 'flex', | ||
justifyContent: 'space-between', | ||
gap: '20px', | ||
}} | ||
> | ||
<BannerContainer> | ||
<Link /> | ||
<a | ||
href='https://github.com/igmrrf' | ||
target='_blank' | ||
rel='noreferrer noopener' | ||
style={{ textDecoration: 'none' }} | ||
href="https://github.com/igmrrf" | ||
target="_blank" | ||
rel="noreferrer noopener" | ||
style={{ textDecoration: "none" }} | ||
> | ||
</a> | ||
<a | ||
href="https://github.com/igmrrf" | ||
target="_blank" | ||
rel="noreferrer noopener" | ||
style={{ textDecoration: "none" }} | ||
> | ||
Github | ||
</a> | ||
<a | ||
href='https://twitter.com/igmrrf' | ||
target='_blank' | ||
rel='noreferrer noopener' | ||
style={{ textDecoration: 'none' }} | ||
href="https://twitter.com/igmrrf" | ||
target="_blank" | ||
rel="noreferrer noopener" | ||
style={{ textDecoration: "none" }} | ||
> | ||
</a> | ||
</main> | ||
|
||
{/* <Colors> | ||
<Color color={'ichi'}>Ichi</Color> | ||
<Color color={'ni'}>ni</Color> | ||
<Color color={'san'}>san</Color> | ||
<Color color={'yan'}>yan</Color> | ||
</Colors> */} | ||
</BannerContainer> | ||
</StyledComponent> | ||
); | ||
} |
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 |
---|---|---|
@@ -1,10 +1,10 @@ | ||
import React from 'react'; | ||
import { Foot } from './footer.styles'; | ||
import React from "react"; | ||
import { Foot } from "./footer.styles"; | ||
|
||
export default function Footer() { | ||
return ( | ||
<Foot> | ||
<h1>Copyright @ igmrrf</h1> | ||
<h2>Copyright @ igmrrf</h2> | ||
</Foot> | ||
); | ||
} |
Empty file.
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,28 +1,24 @@ | ||
import React from 'react'; | ||
import Tabs from '../../components/Tabs'; | ||
import { Title } from '../../components/Text/Text'; | ||
import Stack from '../stack/stack'; | ||
import { Button, CustomButton } from './projects.styles'; | ||
import ProjectData from '../../data/projects'; | ||
import React from "react"; | ||
import Tabs from "../../components/Tabs"; | ||
import { Title } from "../../components/Text/Text"; | ||
import Stack from "../stack/stack"; | ||
import { Button, CustomButton, ProjectsContainer } from "./projects.styles"; | ||
import ProjectData from "../../data/projects"; | ||
|
||
const ReversedButton = (props) => ( | ||
<Button {...props} children={props.children.split('').reverse()} /> | ||
<Button {...props} children={props.children.split("").reverse()} /> | ||
); | ||
|
||
export default function Projects() { | ||
return ( | ||
<div> | ||
<ProjectsContainer> | ||
<Title>Projects</Title> | ||
<Button>Fake Json API</Button> | ||
<CustomButton as="a" href="https://igmrrf.com"> | ||
MKBHD | ||
</CustomButton> | ||
<Tabs> | ||
{Object.keys(ProjectData).map((data, index) => ( | ||
<Stack label={data} key={index} data={ProjectData[data]} /> | ||
))} | ||
</Tabs> | ||
<CustomButton as={ReversedButton}>Movies</CustomButton> | ||
</div> | ||
<CustomButton as={ReversedButton}>Reverse</CustomButton> | ||
</ProjectsContainer> | ||
); | ||
} |
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.
700a33a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
igmrrf – ./
igmrrf-git-main-igmrrf.vercel.app
igmrrf-igmrrf.vercel.app
www.igbiriki.com
igmrrf.vercel.app
igbiriki.com