Skip to content

an astro template with the famous matrix component hydrated, with preact, taillwind css, typescript, based on the awesome https://github.com/mhyfritz/astro-landing-page

License

Notifications You must be signed in to change notification settings

BorisTherin/matrix-land-astro-template

Repository files navigation

Astro Landing Page with Matrix canvas as background

(pretty efficient template base from https://github.com/mhyfritz/astro-landing-page)

Built with Astro

An Astro + Tailwind CSS example/template + Preact component for Matrixed background for your landing pages.

Configure as u wish: (/src/components/YellowMatrix.tsx)

  • MINIMAL_SPEED
  • MAX_ADD_SPEED
  • MATRIX_CANVAS_TRAIL_INDICE
  • REDROP_AFTER_INVISIBLE_RATIO
  • FONT
  • FONT_SIZE
  • FONT_COLOR

Screenshots of Astro Landing Page

Features

  • 💨 Tailwind CSS for styling
  • 🎨 Themeable
    • CSS variables are defined in src/styles/theme.css and mapped to Tailwind classes (tailwind.config.cjs)
  • 🌙 Dark mode
  • 📱 Responsive (layout, images, typography)
  • ♿ Accessible (as measured by https://web.dev/measure/)
  • 🔎 SEO-enabled (as measured by https://web.dev/measure/)
  • 🔗 Open Graph tags for social media sharing
  • 💅 Prettier setup for both Astro and Tailwind
  • Preact component island to render your landing pages background

Commands

Command Action
npm install Install dependencies
npm run dev Start local dev server at localhost:3000
npm run build Build your production site to ./dist/
npm run preview Preview your build locally, before deploying
npm run astro ... Run CLI commands like astro add, astro check
npm run astro --help Get help using the Astro CLI
npm run format Format code with Prettier
npm run clean Remove node_modules and build output

Credits

About

an astro template with the famous matrix component hydrated, with preact, taillwind css, typescript, based on the awesome https://github.com/mhyfritz/astro-landing-page

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published