From 6a239ec61433e138f0a72f9c0066f396c0644e48 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9rgio=20Rafael=20Siqueira?= Date: Fri, 25 Apr 2025 14:18:27 -0300 Subject: [PATCH] wip --- superpage/package-lock.json | 10 ---------- superpage/package.json | 1 - superpage/src/components/Course/Contact.astro | 2 +- superpage/src/components/Course/HeaderNav.astro | 17 ++++++++--------- superpage/src/pages/[slug].astro | 2 +- superpage/src/pages/index.astro | 10 ++++++---- 6 files changed, 16 insertions(+), 26 deletions(-) diff --git a/superpage/package-lock.json b/superpage/package-lock.json index 1969b06..c513c71 100644 --- a/superpage/package-lock.json +++ b/superpage/package-lock.json @@ -13,7 +13,6 @@ "@astrojs/partytown": "^2.1.4", "@astrojs/react": "^4.2.4", "@astrojs/sitemap": "^3.3.0", - "@fontsource/roboto": "^5.2.5", "@hookform/resolvers": "^5.0.1", "@tailwindcss/vite": "^4.0.13", "@types/alpinejs": "^3.13.11", @@ -925,15 +924,6 @@ "node": ">=18" } }, - "node_modules/@fontsource/roboto": { - "version": "5.2.5", - "resolved": "https://registry.npmjs.org/@fontsource/roboto/-/roboto-5.2.5.tgz", - "integrity": "sha512-70r2UZ0raqLn5W+sPeKhqlf8wGvUXFWlofaDlcbt/S3d06+17gXKr3VNqDODB0I1ASme3dGT5OJj9NABt7OTZQ==", - "license": "OFL-1.1", - "funding": { - "url": "https://github.com/sponsors/ayuhito" - } - }, "node_modules/@hookform/resolvers": { "version": "5.0.1", "resolved": "https://registry.npmjs.org/@hookform/resolvers/-/resolvers-5.0.1.tgz", diff --git a/superpage/package.json b/superpage/package.json index 583ba5e..37e3b24 100644 --- a/superpage/package.json +++ b/superpage/package.json @@ -14,7 +14,6 @@ "@astrojs/partytown": "^2.1.4", "@astrojs/react": "^4.2.4", "@astrojs/sitemap": "^3.3.0", - "@fontsource/roboto": "^5.2.5", "@hookform/resolvers": "^5.0.1", "@tailwindcss/vite": "^4.0.13", "@types/alpinejs": "^3.13.11", diff --git a/superpage/src/components/Course/Contact.astro b/superpage/src/components/Course/Contact.astro index 903073f..d6de7e3 100644 --- a/superpage/src/components/Course/Contact.astro +++ b/superpage/src/components/Course/Contact.astro @@ -6,7 +6,7 @@ import Form from "./_Contact.jsx";
-

Fale conosco

+

Fale conosco

Tem uma necessidade mais específica ou gostaria de agendar uma demonstração da nossa plataforma? Entre em contato conosco. diff --git a/superpage/src/components/Course/HeaderNav.astro b/superpage/src/components/Course/HeaderNav.astro index 1b4b2d7..142569c 100644 --- a/superpage/src/components/Course/HeaderNav.astro +++ b/superpage/src/components/Course/HeaderNav.astro @@ -39,10 +39,10 @@ const courses = await getCollection( x-cloak x-show="open" x-on:click.outside="open = false" - x-transition:enter="transition ease-linear duration-150" + x-transition:enter="transition ease-linear duration-50" x-transition:enter-start="opacity-0" - x-transition:enter-end="opacity-100" - x-transition:leave="transition ease-in duration-100" + x-transition:enter-end="opacity-100 " + x-transition:leave="transition ease-in duration-50" x-transition:leave-start="opacity-100" x-transition:leave-end="opacity-0" role="menu" @@ -78,7 +78,7 @@ const courses = await getCollection( >Buscar por

@@ -108,15 +108,14 @@ const courses = await getCollection(
-
    +
      { courses.map(({ data: { title, slug } }) => { return (
    • - + {title}
    • diff --git a/superpage/src/pages/[slug].astro b/superpage/src/pages/[slug].astro index db9eaf4..99fb947 100644 --- a/superpage/src/pages/[slug].astro +++ b/superpage/src/pages/[slug].astro @@ -44,7 +44,7 @@ const { Content } = await render(course); formats={["webp"]} class="max-lg:hidden max-w-116 grayscale-15" /> -
      +
      { diff --git a/superpage/src/pages/index.astro b/superpage/src/pages/index.astro index aa446a0..879789e 100644 --- a/superpage/src/pages/index.astro +++ b/superpage/src/pages/index.astro @@ -18,10 +18,12 @@ let posts = await res.json(); class="text-black bg-linear-to-b from-lime-400/90 to-lime-400 border border-lime-400 rounded-2xl lg:grid grid-cols-6" >
      -
      +
      @@ -47,7 +49,7 @@ let posts = await res.json(); Cursos mais procurados -
        +
        • CIPA
        • Lei Lucas
        • Noções em Primeiros Socorros
        • @@ -67,7 +69,7 @@ let posts = await res.json(); - +