diff --git a/src/components/ContentPage/index.tsx b/src/components/ContentPage/index.tsx deleted file mode 100644 index 6a3425e..0000000 --- a/src/components/ContentPage/index.tsx +++ /dev/null @@ -1,8 +0,0 @@ -import React from "react" -import * as SC from "./styles" - -export const ContentPage: React.FC = ({ children, ...restProps }) => { - return ( - {children} - ) -} diff --git a/src/components/ContentPage/styles.tsx b/src/components/ContentPage/styles.tsx deleted file mode 100644 index 54df31f..0000000 --- a/src/components/ContentPage/styles.tsx +++ /dev/null @@ -1,11 +0,0 @@ -import styled from "styled-components" - -export const ContentPageWrapper = styled.div` - width: calc(100% - 305px); - margin-right: 305px; - - @media screen and (max-width: 1200px) { - width: 100%; - margin: 0; - } -` diff --git a/src/components/Footer/styles.tsx b/src/components/Footer/styles.tsx index 61d91a8..3f5464f 100644 --- a/src/components/Footer/styles.tsx +++ b/src/components/Footer/styles.tsx @@ -6,9 +6,7 @@ export const FooterWrapper = styled.footer` & a { display: inline; font-weight: 700; - color: #fff; color: ${props => props.theme.main.foreground}; - font-weight: 700; text-decoration: none; position: relative; diff --git a/src/components/Header/styles.tsx b/src/components/Header/styles.tsx index f065888..231d736 100644 --- a/src/components/Header/styles.tsx +++ b/src/components/Header/styles.tsx @@ -15,10 +15,7 @@ export const Meta = styled.div` display: flex; white-space: nowrap; align-items: center; - color: ${props => - props.theme.name === "dark" - ? transparentize(0.1, props.theme.main.foreground) - : transparentize(0.1, props.theme.main.foreground)}; + color: ${props => transparentize(0.1, props.theme.main.foreground)}; & + &::before { content: "•"; @@ -44,10 +41,7 @@ export const Popover = styled.div` padding: 8px; border-radius: 4px; backdrop-filter: blur(14px); - background: ${props => - props.theme.name === "dark" - ? transparentize(0.3, props.theme.main.background) - : transparentize(0.3, props.theme.main.background)}; + background: ${props => transparentize(0.3, props.theme.main.background)}; &::before { position: absolute; @@ -60,11 +54,7 @@ export const Popover = styled.div` border-style: solid; border-width: 0 3.5px 4px 3.5px; border-color: transparent transparent - ${props => - props.theme.name === "dark" - ? transparentize(0.3, props.theme.main.background) - : transparentize(0.3, props.theme.main.background)} - transparent; + ${props => transparentize(0.3, props.theme.main.background)} transparent; } ` @@ -73,10 +63,7 @@ export const PopoverToggler = styled.div` align-items: center; position: relative; border-bottom: 1px dashed - ${props => - props.theme.name === "dark" - ? transparentize(0.1, props.theme.main.foreground) - : transparentize(0.1, props.theme.main.foreground)}; + ${props => transparentize(0.1, props.theme.main.foreground)}; &:hover ${Popover} { display: block; diff --git a/src/components/ResourcesSidebarSection/index.tsx b/src/components/ResourcesSidebarSection/index.tsx deleted file mode 100644 index 177c8c8..0000000 --- a/src/components/ResourcesSidebarSection/index.tsx +++ /dev/null @@ -1,18 +0,0 @@ -import React, { FC } from "react" -import * as SC from "./styles" - -export interface IResourcesSidebarSectionProps { - readonly title: string -} - -export const ResourcesSidebarSection: FC = ({ - title, - children, -}) => { - return ( -
- {title} - {children} -
- ) -} diff --git a/src/components/ResourcesSidebarSection/styles.tsx b/src/components/ResourcesSidebarSection/styles.tsx deleted file mode 100644 index 398a8fd..0000000 --- a/src/components/ResourcesSidebarSection/styles.tsx +++ /dev/null @@ -1,5 +0,0 @@ -import styled from "styled-components" - -export const SidebarTitle = styled.h3` - text-transform: uppercase; -` diff --git a/src/components/Waves/index.tsx b/src/components/Waves/index.tsx index 171fef0..e830034 100644 --- a/src/components/Waves/index.tsx +++ b/src/components/Waves/index.tsx @@ -5,10 +5,6 @@ export const WavesTop: FC = props => { return } -export const WavesTopTwo: FC = props => { - return -} - export const WavesBottom: FC = props => { return } diff --git a/src/components/Waves/styles.tsx b/src/components/Waves/styles.tsx index 366649b..7fdc515 100644 --- a/src/components/Waves/styles.tsx +++ b/src/components/Waves/styles.tsx @@ -1,7 +1,6 @@ import styled, { css } from "styled-components" import WavesBottom from "../../images/waves-bot.svg" import WavesTop from "../../images/waves-top.svg" -import WavesTopTwo from "../../images/waves-top2.svg" const waves = css` display: block; @@ -18,12 +17,6 @@ export const StyledWavesTop = styled(WavesTop)` height: 87vh; ` -export const StyledWavesTopTwo = styled(WavesTopTwo)` - ${waves}; - top: 0; - height: 87vh; -` - export const StyledWavesBottom = styled(WavesBottom)` ${waves}; bottom: 0; diff --git a/src/images/gatsby-astronaut.png b/src/images/gatsby-astronaut.png deleted file mode 100644 index da58ece..0000000 Binary files a/src/images/gatsby-astronaut.png and /dev/null differ diff --git a/src/images/gatsby-icon.png b/src/images/gatsby-icon.png deleted file mode 100644 index 908bc78..0000000 Binary files a/src/images/gatsby-icon.png and /dev/null differ diff --git a/src/images/waves-top2.svg b/src/images/waves-top2.svg deleted file mode 100644 index 3298a47..0000000 --- a/src/images/waves-top2.svg +++ /dev/null @@ -1,33 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file