diff --git a/README.md b/README.md index a07e39c8..b89054ca 100644 --- a/README.md +++ b/README.md @@ -2,4 +2,4 @@ 〰 consciousness stream 〰 -##### just a playground for new technologies, and personal explorations / musing. \ No newline at end of file +##### just a playground for new technologies, and personal explorations / musings. \ No newline at end of file diff --git a/pages/_app.tsx b/pages/_app.tsx index 7cfaf799..4d521dac 100644 --- a/pages/_app.tsx +++ b/pages/_app.tsx @@ -4,6 +4,7 @@ import { Analytics } from '@vercel/analytics/react'; import { AppProps } from 'next/app'; import { ThemeProvider, DefaultTheme } from 'styled-components' import GlobalStyle from '../components/GlobalStyle'; +import Layout from '../components/Layout'; const theme: DefaultTheme = { colors: { @@ -15,7 +16,11 @@ const App = ({ Component, pageProps }: AppProps) => { return ( - + + + + + ); diff --git a/pages/games/index.tsx b/pages/games/index.tsx index fe8d236e..d5a5d73c 100644 --- a/pages/games/index.tsx +++ b/pages/games/index.tsx @@ -1,14 +1,10 @@ -import Layout from "../../components/Layout" - interface Props { } const Games: React.FC = (props) => { return ( -
🚧 🚧 🚧
-
); } diff --git a/pages/index.tsx b/pages/index.tsx index b6b7f1c7..c011f22b 100644 --- a/pages/index.tsx +++ b/pages/index.tsx @@ -26,16 +26,14 @@ interface Props {} const Index: React.FC = (props) => { return ( - - - - - + + + ) } diff --git a/pages/now-playing/index.tsx b/pages/now-playing/index.tsx index 922f37be..a42034eb 100644 --- a/pages/now-playing/index.tsx +++ b/pages/now-playing/index.tsx @@ -1,11 +1,9 @@ -import Layout from "../../components/Layout" import SpotifyIframePlaylist from "../../components/SpotifyIframePlaylist"; interface Props { } const NowPlaying: React.FC = (props) => { return ( -
@@ -14,7 +12,6 @@ const NowPlaying: React.FC = (props) => {
-
); } diff --git a/pages/photos/index.tsx b/pages/photos/index.tsx index 0e264256..ee68728e 100644 --- a/pages/photos/index.tsx +++ b/pages/photos/index.tsx @@ -1,14 +1,10 @@ -import Layout from "../../components/Layout" - interface Props { } const Photos: React.FC = (props) => { return ( - -
- 🚧 🚧 🚧 -
-
+
+ 🚧 🚧 🚧 +
); } diff --git a/pages/visualizers/index.tsx b/pages/visualizers/index.tsx index c4ceba66..59749d6c 100644 --- a/pages/visualizers/index.tsx +++ b/pages/visualizers/index.tsx @@ -1,14 +1,10 @@ -import Layout from "../../components/Layout" - interface Props { } const Visualizers: React.FC = (props) => { return ( - -
- 🚧 🚧 🚧 -
-
+
+ 🚧 🚧 🚧 +
); } diff --git a/pages/writing/[id].tsx b/pages/writing/[id].tsx index 2f95633e..304c4678 100644 --- a/pages/writing/[id].tsx +++ b/pages/writing/[id].tsx @@ -1,7 +1,6 @@ import React from "react" import { GetServerSideProps } from "next" import ReactMarkdown from "react-markdown" -import Layout from "../../components/Layout" import { PostProps } from "../../components/Post" import prisma from "../../lib/prisma"; @@ -29,7 +28,7 @@ const Post: React.FC = (props) => { } return ( - + <>

{title}

By {props?.author?.name || "Unknown author"}

@@ -58,8 +57,8 @@ const Post: React.FC = (props) => { margin-left: 1rem; } `} - + ) } -export default Post +export default Post; \ No newline at end of file diff --git a/pages/writing/index.tsx b/pages/writing/index.tsx index 59d7ef12..986f54ca 100644 --- a/pages/writing/index.tsx +++ b/pages/writing/index.tsx @@ -1,6 +1,5 @@ import React from "react" import { GetStaticProps } from "next" -import Layout from "../../components/Layout" import Post, { PostProps } from "../../components/Post" import prisma from "../../lib/prisma"; @@ -26,12 +25,12 @@ type Props = { const Blog: React.FC = (props) => { return ( - +

Recent Posts

{props.feed.map((post, i) => ( ))} - +
); }