diff --git a/client/index.css b/client/index.css index 9d11dc7..d456db6 100644 --- a/client/index.css +++ b/client/index.css @@ -3,6 +3,9 @@ * (c) 2019 - 2020 Nguyen Huu Phuoc */ +:root { + --text-color: #1e1d6e; +} body { font-family: Lato, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; margin: 0; @@ -13,6 +16,17 @@ body { a { text-decoration: none; } + +/* Layout */ +.container { + margin: 0 auto; + max-width: 64rem; + padding: 0 1rem; +} +.main { + margin: 4rem 0; +} + .hljs, code { font-family: 'Source Code Pro', monospace; font-size: 14px; @@ -25,4 +39,4 @@ a { line-height: 1; margin: 0 8px 0 0; padding: 0 8px; -} +} \ No newline at end of file diff --git a/client/layouts/Footer.tsx b/client/layouts/Footer.tsx index aceaf01..d69c21f 100644 --- a/client/layouts/Footer.tsx +++ b/client/layouts/Footer.tsx @@ -3,167 +3,80 @@ * (c) 2019 - 2020 Nguyen Huu Phuoc */ -import React from 'react'; +import * as React from 'react'; -import SubscribeForm from './SubscribeForm'; +import './footer.css'; const Footer: React.FC<{}> = () => { return ( -
-
- -
-

Products

- + ); }; diff --git a/client/layouts/footer.css b/client/layouts/footer.css new file mode 100644 index 0000000..279d937 --- /dev/null +++ b/client/layouts/footer.css @@ -0,0 +1,37 @@ +.footer { + padding: 2rem 0 4rem 0; +} +.footer__about { + border-bottom: 1px solid var(--text-color); + display: flex; + margin-bottom: 1rem; + padding-bottom: 1rem; +} +.footer__author { + flex: 1; +} +.footer__social { + margin-left: 0.5rem; + color: var(--text-color); +} +.footer__grid { + display: flex; + margin-left: -1rem; + margin-right: -1rem; +} +.footer__col { + flex: 1; + padding-left: 1rem; + padding-right: 1rem; +} +.footer__products { + list-style-type: none; + margin: 0; + padding: 0; +} +.footer__product { + margin: 0.25rem 0; +} +.footer__product a { + color: var(--text-color); +} \ No newline at end of file