К темам

Astro Orbit

A lightning-fast free portfolio and blog theme for Astro 7, with a 3D droplet in the hero, dark and light mode, and four languages.


Стоимость

Бесплатно


🪐 Astro Orbit by Hans Martens

Astro Orbit is a free theme for a personal website: a homepage, an About page, projects, a blog and a contact page. It's built with Astro 7 and MIT-licensed.

💧 The droplet

The homepage hero has a 3D animation, made with three.js. A droplet comes out of the hero, follows a track down the homepage and opens into a card whose words light up one by one as you scroll. Then the card becomes a droplet again and lands as the first project card.

The 3D scenes only run on a device with a graphics chip. Other devices, and Lighthouse, see a still picture of the hero, and three.js isn't downloaded. With reduced motion switched on, the scene shows one still pose.

📦 What's in it

  • Homepage: the 3D hero, the droplet's track and its card, your latest six projects and four posts, and a sign-off with a contact button.
  • About page: a hero with your photo or your mark, your facts, the years of your work (they count up as they come into view), how you work, recent projects and the tools you use.
  • Projects: a page for each project, with a hero picture, sections of text beside pictures or videos, the stack, and the next project at the foot in one of two designs.
  • Blog: posts in Markdown or MDX, with a table of contents, search (Pagefind), a category filter, related posts and a reading time. Each post gets a card picture made at build time, so posts don't need images.
  • Contact: a form that sends the message to your email through Resend.
  • Newsletter: a signup under every post, with a confirmation email before an address is added.
  • Components: the 46 design-system components that come with the theme, shown live with their code on a page of their own.
  • Share images: every page gets its own picture for social media, made at build time.
  • For search engines and AI assistants: a sitemap, an RSS feed, structured data and an llms.txt file.

🎨 Make it yours

Two files hold everything that's about you. site.config.ts has your name, wordmark, email, location and links. theme.config.ts has every text a visitor reads about you, plus these settings:

  • Brand colour: one hex code. The theme works out the lighter and darker shades and checks each one's contrast in dark and light mode.
  • Dark mode only: the theme opens in dark mode and visitors can switch to light. One setting removes the switch.
  • Language: English, Spanish, French or Dutch. Another language takes one dictionary file to translate.

⚡ Performance

The demo's homepage scores 100 in all four Lighthouse categories on mobile and desktop.

🤖 Working with AI assistants

The AGENTS.md file tells AI coding assistants (Claude Code, Codex, Cursor, Copilot) where everything is and which rules keep a change in line with the theme.