Skip to content

fix(website): add missing CSS for 27 landing page component classes #168

Closed

Description

@ajianaz

Problem

Landing page +page.svelte (558 lines) menggunakan 27 custom CSS class yang TIDAK ADA definisinya di app.css. Halaman hanya bergantung pada Tailwind utility classes, semua component-level styling broken.

Missing CSS Classes

Layout & Section:

  • .section, .section-hero, .section-compact, .section-tall
  • .glass-card
  • .connect-line

Terminal Component:

  • .terminal, .terminal-header, .terminal-body, .terminal-title
  • .terminal-dot, .terminal-dot-red, .terminal-dot-yellow, .terminal-dot-green
  • .syntax-cmd, .syntax-flag, .syntax-highlight, .syntax-string
  • .typing-cursor
  • .copy-btn

Buttons:

  • .btn-primary, .btn-ghost

Hero:

  • .accent-badge, .badge-dot

Features:

  • .feature-icon

Quick Start:

  • .timeline-step, .timeline-number

Comparison Table:

  • .cora-col, .symbol-check, .symbol-cross

Animation:

  • .scroll-reveal (initial hidden state + revealed state)
  • .animate-fade-in-up, .delay-* classes

Acceptance Criteria

  • Semua 27 custom class punya CSS definition di app.css
  • Design konsisten: dark theme, oklch color space, glass morphism cards
  • Landing page tampil proper saat npm run build
  • Mobile responsive
  • Docs CSS tetap berfungsi (jangan overwrite docs styles)
  • Mengikuti pattern app.css yang sudah ada (oklch vars, spacing scale)

Parent Issue

Part of #160

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions