vendor fonts
This commit is contained in:
parent
840db1987e
commit
92be5076c3
6 changed files with 18 additions and 15 deletions
|
@ -1,4 +1,7 @@
|
|||
---
|
||||
import "@styles/global.css";
|
||||
import "@fontsource-variable/rubik";
|
||||
|
||||
interface Props {
|
||||
title: string;
|
||||
description: string;
|
||||
|
@ -7,6 +10,11 @@ interface Props {
|
|||
const { title, description } = Astro.props;
|
||||
---
|
||||
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<meta name="generator" content={Astro.generator} />
|
||||
<link rel="canonical" href={Astro.url} />
|
||||
|
||||
<title>{title}</title>
|
||||
<meta name="description" content={description} />
|
||||
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
|
||||
|
@ -26,7 +34,3 @@ const { title, description } = Astro.props;
|
|||
<meta name="twitter:title" content={title} />
|
||||
<meta name="twitter:description" content={description} />
|
||||
<!-- <meta name="twitter:image" content={image} /> -->
|
||||
<!-- Font -->
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com"/>
|
||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin/>
|
||||
<link href="https://fonts.googleapis.com/css2?family=Rubik:ital,wght@0,300..900;1,300..900&display=swap" rel="stylesheet"/>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue