diff --git a/src/components/WhiteboardWrapper.jsx b/src/components/WhiteboardWrapper.jsx index a9d7a78..6d37832 100644 --- a/src/components/WhiteboardWrapper.jsx +++ b/src/components/WhiteboardWrapper.jsx @@ -2,7 +2,7 @@ import { useState, useEffect } from "react"; import EditButton from "./EditButton"; import Whiteboard from "./whiteboard"; -export default function WhiteboardWrapper({ baseUrl }) { +export default function WhiteboardWrapper() { const [isEditing, setIsEditing] = useState(false); const toggleEditing = () => { @@ -14,7 +14,7 @@ export default function WhiteboardWrapper({ baseUrl }) { const NUMBER_OF_FAVICONS = 5; const num = Math.floor(Math.random() * NUMBER_OF_FAVICONS); const faviconEl = document.getElementById('favicon'); - faviconEl.href = `${baseUrl}/favicon-${num}.svg`; + faviconEl.href = `favicon-${num}.svg`; }, []); // I know this is janky but if I alter the title as a side effect from here, diff --git a/src/layouts/Layout.astro b/src/layouts/Layout.astro index e9d00ed..3438335 100644 --- a/src/layouts/Layout.astro +++ b/src/layouts/Layout.astro @@ -5,13 +5,11 @@ interface Props { title: string; description: string; baseUrl: string; - favicon: string; ogImage: string; squareImage: string; } -const { title, description, baseUrl, favicon, ogImage, squareImage } = - Astro.props; +const { title, description, baseUrl, ogImage, squareImage } = Astro.props; --- @@ -33,12 +31,7 @@ const { title, description, baseUrl, favicon, ogImage, squareImage } = - +
- +
diff --git a/src/site-metadata.json b/src/site-metadata.json index a033f8b..261f171 100644 --- a/src/site-metadata.json +++ b/src/site-metadata.json @@ -3,6 +3,5 @@ "description": "A collection of high-quality, free, online creativity tools.", "baseUrl": "https://bryanbraun.com/lets-get-creative", "ogImage": "banner-og.png", - "squareImage": "banner-square.png", - "favicon": "favicon-0.svg" + "squareImage": "banner-square.png" }