···11+import styles from './about.module.css';
22+import Link from 'next/link';
33+44+export default function AboutPage() {
55+ return (
66+ <div className={styles.container}>
77+ <div className={styles.header}>
88+ <h1 className={styles.title}>About Flushes</h1>
99+ <p className={styles.subtitle}>The world's 1st decentralized toilet. </p>
1010+ </div>
1111+1212+ <div className={styles.section}>
1313+ <h2>Our History</h2>
1414+ <p>
1515+ Flushes was created as part of an elaborate bit over the course of a single weekend, but it soon gained a tiny cult following who we now refer to as "flushers". To learn more about what inspired Flushes, read the <a href="https://dame.is/blog/creating-a-decentralized-bathroom-at-protocol" target="_blank" rel="noopener noreferrer">Creating a Decentralized Bathroom</a> blog post on @dame.is's blog.
1616+ </p>
1717+ </div>
1818+1919+ <div className={styles.section}>
2020+ <h2>How It Works</h2>
2121+ <p>
2222+ Flushes uses the im.flushing.right.now lexicon, a custom record type
2323+ on the AT Protocol. When you post a flush, you're creating a record with:
2424+ </p>
2525+ <ul className={styles.featureList}>
2626+ <li>A descriptive text (always starting with "is...")</li>
2727+ <li>A bathroom-related emoji</li>
2828+ <li>A timestamp</li>
2929+ </ul>
3030+ <p>
3131+ These records are stored in your ATProto personal data server (PDS) and are fully controlled by you.
3232+ You can delete them at any time from your Bluesky account using tools like <a href="https://pdsls.dev" target="_blank" rel="noopener noreferrer">pdsls.dev</a>
3333+ </p>
3434+ </div>
3535+3636+ <div className={styles.section}>
3737+ <h2>The Team</h2>
3838+ <p>
3939+ Flushes was created by <a href="https://bsky.app/profile/dame.is" target="_blank" rel="noopener noreferrer">Dame</a> as
4040+ a fun side project exploring the possibilities of the AT Protocol and Bluesky.
4141+ </p>
4242+ <p>
4343+ Our psuedonmyous bathroom technician is <a href="https://bsky.app/profile/plumber.flushes.app" target="_blank" rel="noopener noreferrer">@plumber.flushes.app</a>,
4444+ who's always ready to fix your plumbing problems.
4545+ </p>
4646+ <p>
4747+ Flushes is now an experimental social network led by <a href="https://atpota.to/" target="_blank" rel="noopener noreferrer">atpotato</a>.
4848+ </p>
4949+ </div>
5050+5151+ <div className={styles.section}>
5252+ <h2>Get Involved</h2>
5353+ <p>
5454+ Have ideas for improving Flushes? Want to report a bug?
5555+ Reach out on <a href="https://bsky.app/profile/flushes.app" target="_blank" rel="noopener noreferrer">Bluesky</a>.
5656+ </p>
5757+ <div className={styles.actionLinks}>
5858+ <Link href="/shortcut" className={styles.actionLink}>Get the Shortcut</Link>
5959+ <Link href="/stats" className={styles.actionLink}>View Flush Stats</Link>
6060+ <Link href="/" className={styles.actionLink}>Return to Feed</Link>
6161+ </div>
6262+ </div>
6363+ </div>
6464+ );
6565+}
···359359 <h1 className={styles.title}>Flushes 🧻</h1>
360360 <p className={styles.subtitle}>https://flushes.app 🚽</p>
361361 <p className={styles.description}>
362362- The world's first decentralized social media app for sharing when you're on the toilet. Connect with other bathroom enjoyers all over the world by posting "flushes"! Powered by the AT Protocol. Your status updates are saved to your PDS with the im.flushing lexicon.<br />
362362+ The world's 1st decentralized social media app for sharing when you're on the toilet. Powered by the AT Protocol. Your flushes are saved to your PDS via the im.flushing lexicon.<br />
363363 <span className={styles.creditLine}>
364364 Made by <a href="https://bsky.app/profile/dame.is" target="_blank" rel="noopener noreferrer">@dame.is</a>.
365365- Like the app? Consider contributing to <a href="https://ko-fi.com/dameis" target="_blank" rel="noopener noreferrer" className={styles.kofiLink}>my toilet paper fund</a>.
365365+ Like the app? Donate to<a href="https://ko-fi.com/dameis" target="_blank" rel="noopener noreferrer" className={styles.kofiLink}>my toilet paper fund</a>.
366366 </span>
367367 </p>
368368 </div>
···466466 <div className={styles.feedHeaderLeft}>
467467 <h2>Recent flushes</h2>
468468 <p className={styles.feedSubheader}>
469469- Click on a username to see their flushing profile.
469469+ Click on a username to see their flushes profile.
470470 </p>
471471 </div>
472472 <button
+61
app/src/app/shortcut/page.tsx
···11+'use client';
22+33+import { useState } from 'react';
44+import Link from 'next/link';
55+import styles from './shortcut.module.css';
66+77+export default function ShortcutPage() {
88+ const [isCopied, setIsCopied] = useState(false);
99+1010+ const handleDownload = () => {
1111+ // Usually this would be a direct link to the shortcut file
1212+ window.open('https://www.icloud.com/shortcuts/d1caee7798dc4de3bef4defa0085dd72', '_blank');
1313+ };
1414+1515+ return (
1616+ <div className={styles.container}>
1717+ <div className={styles.header}>
1818+ <h1 className={styles.title}>Apple Shortcut</h1>
1919+ <p className={styles.subtitle}>Flush faster or add an NFC sticker to your bathroom for automatic flushing</p>
2020+ </div>
2121+2222+ <div className={styles.shortcutCard}>
2323+ <div className={styles.cardContent}>
2424+ <h2>Apple Shortcut</h2>
2525+ <p>Add the official Flushes shortcut to your iPhone for quicker posting.</p>
2626+ <div className={styles.featureList}>
2727+ <div className={styles.feature}>
2828+ <span className={styles.icon}>⚡️</span>
2929+ <span>Quick access from home screen or action button</span>
3030+ </div>
3131+ <div className={styles.feature}>
3232+ <span className={styles.icon}>🔐</span>
3333+ <span>Securely stores your credentials on-device</span>
3434+ </div>
3535+ <div className={styles.feature}>
3636+ <span className={styles.icon}>📱</span>
3737+ <span>NFC sticker compatible</span>
3838+ </div>
3939+ </div>
4040+ <button onClick={handleDownload} className={styles.downloadButton}>
4141+ Download Shortcut
4242+ </button>
4343+ </div>
4444+ <div className={styles.shortcutImage}>
4545+ {/* Replace with actual image of your shortcut */}
4646+ <div className={styles.placeholderImage}>
4747+ <span>📱</span>
4848+ </div>
4949+ </div>
5050+ </div>
5151+5252+ <div className={styles.helpSection}>
5353+ <h2>Need Help?</h2>
5454+ <p>
5555+ Check out our <Link href="/about">About page</Link> for more information or
5656+ reach out on <a href="https://bsky.app/profile/flushes.app" target="_blank" rel="noopener noreferrer">Bluesky</a>.
5757+ </p>
5858+ </div>
5959+ </div>
6060+ );
6161+}