Add website meta
This commit is contained in:
parent
3b15090df2
commit
8337a74d5f
2 changed files with 29 additions and 24 deletions
BIN
public/logo.png
Normal file
BIN
public/logo.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 11 KiB |
|
@ -4,14 +4,14 @@ interface Props {
|
||||||
}
|
}
|
||||||
|
|
||||||
const { title } = Astro.props;
|
const { title } = Astro.props;
|
||||||
import "@/assets/global.css"
|
import "@/assets/global.css";
|
||||||
import "@fontsource/poppins/400.css";
|
import "@fontsource/poppins/400.css";
|
||||||
import "@fontsource/poppins/500.css";
|
import "@fontsource/poppins/500.css";
|
||||||
import "@fontsource/poppins/600.css";
|
import "@fontsource/poppins/600.css";
|
||||||
import "@fontsource/poppins/700.css";
|
import "@fontsource/poppins/700.css";
|
||||||
import { ClientRouter } from 'astro:transitions';
|
import { ClientRouter } from "astro:transitions";
|
||||||
|
|
||||||
import Logo from "@/assets/img/logo.svg"
|
import Logo from "@/assets/img/logo.svg";
|
||||||
import Navbar from "@/components/Navbar.tsx";
|
import Navbar from "@/components/Navbar.tsx";
|
||||||
---
|
---
|
||||||
|
|
||||||
|
@ -22,8 +22,13 @@ import Navbar from "@/components/Navbar.tsx";
|
||||||
<meta name="viewport" content="width=device-width" />
|
<meta name="viewport" content="width=device-width" />
|
||||||
<link rel="icon" type="image/svg+xml" href={Logo.src} />
|
<link rel="icon" type="image/svg+xml" href={Logo.src} />
|
||||||
<meta name="generator" content={Astro.generator} />
|
<meta name="generator" content={Astro.generator} />
|
||||||
|
<meta content="yiffing.dev" property="og:title" />
|
||||||
|
<meta content="by furries, for furries :#" property="og:description" />
|
||||||
|
<meta content="https://yiffing.dev" property="og:url" />
|
||||||
|
<meta content="https://yiffing.dev/logo.png" property="og:image" />
|
||||||
|
<meta content="#cba6f7" name="theme-color" />
|
||||||
<title>{title}</title>
|
<title>{title}</title>
|
||||||
<ClientRouter/>
|
<ClientRouter />
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<Navbar client:load />
|
<Navbar client:load />
|
||||||
|
|
Loading…
Reference in a new issue