mirror of
https://github.com/status-im/safe-react.git
synced 2025-01-13 11:34:08 +00:00
Remove Footer
This commit is contained in:
parent
5a2d70b057
commit
14b946abc2
@ -1,20 +0,0 @@
|
||||
// @flow
|
||||
import React from 'react'
|
||||
import Block from '~/components/layout/Block'
|
||||
import Link from '~/components/layout/Link'
|
||||
import Paragraph from '~/components/layout/Paragraph'
|
||||
import { WELCOME_ADDRESS, SAFELIST_ADDRESS } from '~/routes/routes'
|
||||
import styles from './index.scss'
|
||||
|
||||
const Footer = () => (
|
||||
<Block className={styles.footer}>
|
||||
<Link to={WELCOME_ADDRESS}>
|
||||
<Paragraph size="sm" color="primary" noMargin>Add Safe</Paragraph>
|
||||
</Link>
|
||||
<Link to={SAFELIST_ADDRESS}>
|
||||
<Paragraph size="sm" color="primary" noMargin>Safe List</Paragraph>
|
||||
</Link>
|
||||
</Block>
|
||||
)
|
||||
|
||||
export default Footer
|
@ -1,24 +0,0 @@
|
||||
.footer {
|
||||
font-size: $smallFontSize;
|
||||
display: grid;
|
||||
grid-template-columns: 100px 100px 1fr;
|
||||
grid-template-rows: 36px;
|
||||
justify-items: center;
|
||||
align-items: center;
|
||||
border: solid 0.5px $border;
|
||||
background-color: white;
|
||||
margin-top: 50px;
|
||||
}
|
||||
|
||||
@media only screen and (max-width: $(screenXs)px) {
|
||||
.footer {
|
||||
grid-template-columns: none;
|
||||
grid-template-rows: auto auto;
|
||||
grid-row-gap: $sm;
|
||||
justify-items: center;
|
||||
}
|
||||
|
||||
.footer > a {
|
||||
padding: 0;
|
||||
}
|
||||
}
|
@ -1,16 +0,0 @@
|
||||
// @flow
|
||||
import { storiesOf } from '@storybook/react'
|
||||
import * as React from 'react'
|
||||
import styles from '~/components/layout/PageFrame/index.scss'
|
||||
import Component from './index'
|
||||
|
||||
const FrameDecorator = (story) => (
|
||||
<div className={styles.frame}>
|
||||
<div style={{ flex: '1' }} />
|
||||
{story()}
|
||||
</div>
|
||||
)
|
||||
|
||||
storiesOf('Components /Footer', module)
|
||||
.addDecorator(FrameDecorator)
|
||||
.add('Loaded', () => <Component />)
|
@ -1,6 +1,5 @@
|
||||
// @flow
|
||||
import * as React from 'react'
|
||||
import Footer from '~/components/Footer'
|
||||
import Header from '~/components/Header'
|
||||
import SidebarProvider from '~/components/Sidebar'
|
||||
import { SharedSnackbarProvider } from '~/components/SharedSnackBar'
|
||||
@ -16,7 +15,6 @@ const PageFrame = ({ children }: Props) => (
|
||||
<SidebarProvider>
|
||||
<Header />
|
||||
{children}
|
||||
<Footer />
|
||||
</SidebarProvider>
|
||||
</div>
|
||||
</SharedSnackbarProvider>
|
||||
|
Loading…
x
Reference in New Issue
Block a user