nicer link color
This commit is contained in:
parent
9413d3e6e6
commit
52286f5fb0
19
src/app.js
19
src/app.js
|
@ -3,12 +3,15 @@ import React from "react"
|
||||||
import { Header, Projects } from "./components"
|
import { Header, Projects } from "./components"
|
||||||
import { Body, Section } from "./elements"
|
import { Body, Section } from "./elements"
|
||||||
import NoscriptWarning from "./noscript"
|
import NoscriptWarning from "./noscript"
|
||||||
|
import { ThemeProvider } from "styled-components"
|
||||||
|
import { Dark } from "./themes"
|
||||||
|
|
||||||
|
export default () => <ThemeProvider theme={ Dark }>
|
||||||
export default () => <Body>
|
<Body>
|
||||||
<NoscriptWarning />
|
<NoscriptWarning />
|
||||||
<Header />
|
<Header />
|
||||||
<Section title="My Projects">
|
<Section title="My Projects">
|
||||||
<Projects />
|
<Projects />
|
||||||
</Section>
|
</Section>
|
||||||
</Body>
|
</Body>
|
||||||
|
</ThemeProvider>
|
||||||
|
|
|
@ -6,15 +6,12 @@ import React from "react"
|
||||||
import ReactDOM from "react-dom"
|
import ReactDOM from "react-dom"
|
||||||
import App from "./app"
|
import App from "./app"
|
||||||
import { ThemeProvider } from "styled-components"
|
import { ThemeProvider } from "styled-components"
|
||||||
import { Dark } from "./themes"
|
|
||||||
import { BrowserRouter, Route } from "react-router-dom"
|
import { BrowserRouter, Route } from "react-router-dom"
|
||||||
|
|
||||||
|
|
||||||
const routes = <ThemeProvider theme={ Dark }>
|
const routes = <BrowserRouter>
|
||||||
<BrowserRouter>
|
<Route exact component={ App } />
|
||||||
<Route exact component={ App } />
|
</BrowserRouter>
|
||||||
</BrowserRouter>
|
|
||||||
</ThemeProvider>
|
|
||||||
|
|
||||||
const target = document.getElementById("content")
|
const target = document.getElementById("content")
|
||||||
if(target instanceof Element) {
|
if(target instanceof Element) {
|
||||||
|
|
|
@ -3,6 +3,6 @@
|
||||||
export default {
|
export default {
|
||||||
backgroundcolor: "#111111",
|
backgroundcolor: "#111111",
|
||||||
fontFamily: "monospace",
|
fontFamily: "monospace",
|
||||||
textcolor: "#FFFFFF",
|
textColor: "#FFFFFF",
|
||||||
projectVisitedColor: "#BBBBBB"
|
projectVisitedColor: "#BBBBBB"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue