likebutter.app/www/src/pages/index.tsx

112 lines
3.9 KiB
TypeScript
Raw Normal View History

2026-04-21 13:33:36 -04:00
import type {ReactNode} from 'react';
import Layout from '@theme/Layout';
import Heading from '@theme/Heading';
2026-04-21 19:01:41 -04:00
const CONTACT_US = '/contact';
const BOOT_IMAGES = '/docs/build-a-box';
2026-04-21 14:03:40 -04:00
const REPO = 'https://guardianproject.dev/butter';
const DOCS = '/docs';
2026-04-21 13:33:36 -04:00
function Hero() {
return (
<header className="butter-hero">
<div className="container">
<img
className="hero-logo"
src="/img/butter-logo-feature-large.svg"
alt="Butter App Feature Logo"
/>
<Heading as="h1" className="hero-title">
Introducing Butter Box
</Heading>
<p className="hero-subtitle">
2026-04-21 19:01:41 -04:00
No Internet? No electricity? No problem.<br/>
Bring internet services and sites where they are not.
2026-04-21 13:33:36 -04:00
</p>
</div>
</header>
);
}
export default function Home(): ReactNode {
return (
<Layout
title="Introducing Butter Box"
description="Life without internet made smoother. Get access to tools that help.">
<Hero />
<main className="butter-content">
<div className="container">
<div className="device-image">
<img
2026-04-21 14:03:40 -04:00
src="/img/butterhome.jpg"
2026-04-21 13:33:36 -04:00
alt="A Butter Box: A Raspberry Pi Zero W 2 plugged into a battery and solar panel."
/>
<p className="caption">
An app store, encrypted chat, and more, all available over WiFi
from an off-the-grid Raspberry Pi.
</p>
</div>
<section className="section">
<Heading as="h2">How does it work?</Heading>
<p className="content-text">
Butter Box broadcasts its own WiFi network. Once you join, you
can install Butter, get apps, join a public chatroom, or make
your own private one to share with friends. Butter Box works
even when there&apos;s no Internet. Just stop by the box to
download more apps or check in on your chatrooms. Everything is
stored right on the Butter Box.
</p>
2026-04-21 19:01:41 -04:00
<img
src="/img/plugged-in-to-solar.jpg"
alt="A Butter Box: A Raspberry Pi Zero W 2 plugged into a battery and solar panel."
/>
2026-04-21 13:33:36 -04:00
<a className="btn-main" target="_blank" rel="noreferrer" href={DOCS}>
Learn More
</a>
</section>
<section className="section">
<Heading as="h2">Get your own Butter Box</Heading>
<p className="content-text">
2026-04-21 19:01:41 -04:00
We help make &amp; ship Butter Boxes to partners around the world.
2026-04-21 13:33:36 -04:00
Reach out to us if you serve a community that could benefit.
</p>
2026-04-21 19:01:41 -04:00
<a className="btn-main" href={`${CONTACT_US}`}>
Get in Touch
2026-04-21 13:33:36 -04:00
</a>
</section>
<section className="section">
<Heading as="h2">Make your own Butter Box</Heading>
<p className="content-text">
You can make your own Butter Box by installing a pre-made image
2026-04-21 14:03:40 -04:00
on a Raspberry Pi or even an old PC. Just download the image and burn it onto a
MicroSD card or USB drive using the same RPi or Disk Imager you&apos;d use to install
2026-04-21 13:33:36 -04:00
other distros.
</p>
<a
className="btn-main"
target="_blank"
rel="noreferrer"
href={BOOT_IMAGES}>
2026-04-21 19:01:41 -04:00
Learn How!
2026-04-21 13:33:36 -04:00
</a>
<p className="content-text" style={{marginTop: '1.5rem'}}>
Or, customize your Butter Box following the instructions in our
open source repository.
</p>
<a
className="btn-main"
target="_blank"
rel="noreferrer"
2026-04-21 19:01:41 -04:00
href={`${REPO}`}>
2026-04-21 13:33:36 -04:00
Source &amp; Documentation
</a>
</section>
</div>
</main>
</Layout>
);
}