This commit is contained in:
2025-04-17 16:30:36 -03:00
parent a7d87c3ef9
commit 1665a4e526
8 changed files with 251 additions and 219 deletions

View File

@@ -0,0 +1,8 @@
---
const { title = 'Educação que garante sua segurança', ...props } = Astro.props
---
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
<meta name="generator" content={Astro.generator} />
<title>{title} &mdash; EDUSEG&reg;</title>

View File

@@ -5,6 +5,7 @@ export interface Props {
import '~/styles/app.css'
import { Regular as Logo } from '~/components/Logo'
import Head from './Head.astro'
import { Container } from '~/components/Container'
import { Menu } from '~/components/Menu'
import { ArrowLeftStartOnRectangleIcon } from '@heroicons/react/24/solid'
@@ -12,20 +13,17 @@ import { ArrowLeftStartOnRectangleIcon } from '@heroicons/react/24/solid'
import { getCollection } from 'astro:content'
const courses = await getCollection('courses', ({ data }) => data.draft != true)
const { title } = Astro.props
const { ...props } = Astro.props
const year = new Date().getFullYear()
import '@fontsource/roboto'
---
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
<meta name="generator" content={Astro.generator} />
<title>
{title} &dash; EDUSEG&reg; &mdash; Educação que garante sua segurança
</title>
<Head {...props} />
</head>
<body>