diff --git a/web/e.cash/components/atoms/index.js b/web/e.cash/components/atoms/index.js new file mode 100644 index 000000000..2005397ff --- /dev/null +++ b/web/e.cash/components/atoms/index.js @@ -0,0 +1,3 @@ +import { Container, ThemeSwitch } from './styles'; + +export { Container, ThemeSwitch }; diff --git a/web/e.cash/components/atoms/styles.js b/web/e.cash/components/atoms/styles.js new file mode 100644 index 000000000..5eb9e0709 --- /dev/null +++ b/web/e.cash/components/atoms/styles.js @@ -0,0 +1,22 @@ +import styled from 'styled-components'; + +export const Container = styled.div` + width: 100%; + margin: auto; + max-width: 1500px; + padding: 0 50px; + + ${props => props.theme.breakpoint.medium} { + padding: 0 20px; + } +`; + +export const ThemeSwitch = styled.div` + position: fixed; + bottom: 30px; + width: 40px; + height: 40px; + z-index: 9999; + background: rgba(255, 255, 255, 0.1); + right: 30px; +`; diff --git a/web/e.cash/components/layout.js b/web/e.cash/components/layout/index.js similarity index 98% rename from web/e.cash/components/layout.js rename to web/e.cash/components/layout/index.js index 25b3be69c..0f8bdb2c1 100644 --- a/web/e.cash/components/layout.js +++ b/web/e.cash/components/layout/index.js @@ -1,40 +1,40 @@ import Head from 'next/head'; -import Nav from './navbar'; +import Nav from '/components/navbar'; const Layout = ({ metaTitle = 'eCash | Wealth Redefined', metaDescription = 'Introducing eCash: the new battle-tested cryptocurrency forged from centuries of economic theory and over a decade of real-world crypto experience. eCash is the implementation of the tech-secured sound money envisioned by luminaries in monetary philosophy like Milton Friedman. eCash follows through on key promises such as the innovative Avalanche consensus layer while also introducing concepts never before seen in a Bitcoin project such as staking, fork-free network upgrades, and subchains. Look for the ticker symbol XEC on exchanges, wallets, or price charts, and take your first step towards true financial freedom.', children, }) => { return ( <> {metaTitle}