update page content
This commit is contained in:
parent
3b0dabdfe8
commit
f83fbb2eb1
1 changed files with 13 additions and 15 deletions
|
|
@ -2,9 +2,8 @@ import type {ReactNode} from 'react';
|
||||||
import Layout from '@theme/Layout';
|
import Layout from '@theme/Layout';
|
||||||
import Heading from '@theme/Heading';
|
import Heading from '@theme/Heading';
|
||||||
|
|
||||||
const CONTACT_EMAIL = 'support@guardianproject.info';
|
const CONTACT_US = '/contact';
|
||||||
const MAILING_LIST = '/contact';
|
const BOOT_IMAGES = '/docs/build-a-box';
|
||||||
const BOOT_IMAGES = '/docs/update-butter';
|
|
||||||
const REPO = 'https://guardianproject.dev/butter';
|
const REPO = 'https://guardianproject.dev/butter';
|
||||||
const DOCS = '/docs';
|
const DOCS = '/docs';
|
||||||
|
|
||||||
|
|
@ -21,9 +20,8 @@ function Hero() {
|
||||||
Introducing Butter Box
|
Introducing Butter Box
|
||||||
</Heading>
|
</Heading>
|
||||||
<p className="hero-subtitle">
|
<p className="hero-subtitle">
|
||||||
No Internet? No electricity? No problem. You can make the{' '}
|
No Internet? No electricity? No problem.<br/>
|
||||||
<a href="/docs/">Butter app store</a> available anywhere with
|
Bring internet services and sites where they are not.
|
||||||
Butter Box.
|
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</header>
|
</header>
|
||||||
|
|
@ -51,10 +49,6 @@ export default function Home(): ReactNode {
|
||||||
|
|
||||||
<section className="section">
|
<section className="section">
|
||||||
<Heading as="h2">How does it work?</Heading>
|
<Heading as="h2">How does it work?</Heading>
|
||||||
<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."
|
|
||||||
/>
|
|
||||||
<p className="content-text">
|
<p className="content-text">
|
||||||
Butter Box broadcasts its own WiFi network. Once you join, you
|
Butter Box broadcasts its own WiFi network. Once you join, you
|
||||||
can install Butter, get apps, join a public chatroom, or make
|
can install Butter, get apps, join a public chatroom, or make
|
||||||
|
|
@ -63,6 +57,10 @@ export default function Home(): ReactNode {
|
||||||
download more apps or check in on your chatrooms. Everything is
|
download more apps or check in on your chatrooms. Everything is
|
||||||
stored right on the Butter Box.
|
stored right on the Butter Box.
|
||||||
</p>
|
</p>
|
||||||
|
<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."
|
||||||
|
/>
|
||||||
<a className="btn-main" target="_blank" rel="noreferrer" href={DOCS}>
|
<a className="btn-main" target="_blank" rel="noreferrer" href={DOCS}>
|
||||||
Learn More
|
Learn More
|
||||||
</a>
|
</a>
|
||||||
|
|
@ -71,11 +69,11 @@ export default function Home(): ReactNode {
|
||||||
<section className="section">
|
<section className="section">
|
||||||
<Heading as="h2">Get your own Butter Box</Heading>
|
<Heading as="h2">Get your own Butter Box</Heading>
|
||||||
<p className="content-text">
|
<p className="content-text">
|
||||||
We make & ship Butter Boxes to partners around the world.
|
We help make & ship Butter Boxes to partners around the world.
|
||||||
Reach out to us if you serve a community that could benefit.
|
Reach out to us if you serve a community that could benefit.
|
||||||
</p>
|
</p>
|
||||||
<a className="btn-main" href={`mailto:${CONTACT_EMAIL}`}>
|
<a className="btn-main" href={`${CONTACT_US}`}>
|
||||||
Email us
|
Get in Touch
|
||||||
</a>
|
</a>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
|
@ -92,7 +90,7 @@ export default function Home(): ReactNode {
|
||||||
target="_blank"
|
target="_blank"
|
||||||
rel="noreferrer"
|
rel="noreferrer"
|
||||||
href={BOOT_IMAGES}>
|
href={BOOT_IMAGES}>
|
||||||
Download boot images
|
Learn How!
|
||||||
</a>
|
</a>
|
||||||
<p className="content-text" style={{marginTop: '1.5rem'}}>
|
<p className="content-text" style={{marginTop: '1.5rem'}}>
|
||||||
Or, customize your Butter Box following the instructions in our
|
Or, customize your Butter Box following the instructions in our
|
||||||
|
|
@ -102,7 +100,7 @@ export default function Home(): ReactNode {
|
||||||
className="btn-main"
|
className="btn-main"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
rel="noreferrer"
|
rel="noreferrer"
|
||||||
href={`${REPO}/-/blob/main/docs/en/README.md`}>
|
href={`${REPO}`}>
|
||||||
Source & Documentation
|
Source & Documentation
|
||||||
</a>
|
</a>
|
||||||
</section>
|
</section>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue