This commit is contained in:
2025-04-21 12:23:43 -03:00
parent 24392f795b
commit 91d03d194e
6 changed files with 48 additions and 42 deletions

View File

@@ -10,7 +10,7 @@ import icon from 'astro-icon'
// https://astro.build/config
export default defineConfig({
// site: 'https://eduseg.com.br',
site: 'https://eduseg.com.br',
integrations: [
react(),
sitemap(),

View File

@@ -26,6 +26,7 @@ import Container from './Container.astro'
</button>
</Container>
<!-- Dropdown Menu -->
<div
x-cloak
x-show="open"
@@ -41,7 +42,7 @@ import Container from './Container.astro'
aria-hidden={true}
x-on:click="open = false"
>
<Icon name="xmark" />
<Icon name="x-mark" />
</button>
<div class="border-b border-black pb-6 lg:pb-12 mb-6 lg:mb-12">
@@ -54,4 +55,5 @@ import Container from './Container.astro'
</div>
</Container>
</div>
<!-- Dropdown Menu End -->
</nav>

View File

@@ -0,0 +1,3 @@
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor">
<path stroke-linecap="round" stroke-linejoin="round" d="M15.75 9V5.25A2.25 2.25 0 0 0 13.5 3h-6a2.25 2.25 0 0 0-2.25 2.25v13.5A2.25 2.25 0 0 0 7.5 21h6a2.25 2.25 0 0 0 2.25-2.25V15M12 9l-3 3m0 0 3 3m-3-3h12.75" />
</svg>

After

Width:  |  Height:  |  Size: 337 B

View File

Before

Width:  |  Height:  |  Size: 206 B

After

Width:  |  Height:  |  Size: 206 B

View File

@@ -6,10 +6,9 @@ export interface Props {
import '@fontsource/roboto'
import '~/styles/app.css'
import Logo from '~/components/logos/Eduseg.astro'
import Head from './Head.astro'
import Container from '~/components/Container.astro'
import HeaderNav from '~/components/HeaderNav.astro'
import { ArrowLeftStartOnRectangleIcon } from '@heroicons/react/24/solid'
import { Icon } from 'astro-icon/components'
import { getCollection } from 'astro:content'
const courses = await getCollection('courses', ({ data }) => data.draft != true)
@@ -33,11 +32,13 @@ const year = new Date().getFullYear()
<body>
<Container class="flex items-center py-3">
<a href="/" aria-label="Página inicial"><Logo className="h-8" /></a>
<a href="/" aria-label="Página inicial">
<Logo className="h-8" />
</a>
<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" />
<Icon name="arrow-left-end-on-rectangle" class="size-5 rotate-180" />
<>Entrar</>
</a>
</div>

View File

@@ -1,6 +1,6 @@
---
import Layout from '~/layouts/Layout.astro'
import Container from '~/components/Container'
import Container from '~/components/Container.astro'
export async function getStaticPaths() {
const data = await fetch('https://betaeducacao.com.br/wp-json/wp/v2/posts')