changed from hexo to custom react stuff #1
6 changed files with 6 additions and 6 deletions
|
@ -11,10 +11,10 @@ import Spinner from "./components/Spinner"
|
||||||
import Navbar from "./components/Navbar"
|
import Navbar from "./components/Navbar"
|
||||||
import Footer from "./components/Footer"
|
import Footer from "./components/Footer"
|
||||||
|
|
||||||
import PostList from "./pages/postList"
|
import PostList from "./pages/PostList"
|
||||||
import Page from "./pages/page"
|
import Page from "./pages/Page"
|
||||||
import NotFound from "./pages/notfound"
|
import NotFound from "./pages/NotFound"
|
||||||
import Portfolio from "./pages/portfolio"
|
import Portfolio from "./pages/Portfolio"
|
||||||
|
|
||||||
// Theme that will be used throughout the website
|
// Theme that will be used throughout the website
|
||||||
const GlobalStyle = createGlobalStyle<{ theme: { currentTheme: string } }>`
|
const GlobalStyle = createGlobalStyle<{ theme: { currentTheme: string } }>`
|
||||||
|
|
|
@ -53,7 +53,7 @@ export default class Spinner extends React.Component<SpinnerProps> {
|
||||||
animation-timing-function: linear;
|
animation-timing-function: linear;
|
||||||
animation-iteration-count: infinite;
|
animation-iteration-count: infinite;
|
||||||
|
|
||||||
/* use for loops here? */
|
/* use a for loop here? */
|
||||||
&:nth-child(1) {
|
&:nth-child(1) {
|
||||||
animation-delay: 200ms;
|
animation-delay: 200ms;
|
||||||
}
|
}
|
||||||
|
|
|
@ -4,7 +4,7 @@ import { Helmet } from "react-helmet-async"
|
||||||
|
|
||||||
import pages from "../pages.json"
|
import pages from "../pages.json"
|
||||||
|
|
||||||
import NotFound from "./notfound"
|
import NotFound from "./NotFound"
|
||||||
|
|
||||||
export default class Page extends React.Component {
|
export default class Page extends React.Component {
|
||||||
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
Loading…
Add table
Add a link
Reference in a new issue