Pequeno Redesign e Novas Funcionalidades#4
Merged
Merged
Conversation
- Algumas alterações ao index.css - Vídeo como Hero da Homepage - Nova página para o carro com um diorama (WIP) de uma garagem. TODO: - Substituir Lorem Ipsum - Retocar o design de alguns elementos e layout das páginas. Alterações tal como demonstradas na sexta-feira.
Contributor
There was a problem hiding this comment.
Pull request overview
Este PR introduz um pequeno redesign visual e novas secções, incluindo um hero com vídeo na homepage e uma nova página “O Carro” com um diorama 3D (WIP), suportado por novas chaves de i18n e dependências Three.js/R3F.
Changes:
- Adiciona hero com vídeo (mute/unmute) e novos estilos globais (tokens CSS e classes “site-*”).
- Cria a página
/carro(TheCar) e um hero com diorama 3D (React Three Fiber). - Expande traduções PT/EN para suportar nova navegação e conteúdos da página do carro.
Reviewed changes
Copilot reviewed 19 out of 21 changed files in this pull request and generated 9 comments.
Show a summary per file
| File | Description |
|---|---|
| src/vite-env.d.ts | Adiciona referências de tipos para Vite e React Three Fiber. |
| src/pages/TheCar.tsx | Nova página “O Carro” composta por secções e conteúdo via i18n. |
| src/locales/pt/translation.json | Novas chaves para header, hero vídeo e página “the-car” (PT). |
| src/locales/en/translation.json | Novas chaves para header, hero vídeo e página “the-car” (EN). |
| src/index.css | Grande atualização de estilos globais + classes para hero vídeo/diorama e layout. |
| src/data/Slogan.ts | Introduz URL de vídeo para o hero (placeholder). |
| src/components/Three/WorkshopDiorama.tsx | Novo diorama 3D (Canvas + OrbitControls). |
| src/components/Hero/Slogan.tsx | Troca hero estático por hero com vídeo e botão de áudio. |
| src/components/Hero/CarroHero.tsx | Novo hero do carro com diorama e texto sobreposto. |
| src/components/Header/Header.tsx | Atualiza header (logo link) e adiciona link “O CARRO”. |
| src/components/Footer/Footer.tsx | Ajustes visuais (classes “site-*”). |
| src/components/Feature/Partners.tsx | Ajuste de layout/estilo com novas classes. |
| src/components/Feature/FormulaStudent.tsx | Ajuste de estilo e nova class hook no grid. |
| src/components/Feature/AboutUs.tsx | Enriquecimento da secção com eyebrow + fact chips. |
| src/components/Card/Sponsor.tsx | Ajustes de estilo para sponsor logo/container. |
| src/components/Card/PartnerSlide.tsx | Ajuste de estilo no container do slide. |
| src/components/Card/Card.tsx | Ajustes de estilo no card e tipografia. |
| src/App.tsx | Regista a rota /carro. |
| package.json | Adiciona deps de Three.js + React Three Fiber/Drei. |
| package-lock.json | Lockfile atualizado (inclui camera-controls com engines Node>=22). |
| index.html | Adiciona meta theme-color. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Deploying erta with
|
| Latest commit: |
41f2e5e
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://b66c7d1f.erta.pages.dev |
| Branch Preview URL: | https://feature-remake.erta.pages.dev |
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
- Comply with reducedMotion by disabling autoplay and looping when the user has enabled reduced motion in their system preferences. - update dependencies to address security vulnerabilities (npm audit).
Browser now gets the fonts in parrallel with the rest of the page, improving load times and user experience.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
TODO:
Alterações tal como demonstradas na sexta-feira.
Podem ainda faltar migrar alguns elementos de commits anteriores.