-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* chore: Max 15 rows each page * chore: Add xxxx_l spacing * feat: Add footer to app * chore: Add api page component * style: Add outlet wrapper * style: fixed height for footer * chore: fixed naming of prop
- Loading branch information
1 parent
309289d
commit 612e3b2
Showing
11 changed files
with
91 additions
and
15 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
import styled from 'styled-components' | ||
|
||
const StyledOutletWrapper = styled.section` | ||
height: calc(100% - 200px); | ||
overflow: scroll; | ||
` | ||
export { StyledOutletWrapper as OutletWrapper } |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
import styled from 'styled-components' | ||
import { spacings } from '../../tokens/spacings' | ||
import { theme } from '../../tokens/theme' | ||
|
||
const StyledFooter = styled.footer` | ||
height: ${spacings.XXXX_LARGE}; | ||
display: flex; | ||
justify-content: space-between; | ||
align-items: center; | ||
border-top: 1px solid ${theme.light.ui.background.medium}; | ||
padding: ${spacings.SMALL} ${spacings.LARGE}; | ||
position: fixed; | ||
left: 0; | ||
bottom: 0; | ||
width: 100%; | ||
> .footer-img { | ||
height: ${spacings.XXX_LARGE}; | ||
} | ||
` | ||
export { StyledFooter as Footer } |
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 { Typography } from '@equinor/eds-core-react' | ||
|
||
import logo from './Equinor_HORIZ_logo_RGB_RED.png' | ||
import * as Styled from './Footer.styled' | ||
|
||
export const Footer = ({ text }: { text: string }) => { | ||
return ( | ||
<Styled.Footer> | ||
<Typography>{text}</Typography> | ||
<img className="footer-img" src={logo} alt="Equinor Logo" /> | ||
</Styled.Footer> | ||
) | ||
} |
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,9 @@ | ||
import { Typography } from '@equinor/eds-core-react' | ||
|
||
export const Api = () => { | ||
return ( | ||
<> | ||
<Typography> Api to come her soon! </Typography> | ||
</> | ||
) | ||
} |
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