enhancement: add brand-yellow headers and readable layouts for legal pages
Mantenedores costumam responder em até 1 dia
Ninguém assumiu esta issue ainda.
Avaliação
- Dificuldade
- 5/5
- Tempo estimado
- Mais de uma semana
- Facilidade para iniciantes
- 22/100
- Tipo de issue
- Funcionalidade
- Clareza
- Razoavelmente clara
- Status de atividade
- Ativa
- Stack de tecnologia
- nextjs, react, typescript
Direção de pesquisa
This is a design brief, not an implementation request, so start by agreeing the direction with the maintainer. Read the shared shell in src/components/legal/legal-layout.tsx, then src/components/site-header.tsx, src/app/layout.tsx and src/lib/legal.ts to see how the legal pages are built. Done means the brief's acceptance criteria are met and checked at 360px, 768px and 1440px.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
Problem
The current legal pages place long policy text over the site's yellow grid/gradient background while the navbar is white. The owner wants a coherent, professional reading layout that still clearly matches the ProCoderJii YouTube channel and logo.
The earlier all-neutral mockup was exploratory. The design brief below is the requested direction for future implementation.
Design brief
Brand-yellow top band
- Use a full-width brand-yellow page header band, matching the yellow in the YouTube banner and ProCoderJii logo. Verify the brand colour against those assets rather than introducing a new palette.
- An optional subtle grid or faint math/code doodles may appear inside this band only.
- Include the page title in the existing bold display font.
- Include the requested date line: "Last updated: 13 November 2026".
- Include an "In short" summary box: a white card with a dark border. Each summary must accurately reflect that page's existing content.
Comfortable policy reading area
- Below the band, use plain white or a very light neutral background for long policy text.
- Keep the decorative yellow grid/pattern out from behind long paragraphs.
- Use a readable article width, clear heading hierarchy and comfortable paragraph/section spacing.
- Include an "On this page" table of contents, with the active item highlighted in yellow.
- Use yellow link underlines and a short yellow bar before each h2.
Palette and consistency
- Palette: channel brand yellow, near-black (#111), and white. No beige and no green.
- Preserve the existing logo, fonts and shared navigation. Make the shared navbar and page-header band visually coherent without adding separate per-page navbars.
- Keep this scoped to the legal/informational page shell, rather than a broad application redesign.
Scope and code pointers
Start with Privacy Policy (/privacy), Terms of Use (/terms), Disclaimer (/disclaimer), and Copyright & Takedown (/copyright). About (/about) also uses LegalLayout and should retain a consistent visual treatment.
Relevant shared code: src/components/legal/legal-layout.tsx, src/components/site-header.tsx, src/app/layout.tsx and src/lib/legal.ts.
Acceptance criteria
- Shared legal-page layout implements the yellow title/date/summary band and a plain reading area below it.
- "In short" content is reviewed against each page's policy text; the visual change does not silently rewrite policy clauses.
- The requested last-updated label is distinct from existing policy effective dates, which retain their meaning.
- TOC anchors work, the active item is indicated, and anchored headings remain visible below the header.
- Yellow TOC/link/h2 accents follow the brand palette and remain legible with keyboard focus states.
- At 360px, 768px and 1440px, reading and navigation work without horizontal overflow; the TOC adapts to mobile.
- Capture desktop/mobile screenshots and run relevant lint, build and browser checks when implemented.
Planning
Backlog/design issue only. No implementation or pull request is requested now. Start future work from this issue and link the resulting PR.
Related navbar reports: #101 (Home first-visit transparency), #102 (signed-in name), #104 (Notes header alignment). Those reports remain separate.
- Linguagem predominante
- TypeScript
- Estrelas
- 1
- Forks
- 1
- Merge médio
- 8h 58min
- PRs com merge (30d)
- 37
Preparar o ambiente
- Inclui um Dockerfile ou arquivo Docker Compose
- Tem um modelo de pull request
- Ler o guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de procoderji-com/procoderji
-
area:frontend bug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 62/100
procoderji-com/procoderji#104 ·
Mantenedores costumam responder em até 1 dia
-
enhancement good first issue
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 88/100
procoderji-com/procoderji#36 ·
Mantenedores costumam responder em até 1 dia
-
enhancement good first issue
Dificuldade 1/5 1-3 horas Facilidade para iniciantes 85/100
procoderji-com/procoderji#35 ·
Mantenedores costumam responder em até 1 dia
-
enhancement good first issue
Dificuldade 1/5 1-3 horas Facilidade para iniciantes 79/100
procoderji-com/procoderji#34 ·
Mantenedores costumam responder em até 1 dia
-
enhancement good first issue
Dificuldade 1/5 1-3 horas Facilidade para iniciantes 90/100
procoderji-com/procoderji#33 ·
Mantenedores costumam responder em até 1 dia
Todas as issues de procoderji-com/procoderji
Issues semelhantes
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 72/100
Mantenedores costumam responder em até 1 dia
-
bug platform-android
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 68/100
Termix-SSH/Mobile#146 · 1 comentário ·
Mantenedores costumam responder em até 2 dias
-
bug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 66/100
devswha/herdr-web-ui#3875 ·
-
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 88/100
-
area: runtime chore cli consistency dependencies developer-experience difficulty: easy discovery documentation enhancement good first issue help wanted hygiene json-output packaging priority: P3 tests version
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
Mantenedores costumam responder em até 1 dia