From dec820fd011ba511e541133c0ff5adc574db7f12 Mon Sep 17 00:00:00 2001 From: Cory Dransfeldt Date: Sat, 21 May 2022 18:10:31 -0700 Subject: [PATCH] initial customizations --- components/Footer.tsx | 13 ++++----- components/LayoutWrapper.tsx | 2 -- components/ScrollTopAndComment.tsx | 31 +++++++++++--------- components/social-icons/applemusic.svg | 1 + components/social-icons/github.svg | 1 - components/social-icons/index.tsx | 12 +++++--- components/social-icons/instagram.svg | 1 + components/social-icons/lastfm.svg | 1 + components/social-icons/linkedin.svg | 1 - components/social-icons/spotify.svg | 1 + data/authors/default.md | 38 ++++++++++++++++++------- data/headerNavLinks.ts | 9 +++--- data/siteMetadata.js | 37 +++++++++++++----------- layouts/AuthorLayout.tsx | 31 +++++++++++++++----- package-lock.json | Bin 442219 -> 993598 bytes pages/{about.tsx => band.tsx} | 2 +- pages/blog.tsx | 2 +- tailwind.config.js | 15 +++++++++- types/AuthorFrontMatter.ts | 10 ++++--- 19 files changed, 133 insertions(+), 75 deletions(-) create mode 100644 components/social-icons/applemusic.svg delete mode 100644 components/social-icons/github.svg create mode 100644 components/social-icons/instagram.svg create mode 100644 components/social-icons/lastfm.svg delete mode 100644 components/social-icons/linkedin.svg create mode 100644 components/social-icons/spotify.svg rename pages/{about.tsx => band.tsx} (89%) diff --git a/components/Footer.tsx b/components/Footer.tsx index 4e45fb1..8c92be0 100644 --- a/components/Footer.tsx +++ b/components/Footer.tsx @@ -8,24 +8,21 @@ export default function Footer() {
- + - + + +
-
+
{siteMetadata.author}
{` • `}
{`© ${new Date().getFullYear()}`}
{` • `}
{siteMetadata.title}
-
- - Tailwind Nextjs Theme - -
) diff --git a/components/LayoutWrapper.tsx b/components/LayoutWrapper.tsx index 08ef946..20ee3ae 100644 --- a/components/LayoutWrapper.tsx +++ b/components/LayoutWrapper.tsx @@ -5,7 +5,6 @@ import Link from './Link' import SectionContainer from './SectionContainer' import Footer from './Footer' import MobileNav from './MobileNav' -import ThemeSwitch from './ThemeSwitch' import { ReactNode } from 'react' interface Props { @@ -45,7 +44,6 @@ const LayoutWrapper = ({ children }: Props) => { ))}
- diff --git a/components/ScrollTopAndComment.tsx b/components/ScrollTopAndComment.tsx index f0082be..30e6883 100644 --- a/components/ScrollTopAndComment.tsx +++ b/components/ScrollTopAndComment.tsx @@ -1,3 +1,4 @@ +import siteMetadata from '@/data/siteMetadata' import { useEffect, useState } from 'react' const ScrollTopAndComment = () => { @@ -23,20 +24,22 @@ const ScrollTopAndComment = () => {