import { BranchBand } from './BranchBand';
import React, { useEffect, useState, type CSSProperties } from 'react';
import { SplashMark } from './SplashMark';
import { AppleIcon } from './AppleIcon';
import { ButtonIcon } from './ButtonIcon';
import ShareButton from './ShareButton';
import { SyncDiagram } from './SyncDiagram';
import { Channels, SocialRow, WeekArt } from './Socials';
import { AboutUs, SocialLinks } from './Community';
// ─────────────────────────────────────────────────────────────────────
// Page data
// ─────────────────────────────────────────────────────────────────────
const STEPS = [
{ n: '01', verb: 'Research', title: 'Turn your references into ideas.', body: 'Save your own notes or links as context for a post, or paste in a post you want to reply to.' },
{ n: '02', verb: 'Write', title: 'Craft social posts in your voice.', body: 'Write posts and attach an MP4 from your Mac. Adapt separate drafts for X, Instagram and LinkedIn.' },
{ n: '03', verb: 'Schedule', title: 'Schedule the week. Inkspring posts it.', body: 'Review your post, then publish now or schedule it. Keep Inkspring open and your Mac awake and online for scheduled posts.' },
];
const VALUES = [
{ n: '01', title: 'A workspace that stays with you.', body: 'Projects, research, and drafts live on your Mac. Open saved work without an internet connection. Export a workspace backup whenever you want to take it with you.' },
{ n: '02', title: 'Start with a draft.', body: 'Open Inkspring on your Mac, start a draft, and add the text, images or video you want to share. Hosted AI is not available yet.' },
{ n: '03', title: 'Research with a point of view.', body: 'Save the notes and links you want to draw from. Keep them alongside your draft as you write and revise.' },
{ n: '04', title: 'No Inkspring account. Your channels.', body: 'Connect your own accounts. X posting requires your own developer app. Scheduled LinkedIn and X posts send from your awake Mac if you enable automatic posting. Instagram requires a professional account, media hosting, and review before sending.' },
];
const MAC_DOWNLOAD = '/download';
const TESTFLIGHT_URL = 'https://testflight.apple.com/join/Gg8AQT4A';
const TICKER = ['Posts and video', 'Free', 'Schedule your week', 'Automatic posting', 'X threads', 'Instagram posts and Reels', 'LinkedIn posts', 'X articles', 'Witty replies', 'iPhone and iPad companion', 'No Inkspring account', 'Open source'];
// Imagined accounts, written in the style of posts that do well on X.
const REPLY_EXAMPLES: { id: string; name: string; handle: string; post: string; image?: string; reply: string }[] = [
{
id: 'hoodie',
name: 'Mara Quinn', handle: '@mara_builds',
post: 'Every productivity app is just a to-do list wearing a different hoodie.',
image: '/ex-hoodies.jpg',
reply: 'And every launch post swears this is the hoodie that finally fits.',
},
{
id: 'automate',
name: 'Jules Ortega', handle: '@jules_ships',
post: 'Spent six hours automating a task that takes four minutes. Zero regrets.',
reply: 'At this rate you break even sometime in 2031. Worth every second.',
},
{
id: 'screentime',
name: 'Dana Whitlock', handle: '@dana_writes',
post: 'My screen time report just asked if I’m okay.',
image: '/ex-phone.jpg',
reply: 'Mine stopped asking. That’s how you know it’s serious.',
},
];
const HERO_POST = 'The best meeting of the week is the one that gets cancelled five minutes before it starts.';
const HERO_REPLY = '9:55am: “This event has been cancelled.” The closest thing adults get to a snow day.';
const SINGLE_POSTS = [
{ image: '/ex-desk.jpg', name: 'Nora Bell', handle: '@nightbuild', caption: 'Built it in one night. Spent the next six debugging it.', tags: '#buildinpublic · #devlife' },
{ image: '/ex-books.jpg', name: 'Theo Marsh', handle: '@shelfdebt', caption: 'Buying books and reading books are two different hobbies. I’m elite at one.', tags: '#booktok · #tsundoku' },
{ image: '/ex-sunrise.jpg', name: 'Ivy Chen', handle: '@early_ish', caption: '5am club update: awake for nine minutes, already planning my nap.', tags: '#5amclub · #morningroutine' },
{ image: '/ex-whiteboard.jpg', name: 'Ravi Patel', handle: '@namingthings', caption: 'Naming the product took longer than building it.', tags: '#startups · #branding' },
];
// ─────────────────────────────────────────────────────────────────────
// Page
// ─────────────────────────────────────────────────────────────────────
export default function Homepage() {
useReveal();
return (
<>
{/* HERO ─────────────────────────────────────────────────── */}
Social publishing studio for Mac
Craft your posts.Schedule your week.Post with ease.
Write a post, add a video from your Mac, and publish now or schedule it to LinkedIn, X and Instagram. Check your schedule on iPhone or iPad.
Version 1.0.104Free · macOS 14 or later · Apple Silicon
{/* HOW IT WORKS ─────────────────────────────────────────── */}
How it works
From an idea to a week of posts, without leaving your desk.
{STEPS.map((step, i) => (
{step.n}{step.verb}
{step.title}
{step.body}
))}
{/* CHANNELS ─────────────────────────────────────────────── */}
{/* REPLY STUDIO ─────────────────────────────────────────── */}
The reply studio
Paste a post. Reply like you meant it.
Paste the text of a post from X and get a witty reply in 280 characters or less. Try it below with a few example posts.
Examples use imagined accounts. Replies are drafts that wait for your OK. Paste the text of a post you want to answer. Image generation needs an AI provider key.
Inkspring for Mac does the work: research, AI writing, your connected accounts and automatic posting all run there. The iPhone and iPad app is a companion to it. It syncs with your Mac through your private iCloud, so you can review drafts, revise, and move or cancel scheduled posts while you are away from your desk. It is made for people who use their Mac and iPhone together.
Mac · Apple SiliconiPhone & iPad · TestFlightFreeOpen source
Inkspring 1.0.104 is available for Mac. No pop-ups or nags: Inkspring never interrupts you with rating, support or feedback prompts.
);
}
export function Footer() {
return (
<>
>
);
}
function Eyebrow({ children }: { children: React.ReactNode }) {
return (
{children}
);
}
// Brush stroke drawn under "Keep" in the hero headline.
function InkStroke() {
return (
);
}
// A pasted post over its drafted reply (with a generated image), behind
// which sits a finished single-image post. Decorative only.
function HeroCollage() {
return (
Buying books and reading books are two different hobbies. I’m elite at one.
);
}
// Interactive demo: pick an example post and see the drafted reply.
function ReplyStudio() {
const [exampleId, setExampleId] = useState(REPLY_EXAMPLES[0].id);
const example = REPLY_EXAMPLES.find((e) => e.id === exampleId) ?? REPLY_EXAMPLES[0];
return (