Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
70 changes: 53 additions & 17 deletions src/components/03_organism/PageFooter/PageFooter.jsx
Original file line number Diff line number Diff line change
@@ -1,40 +1,76 @@
import React from 'react';
import { Link } from 'react-router-dom';
import { StyleSheet, css } from 'aphrodite';
import breakpoints from '../../../styles/breakpoints';
import grid from '../../../styles/grid';

const PageFooter = () => (
<div>
<div className={css(styles.col)}>
<strong>Umami Magazine & Umami Publications</strong> are purely fictional companies used for illustrative
purposes only.
<footer>
<div className={css(styles.footerTop)}>
<h2 className={css(styles.h2)}>Umami Magazine</h2>
<div className={css(styles.col, styles.leftCol)}>
Umami Publications example footer content. Integer posuere erat a ante veneatis dapibus
posuere velit aliquet. Sed posuere consectetur est at lobortis. Donec id elit non mi porta.
</div>
<div className={css(styles.col, styles.rightCol)}>
<ul className={css(styles.ul)}>
<li>Get in touch</li>
<li><Link to={'https://www.drupal.org/node/2818741#comment-12114776'}>About the Drupal Umami theme</Link></li>
</ul>
</div>
</div>
<div className={css(styles.col, styles.middleCol)}>
Read more about this theme
<div className={css(styles.footerBottom)}>
<div className={css(styles.col, styles.leftCol)}>
<strong>Umami Magazine & Umami Publications</strong> are purely fictional companies used for illustrative
purposes only.
</div>
<div className={css(styles.col, styles.rightCol)}>
&copy; Terms & Conditions
</div>
</div>
<div className={css(styles.col, styles.rightCol)}>
&copy; Terms & Conditions
</div>
</div>
</footer>
);

const styles = StyleSheet.create({
footerTop: {
backgroundColor: 'DarkGray',
padding: '0 0 1rem 0',
[breakpoints.echoAndUp]: {
...grid.span(12),
},
},
footerBottom: {
backgroundColor: 'LightGray',
padding: '1rem 0 1rem 0',
[breakpoints.echoAndUp]: {
...grid.span(12),
},
},
h2: {
fontSize: '2rem',
marginBottom: 0,
},
col: {
padding: '0 1rem 1rem 0',
padding: '0 0 1rem 0',
[breakpoints.echoAndUp]: {
...grid.span(3),
padding: '0 1rem 0 0',
}
padding: '0 0 2rem 0',
},
},
middleCol: {
leftCol: {
[breakpoints.echoAndUp]: {
textAlign: 'right',
}
...grid.span(9),
},
},
rightCol: {
[breakpoints.echoAndUp]: {
padding: 0,
}
},
},
ul: {
padding: 0,
listStyleType: 'none',
margin: 0,
},
});

Expand Down