firq-dev-website/src/layouts/Layout.astro

52 lines
1.6 KiB
Text
Raw Normal View History

2023-01-15 16:53:19 +00:00
---
2023-03-04 18:11:52 +00:00
import Navbar from '../components/navbar.astro';
import NavbarEntry from '../components/navbarEntry.astro';
import navdata from '../../static/_navdata.json'
2023-01-15 16:53:19 +00:00
export interface Props {
title: string;
2023-03-04 18:11:52 +00:00
currentpage: string;
2023-01-15 16:53:19 +00:00
}
2023-03-04 18:11:52 +00:00
const { currentpage, title } = Astro.props;
const description: string = "A reference for all esports Servants, CEs and already completed TAs that Firq can provide. Contact information available as well.";
2023-03-04 21:59:16 +00:00
import favicon from "../../static/favicon.ico"
2023-01-15 16:53:19 +00:00
---
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width" />
2023-03-04 21:59:16 +00:00
<link rel="icon" type="image/ico" href={favicon} />
2023-01-15 16:53:19 +00:00
<meta name="generator" content={Astro.generator} />
<meta property="og:title" content="Firq TA Reference" />
2023-01-23 18:57:16 +00:00
<meta property="og:url" content="https://firq.pages.neshweb.net/fgosite/" />
<meta name="description" content={description}/>
<meta property="og:description" content={description}/>
2023-01-23 18:57:16 +00:00
<meta property="og:image" content="https://firq.pages.neshweb.net/fgosite/link_192.png" />
<meta property="og:type" content="website" />
<meta property="og:locale" content="en_US" />
2023-01-15 16:53:19 +00:00
<title>{title}</title>
2023-03-04 12:48:57 +00:00
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/iconoir-icons/iconoir@main/css/iconoir.css">
2023-01-15 16:53:19 +00:00
</head>
<body>
2023-03-04 18:11:52 +00:00
<Navbar>
{navdata.map((item) => (<NavbarEntry currentPage={currentpage} {...item}/>))}
</Navbar>
2023-01-15 16:53:19 +00:00
<slot />
</body>
</html>
<style is:global>
:root {
--hover-scale: 1.05;
--speed: 50%;
--ease: 50%;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
body {
background: #3e3e3e;
2023-03-04 12:48:57 +00:00
margin: 0px;
2023-01-15 16:53:19 +00:00
}
</style>