Skip to content

Commit

Permalink
Merge pull request #2 from petertonysmith94/feature/icons
Browse files Browse the repository at this point in the history
Feature/icons
  • Loading branch information
petertonysmith94 authored Jan 8, 2024
2 parents 60e78b1 + 0bd39af commit 8562f33
Show file tree
Hide file tree
Showing 14 changed files with 109 additions and 66 deletions.
1 change: 0 additions & 1 deletion public/logo.svg

This file was deleted.

5 changes: 0 additions & 5 deletions src/app/app-content.styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,6 @@ export const HeroWrapper = styled.div`
}
`

export const HeroImageWrapper = styled.img`
width: 200px;
height: 200px;
`

export const SocialsWrapper = styled.div`
display: flex;
margin: 4px;
Expand Down
35 changes: 0 additions & 35 deletions src/app/app-content.tsx

This file was deleted.

36 changes: 34 additions & 2 deletions src/app/app.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,40 @@
import { ThemeProvider } from "styled-components";
import { ThemeProvider, useTheme } from "styled-components";
import { GlobalReset, GlobalStyle } from "../components/global-style";
import { createTheme } from "../theme/theme";
import { AppContent } from "./app-content";
import { Pages, MarkdownPage } from "../components/page";
import { Socials } from "../components/socials";
import { config } from "../config";
import { HomeWrapper, HeroWrapper, Divider, SocialsWrapper } from "./app-content.styles";

const AppContent = () => {
const theme = useTheme();

const { logo: Logo, socials } = config;

return (
<HomeWrapper>
<HeroWrapper>
<Logo color={theme.accent} />
<SocialsWrapper>
<Socials
socials={socials}
color={theme.accent}
/>
</SocialsWrapper>
</HeroWrapper>

<Divider />

<Pages>
<MarkdownPage children={`# Profile`} />
<MarkdownPage children={`# Experience`} />
<MarkdownPage children={`# Projects`} />
<MarkdownPage children={`# Contact`} />
</Pages>
</HomeWrapper>
);
}

export const App = () => {
const mode = 'dark';
const theme = createTheme(mode);
Expand Down
File renamed without changes
File renamed without changes
3 changes: 3 additions & 0 deletions src/assets/logo.mini.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 8562f33

Please sign in to comment.