Repository navigation
feat(page): redesign do Java Day e home cinematográfica - #52
Merged
fabiobrasileiroo merged 12 commits intoNov 29, 2026
Merged
Conversation
Applies the unslop skill (Damir Sokolovsky, @heydamir, CC BY 4.0) to the Java Day Amazonas page while keeping every section, fact and link: - Hero: typographic "Java Day Amazonas 2027" lockup with a date/time/venue strip, and the community Duke on the round-logo disc. The headdress leaves sprout once on load and rustle on hover. - Pricing cards drawn as ticket stubs (perforation + notches). - One forest-tinted neutral ramp, a terracotta accent from the logo plate, leaf green only for checks. No radial washes, glows or gradients. - Emoji replaced by lucide line icons; uppercase tracked labels and font-black headings replaced by sentence case and 400-500 weights. - Bricolage Grotesque for headlines, loaded only on /javaday. - Motion: one staggered entrance, scroll-driven section reveal where supported, no looping pulse/glow, no hover:scale; respects reduced motion. - All design tokens scoped on :host so nothing leaks to the rest of the site.
Home:
- Replace the hand-rolled event slider with Embla Carousel (8.6.0,
loaded on demand so the initial bundle stays under budget): swipe,
prev/next with disabled states, dot navigation, aria carousel roles,
light and dark theme.
- Java Day Amazonas 2027 comes first as a featured slide linking to
/javaday, with the Sympla page as the second action.
- Typed event data, fixed copy ("Já aconteceu", Spring Boot), removed
the unused slider stylesheet.
Java Day page:
- Speakers section: one "A confirmar" slot per track until names are
announced on Sympla.
- "Quem faz acontecer" strip: Java Amazonas (organização), Venturus
(local, with its logo) and a call for partner communities via Discord.
- Fix ticket prices to match Sympla: Ingresso R$ 25 em até 5x,
Ingresso + camisa R$ 50 em até 12x (hero, cards and FAQ).
- Replace the pale green disc behind the Duke with concentric tree rings (forest), one dashed in terracotta echoing the ticket perforation. - Pointer-driven X/Y parallax on desktop: rings, floor shadow and Duke move at different depths, smoothed with a rAF lerp outside Angular. Off for touch and prefers-reduced-motion. - Staggered scroll reveal for track and speaker cards, with hover states. - Accessibility: underline the footer link (axe-core link-in-text-block); axe reports 0 WCAG 2 A/AA violations on /javaday and the home carousel.
- Fix: hero CTAs used href="#ingressos"/"#trilhas", which with <base href="https://github.com/"> resolved to /#ingressos and sent people to the home page. Links now point to /javaday#<id> and scroll in place. - Desktop header: links to Trilhas, Palestrantes, Ingressos and Dúvidas with scroll-spy (IntersectionObserver) and a terracotta underline. - Mobile: icon pill nav in the header with a bar over the current section; the duplicate header CTA hides below lg (bottom bar remains). - Hero kicker rotates through the four tracks (respects reduced motion, full sentence kept for screen readers). - Ticket cards: border lights up under the cursor. - Nav and motion styles live in java-day.motion.css, still scoped to the component. Patterns adapted from fabiobrasileiro-site, using the Java Day tokens.
Java Day: - Swap the green-tinted neutrals for a blue-black "Rio Negro" ramp (#0d0f13 page, #14171d cards) with the terracotta accent; all WCAG AA. Other palette options are documented in the PR mood board. - Partner communities: NorteJS, PHP Manaus and Power BI Manaus, with their logos and links, next to Java Amazonas (organização) and Venturus (local). Home: - New carousel slide for the year-end community meetup (28/11/2026, evening, Ponta Negra) with the group photo, right after Java Day. - Java Day slide uses the Rio Negro background instead of the pale disc.
Java Day:
- Display text (hero lockup, short section titles, prices, countdown,
track numbers) now uses Tribeca ("jungle"), the font the home page
already uses for "Comunidade Java Amazonas". Long headings and body
stay in Roboto. Drops the Bricolage Grotesque request to Google Fonts.
- Partner invite points to the WhatsApp group instead of Discord.
Home:
- Hero: WhatsApp group is the primary action (green, 48px), GitHub the
secondary one with the same height; fixes the uneven button sizes and
translates "View on GitHub".
- FAQ "Quando vai ter eventos?" points to the WhatsApp group.
- Contact block: WhatsApp first, Discord second, copy updated; removes
the endlessly spinning Discord icon.
- Java Day carousel slide title in Tribeca.
- Two themes: dark "Rio Negro" and light "Encontro das Águas" (sand background, ink text, darker terracotta accent), all WCAG AA. - Same logic as the home toggle: a saved choice in localStorage "theme" wins; without one the page follows prefers-color-scheme and keeps following it live. The toggle (header, desktop and mobile) saves the choice and syncs the dark/light class on <html> so the home matches. - Theme tokens live in java-day.theme.css on :host / :host([data-theme]). - Venturus and PHP Manaus get dark logo variants for the light theme. - Mobile header shows only the logo mark so the pill and toggle fit.
Following the community's pick: Java Day: - Back to the single "Floresta" palette (green-tinted neutrals with the terracotta accent); removes the theme toggle and the dark logo variants. Tokens stay in java-day.theme.css. Home: - Dark mode is "Rio Negro" (blue-black ink) and light mode is "Encontro das Águas" (sand), done by redefining Tailwind's gray/zinc scales in styles.css instead of rewriting the templates. - Fix: light mode never showed because index.html starts with class="dark" and the toggle only added "light". It now removes the opposite class. - Contrast fixes revealed by the working light mode: green links use green-800, active nav link green-800, hero kicker gray-400 in dark. axe: 0 contrast issues on the home in both themes (was 9 before). - Java Day carousel card uses the Floresta colors to match the event page.
- New "Lives no YouTube" block in the home Eventos section: the channel's first live (I.A. na Vida do Dev, Prof. Isidro, 3/8/2026) is featured with a screenshot of the StreamYard broadcast, next to the four most recent lives and links to the channel and its Live tab. - Data lives in lives.data.json. scripts/update-lives.mjs (npm run update:lives) refreshes it from the public channel RSS feed, no API key: merges with the existing list (the feed only has the latest 15), drops duplicate entries of the same live and keeps the file as is if the feed fails. - Deploy runs the update before building and redeploys every Monday so new lives show up on their own. - The section is loaded on demand when it scrolls near the viewport, so the initial bundle stays within the 500 kB budget (499.99 kB).
Home: - Hero: the title rises out of a mask line by line, the rest follows in sequence; the Duke enters once and sinks with depth as the hero scrolls away (scroll-driven, replaces the endless floating loop). The Duke now shows on mobile too. - "Encontro das Águas": two waves at the bottom of the hero, the dark Rio Negro and the muddy Solimões, slide in opposite directions with the page scroll. - Glass header (backdrop blur); the old opacity-85 made the menu text translucent too. - Sections and the "por que participar" cards reveal on scroll, staggered. - Partner communities marquee (NorteJS, PHP Manaus, Power BI Manaus, Venturus): pauses on hover/focus, duplicates hidden from assistive tech, static list with reduced motion. - All motion is CSS (transform/opacity, scroll/view timelines) in landing-page-inicio.motion.css and switches off with prefers-reduced-motion. Removes ~4.7 kB of unused legacy keyframes. Performance: - /javaday is now a lazy route (loadComponent): initial bundle goes from 499.99 kB to 472 kB and the build has no budget warnings left. Accessibility (axe: 0 WCAG 2 A/AA violations on the home, both themes): - Names for the theme toggle buttons and icon-only header/footer links; footer credit links underlined.
- AGENTS.md: stack, commands, routes, conventions, deploy and the pitfalls found during the redesign (base href anchors, theme toggle classes, redefined gray/zinc scale, Angular budgets, reduced motion, a11y). - doc/design-system.md: home palettes (Rio Negro / Encontro das Águas), Java Day palette (Floresta), typography (Tribeca + Roboto), icons, motion patterns and component patterns. - doc/site.md: page map and how to update events, YouTube lives, partners and the Java Day content, plus a short history of the redesign. - README links to the new docs in the contributing section.
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.
feat(page): redesign Java Day landing with unslop pass
Antes × depois
Java Day (desktop)
Java Day (celular)
Motion do hero do Java Day
Home: hero
Home: carrossel de eventos
Home: lives no YouTube
Paletas estudadas
Descrição
Passada de design na página
/javaday(PR #51) usando a skill unslop (Damir Sokolovsky, CC BY 4.0) e referências de sites de eventos da comunidade Java (JCON, Devoxx, JavaOne). Todas as seções, textos, preços, links do Sympla, contagem regressiva e FAQ continuam: mudou o acabamento, não o conteúdo.Direção
Bug corrigido: os botões do hero usavam
href="#ingressos"ehref="#trilhas". Com<base href="https://github.com/">, isso virava/#ingressose levava a pessoa para a home em vez de rolar até os ingressos. Agora os links apontam para/javaday#secaoe rolam na própria página.O que mudou
java-day.motion.css, também encapsulado no componenteprefers-reduced-motionrequestAnimationFrame, fora do Angular). Desligado no toque e comprefers-reduced-motionjava-day.theme.css. Saíram os radial washes, os gradientes e o glowgray/zincdo Tailwind emstyles.cssem vez de reescrever os templates. O card do Java Day no carrossel usa a Floresta, igual à página do eventoindex.htmlcomeça comclass="dark"e o toggle só adicionavalight. Agora ele remove a classe oposta. Com o claro funcionando, ajustei os links verdes (green-800) e o link ativo do menu; o axe passou de 9 problemas de contraste para 0 na home, nos dois temaspulse-dot,cta-glowehover:scale. Ficou uma entrada escalonada no hero e um reveal por scroll (animation-timeline: view(), onde houver suporte)aria-controlsno FAQ, alt real nas fotos, alvos de toque de 48pxopacity-85deixava até o texto do menu translúcido). Seções e cards de "por que participar" revelam ao rolar, escalonados. Marquee das comunidades parceiras (NorteJS, PHP Manaus, Power BI Manaus, Venturus) que pausa no hover/foco e vira lista estática com movimento reduzido. Tudo é CSS (transform/opacity, scroll/view timelines) emlanding-page-inicio.motion.css, e saíram ~4,7 kB de keyframes antigos que não eram usados/javadayvirou rota lazy (loadComponent). O bundle inicial caiu de 499,99 kB para 472 kB e o build não tem mais nenhum aviso de budgetlives.data.json, enpm run update:lives(scripts/update-lives.mjs) atualiza pelo RSS público do canal, sem chave de API: junta com a lista existente (o feed só traz os 15 últimos), descarta entradas duplicadas e mantém o arquivo se o feed falhar. O deploy roda a atualização antes do build e republica toda segunda, então lives novas entram sozinhas. A seção carrega sob demanda quando chega perto da tela, para o bundle inicial continuar dentro do budget de 500 kB/javaday, com o Sympla como segunda açãoAGENTS.mdna raiz (stack, comandos, rotas, convenções, deploy e as armadilhas encontradas no redesign),doc/design-system.md(paletas, tipografia, ícones, movimento e padrões de componente) edoc/site.md(mapa das páginas e como atualizar eventos, lives, parceiros e o Java Day). O README aponta para eles na seção de contribuição--jd-*) ficam no:hostdo componente, então nada vaza para a home ou para outras páginas. O CSS do componente ficou abaixo do budget de 2 kB, sem warning novoTipo de mudança 🏗️
Como isso foi testado? 🧪
npm cienpm run build -- --configuration production: build ok e sem nenhum warning (o aviso antigo de budget do CSS da home também sumiu). Opackage-lock.jsonsó ganha a entrada doembla-carouselnpm test -- --no-watch --browsers=ChromeHeadless: 10 de 10 passando (novo teste: o Java Day é o primeiro slide e leva para/javaday)Screenshots de página inteira com Playwright em 1440×900 e 390×844
Carrossel testado no navegador: "próximo" avança, "anterior" habilita, sem erros no console
Auditoria com axe-core (WCAG 2 A/AA): 0 violações em
/javadaye no carrossel da homeHome testada nos dois temas (escuro e claro) com axe: 0 problemas de contraste
Auditoria axe com animações desligadas (a revelação por scroll deixa seções com opacidade 0 até entrarem na tela)
Navegação testada: CTA do hero rola até os ingressos e fica em
/javaday; scroll-spy marca a seção certa no desktop e no celularMotion do hero
Navegação no celular
Home: carrossel antes × depois
Home cinematográfica
Home: hero e contato
Home: Rio Negro e Encontro das Águas
Home: lives no YouTube
Mood board de paletas
Antes × depois (desktop)
Antes × depois (mobile)
Checklist da PR ✅
warnings