67 lines
1.8 KiB
Plaintext
67 lines
1.8 KiB
Plaintext
---
|
|
export interface Props {
|
|
title: string
|
|
}
|
|
|
|
import '~/styles/app.css'
|
|
import { Regular as Logo } from '~/components/Logo'
|
|
import { Container } from '~/components/Container'
|
|
import { Menu } from '~/components/Menu'
|
|
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 year = new Date().getFullYear()
|
|
---
|
|
|
|
<!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} ‐ EDUSEG® — Educação que garante sua segurança
|
|
</title>
|
|
</head>
|
|
|
|
<body>
|
|
<Container className="flex items-center py-3">
|
|
<Logo className="h-8" />
|
|
|
|
<div class="ml-auto">
|
|
<a
|
|
href="//app.betaeducacao.com.br"
|
|
class="flex gap-1 items-center hover:outline rounded-xs"
|
|
>
|
|
<ArrowLeftStartOnRectangleIcon className="w-5 rotate-180" />
|
|
<>Entrar</>
|
|
</a>
|
|
</div>
|
|
</Container>
|
|
|
|
<section class="bg-lime-400 sticky top-0 z-10 py-3">
|
|
<Container className="flex items-center">
|
|
<Menu recentCourses={courses} client:load />
|
|
|
|
<button
|
|
class="bg-black hover:bg-white hover:text-black font-semibold py-2.5 px-3 rounded-md cursor-pointer ml-auto transition duration-150"
|
|
>
|
|
Contratar agora
|
|
</button>
|
|
</Container>
|
|
</section>
|
|
|
|
<slot />
|
|
|
|
<footer class="py-6 text-white/70">
|
|
<Container>
|
|
© {year} EDUSEG® Todos os direitos reservados. CNPJ15.608.435/0001-90
|
|
</Container>
|
|
</footer>
|
|
</body>
|
|
</html>
|