-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
/.git | ||
/.vscode | ||
/.idea | ||
/.cache | ||
/.history | ||
/dist | ||
node_modules | ||
.DS_Store | ||
DS_Store? |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
This file was deleted.
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
import React from 'react'; | ||
import styled from 'styled-components'; | ||
|
||
const StyledButton = styled.button` | ||
margin: 0 5px; | ||
padding: 5px; | ||
`; | ||
|
||
export default function Button(props) { | ||
return ( | ||
<StyledButton {...props}> | ||
{props.children} | ||
</StyledButton> | ||
) | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
import React from 'react'; | ||
import styled from 'styled-components'; | ||
|
||
const FlexContainer = styled.div` | ||
display: flex; | ||
flex-direction: ${props => props.directionColumn ? 'column' : 'row'}; | ||
justify-content: ${props => props.justifyContent || 'center'}; | ||
align-items: ${props => props.alignItems || 'center'}; | ||
align-self: ${props => props.alignSelf }; | ||
flex-wrap: ${props => props.wrap ? 'wrap' : 'nowrap'}; | ||
` | ||
|
||
export default function Flex ( {children, ...props}) { | ||
return ( | ||
<FlexContainer {...props}> | ||
{children} | ||
</FlexContainer> | ||
) | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
import React from 'react'; | ||
import styled from 'styled-components'; | ||
|
||
const StyledLink = styled.a` | ||
text-decoration: none; | ||
color: black; | ||
&:hover{ | ||
color: ${props => props.hoverColor || 'black'}; | ||
} | ||
` | ||
|
||
export default function Link({children, ...props}){ | ||
return( | ||
<StyledLink {...props}> | ||
{children} | ||
</StyledLink> | ||
) | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
import React from 'react'; | ||
import styled from 'styled-components'; | ||
import Flex from '../blank_elements/FlexContainer'; | ||
import HeaderNav from './HeaderNav' | ||
|
||
const StyledUsersInitials = styled.div` | ||
width: 40px; | ||
height: 40px; | ||
border: 1px solid #000; | ||
border-radius: 50%; | ||
background: brown; | ||
margin-right: 20px; | ||
visibility: ${props => props.visibility || 'hidden'}; | ||
` | ||
const StyledButton = styled.button.attrs(props => ({ | ||
type: 'button', | ||
}))` | ||
padding: 5px 15px; | ||
font-size: .7rem; | ||
font-weight: 500; | ||
` | ||
|
||
// const | ||
|
||
export default function Account() { | ||
return ( | ||
<Flex> | ||
{/*<StyledUsersInitials/>*/} | ||
<HeaderNav/> | ||
{/*<StyledButton>*/} | ||
{/* Login*/} | ||
{/*</StyledButton>*/} | ||
</Flex> | ||
) | ||
} |