Skip to content

Commit 14d875f

Browse files
DorianZhengclaude
andcommitted
Redesign homepage for minimalist, centered layout
- Center hero section and simplify buttons - Refine feature cards with concise descriptions - Center-align Features heading for visual harmony 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 4b39f99 commit 14d875f

File tree

3 files changed

+49
-68
lines changed

3 files changed

+49
-68
lines changed

src/components/features.astro

Lines changed: 20 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -4,52 +4,48 @@ import { Icon } from "astro-icon/components";
44
55
const features = [
66
{
7-
title: "Bring Your Own Framework",
7+
title: "Hardware Isolated",
88
description:
9-
"Build your site using React, Svelte, Vue, Preact, web components, or just plain ol' HTML + JavaScript.",
10-
icon: "bx:bxs-briefcase",
9+
"Each sandbox is a micro-VM with its own kernel. Not containers—real isolation.",
10+
icon: "bx:bxs-shield",
1111
},
1212
{
13-
title: "100% Static HTML, No JS",
13+
title: "OCI Compatible",
1414
description:
15-
"Astro renders your entire page to static HTML, removing all JavaScript from your final build by default.",
16-
icon: "bx:bxs-window-alt",
15+
"Use any Docker image. Fast startup with layer caching.",
16+
icon: "bx:bxl-docker",
1717
},
1818
{
19-
title: "On-Demand Components",
19+
title: "Full Freedom Inside",
2020
description:
21-
"Need some JS? Astro can automatically hydrate interactive components when they become visible on the page. ",
22-
icon: "bx:bxs-data",
21+
"Complete Linux environment. Install anything. Nothing escapes.",
22+
icon: "bx:bxs-terminal",
2323
},
2424
{
25-
title: "Broad Integration",
25+
title: "Batteries Included",
2626
description:
27-
"Astro supports TypeScript, Scoped CSS, CSS Modules, Sass, Tailwind, Markdown, MDX, and any other npm packages.",
28-
icon: "bx:bxs-bot",
27+
"Networking, storage, and volumes—all built-in.",
28+
icon: "bx:bxs-package",
2929
},
3030
{
31-
title: "SEO Enabled",
31+
title: "Cross-Platform",
3232
description:
33-
"Automatic sitemaps, RSS feeds, pagination and collections take the pain out of SEO and syndication. It just works!",
34-
icon: "bx:bxs-file-find",
33+
"macOS Apple Silicon and Linux x86_64/ARM64.",
34+
icon: "bx:bxs-devices",
3535
},
3636
{
37-
title: "Community",
37+
title: "Async-First",
3838
description:
39-
"Astro is an open source project powered by hundreds of contributors making thousands of individual contributions.",
40-
icon: "bx:bxs-user",
39+
"Non-blocking I/O with real-time streaming.",
40+
icon: "bx:bxs-zap",
4141
},
4242
];
4343
---
4444

45-
<div class="mt-16 md:mt-0">
45+
<div class="mt-16 md:mt-0 text-center">
4646
<h2 class="text-4xl lg:text-5xl font-bold lg:tracking-tight">
47-
Everything you need to start a website
47+
Features
4848
</h2>
49-
<p class="text-lg mt-4 text-slate-600">
50-
Astro comes batteries included. It takes the best parts of state-of-the-art
51-
tools and adds its own innovations.
52-
</p>
5349
</div>
5450

5551
<div class="grid sm:grid-cols-2 md:grid-cols-3 mt-16 gap-16">

src/components/hero.astro

Lines changed: 27 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -5,47 +5,32 @@ import Link from "@/components/ui/link.astro";
55
import { Icon } from "astro-icon/components";
66
---
77

8-
<main
9-
class="grid lg:grid-cols-2 place-items-center pt-16 pb-8 md:pt-12 md:pb-24">
10-
<!--<div class="py-6 md:order-1 hidden md:block">
11-
<Picture
12-
src={heroImage}
13-
alt="Astronaut in the air"
14-
widths={[200, 400, 600]}
15-
sizes="(max-width: 800px) 100vw, 620px"
16-
loading="eager"
17-
format="avif"
18-
/>
19-
</div>-->
20-
<div>
21-
<h1
22-
class="text-5xl lg:text-6xl xl:text-7xl font-bold lg:tracking-tight xl:tracking-tighter">
23-
Embed. Sandbox. Ship.
24-
</h1>
25-
<p class="text-lg mt-4 text-slate-600 max-w-xl">
26-
A single library for AI agent isolation. No daemon, no dependencies—just import and sandbox.
27-
</p>
28-
<div class="mt-6 flex flex-col sm:flex-row gap-3">
29-
<Link
30-
href="#"
31-
href="https://github.com/boxlite-labs/boxlite"
32-
target="_blank"
33-
class="flex gap-1 items-center justify-center"
34-
rel="noopener">
35-
<Icon class="text-white w-5 h-5" name="bx:bxs-cloud-download" />
36-
37-
Download for Free
38-
</Link>
39-
<Link
40-
size="lg"
41-
style="outline"
42-
rel="noopener"
43-
href="https://github.com/boxlite-labs/boxlite"
44-
class="flex gap-1 items-center justify-center"
45-
target="_blank">
46-
<Icon class="text-black w-4 h-4" name="bx:bxl-github" />
47-
GitHub Repo
48-
</Link>
49-
</div>
8+
<main class="flex flex-col items-center text-center pt-16 pb-8 md:pt-20 md:pb-24">
9+
<h1
10+
class="text-5xl lg:text-6xl xl:text-7xl font-bold lg:tracking-tight xl:tracking-tighter">
11+
Embed. Sandbox. Ship.
12+
</h1>
13+
<p class="text-lg mt-4 text-slate-600 max-w-xl">
14+
A single library for AI agent isolation. No daemon, no dependencies—just import and sandbox.
15+
</p>
16+
<div class="mt-6 flex flex-col sm:flex-row gap-3">
17+
<Link
18+
href="https://github.com/boxlite-labs/boxlite#quick-start"
19+
target="_blank"
20+
class="flex gap-1 items-center justify-center"
21+
rel="noopener">
22+
<Icon class="text-white w-5 h-5" name="bx:bxs-rocket" />
23+
Get Started
24+
</Link>
25+
<Link
26+
size="lg"
27+
style="outline"
28+
rel="noopener"
29+
href="https://github.com/boxlite-labs/boxlite"
30+
class="flex gap-1 items-center justify-center"
31+
target="_blank">
32+
<Icon class="text-black w-4 h-4" name="bx:bxl-github" />
33+
GitHub
34+
</Link>
5035
</div>
5136
</main>

src/pages/index.astro

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ import Layout from "@/layouts/Layout.astro";
1010
<Layout title="">
1111
<Container>
1212
<Hero />
13-
<!--<Features />
14-
<Logos />
13+
<Features />
14+
<!--<Logos />
1515
<Cta />-->
1616
</Container>
1717
</Layout>

0 commit comments

Comments
 (0)