-
Notifications
You must be signed in to change notification settings - Fork 1
feat: interactive ROI calculator at /tools/roi + resources hub #50
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
sidneyswift
wants to merge
2
commits into
main
Choose a base branch
from
feat/roi-calculator
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,23 +1,88 @@ | ||
| import type { Metadata } from "next"; | ||
| import Link from "next/link"; | ||
| import { siteConfig } from "@/lib/config"; | ||
| import { buildPageMetadata } from "@/lib/seo"; | ||
|
|
||
| export const metadata: Metadata = buildPageMetadata({ | ||
| title: `Resources — Blog & Demos | ${siteConfig.name}`, | ||
| title: `Resources — Tools, Blog & More | ${siteConfig.name}`, | ||
| description: | ||
| "Blog posts and demos. Everything you need to run your music business with AI agents — strategy, content, fans, and operations.", | ||
| "Tools, blog posts, playbooks, and demos. Everything you need to run your music business with AI agents.", | ||
| path: "/resources", | ||
| }); | ||
|
|
||
| const resources = [ | ||
| { | ||
| title: "ROI Calculator", | ||
| description: | ||
| "See how much time and money AI agents could save your team. Input your numbers, get your answer.", | ||
| href: "/tools/roi", | ||
| badge: "New", | ||
| }, | ||
| { | ||
| title: "Blog", | ||
| description: | ||
| "Insights on AI in music, agent architecture, and running a modern label.", | ||
| href: "/blog", | ||
| }, | ||
| { | ||
| title: "The Playbook", | ||
| description: | ||
| "A tactical guide to running your music business with AI agents.", | ||
| href: "/playbook", | ||
| }, | ||
| { | ||
| title: "Demos", | ||
| description: | ||
| "See Recoup in action. Walkthroughs of agents running real music operations.", | ||
| href: "/learn/demos", | ||
| }, | ||
| ]; | ||
|
|
||
| export default function ResourcesPage() { | ||
| return ( | ||
| <div className="max-w-3xl mx-auto px-6 py-32 text-center"> | ||
| <h1 className="font-pixel text-[clamp(2rem,5vw,3.5rem)] tracking-tight mb-4"> | ||
| Resources | ||
| </h1> | ||
| <p className="text-[15px] text-(--foreground)/40 max-w-md mx-auto"> | ||
| Coming soon. | ||
| </p> | ||
| <div className="max-w-3xl mx-auto px-6 py-20"> | ||
| <header className="text-center mb-16"> | ||
| <h1 | ||
| className="text-[clamp(2rem,5vw,3.5rem)] font-bold tracking-tight leading-[1.1] mb-4" | ||
| style={{ fontFamily: "var(--font-bitmap), monospace" }} | ||
| > | ||
| Resources | ||
| </h1> | ||
| <p className="text-[15px] text-[var(--muted-foreground)] max-w-md mx-auto"> | ||
| Tools, guides, and insights to help you run your music business with | ||
| AI. | ||
| </p> | ||
| </header> | ||
|
|
||
| <div className="grid gap-4"> | ||
| {resources.map((r) => ( | ||
| <Link | ||
| key={r.href} | ||
| href={r.href} | ||
| className="group flex items-start justify-between gap-4 rounded-xl border border-[var(--border)] p-6 transition-colors hover:bg-[var(--secondary)]" | ||
| > | ||
| <div> | ||
| <div className="flex items-center gap-2 mb-1"> | ||
| <h2 className="text-base font-semibold">{r.title}</h2> | ||
| {r.badge && ( | ||
| <span | ||
| className="text-[9px] uppercase tracking-wider bg-[var(--foreground)] text-[var(--background)] px-2 py-0.5 rounded-full" | ||
| style={{ fontFamily: "var(--font-bitmap), monospace" }} | ||
| > | ||
| {r.badge} | ||
| </span> | ||
| )} | ||
| </div> | ||
| <p className="text-[13px] text-[var(--muted-foreground)] leading-relaxed"> | ||
| {r.description} | ||
| </p> | ||
| </div> | ||
| <span className="text-[var(--muted-foreground)] group-hover:text-[var(--foreground)] transition-colors mt-1 shrink-0"> | ||
| → | ||
| </span> | ||
| </Link> | ||
| ))} | ||
| </div> | ||
| </div> | ||
| ); | ||
| } | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,57 @@ | ||
| import type { Metadata } from "next"; | ||
| import { buildPageMetadata } from "@/lib/seo"; | ||
| import { roiCopy } from "@/lib/copy/roi"; | ||
| import { ROICalculator } from "@/components/roi/ROICalculator"; | ||
|
|
||
| export const metadata: Metadata = buildPageMetadata({ | ||
| title: "ROI Calculator — How Much Could You Save? | Recoup", | ||
| description: | ||
| "Calculate how much time and money AI agents could save your music business. Input your roster size, team costs, and content volume — get your ROI in seconds.", | ||
| path: "/tools/roi", | ||
| }); | ||
|
|
||
| export default function ROIPage() { | ||
| return ( | ||
| <div className="max-w-2xl mx-auto px-6 py-20"> | ||
| {/* Hero */} | ||
| <header className="text-center mb-12"> | ||
| <div className="inline-block rounded-full border border-[var(--border)] px-4 py-1.5 text-xs font-medium tracking-wide uppercase mb-6"> | ||
| {roiCopy.badge} | ||
| </div> | ||
| <h1 | ||
| className="text-[clamp(2rem,5vw,3.5rem)] font-bold tracking-tight leading-[1.1] mb-4" | ||
| style={{ fontFamily: "var(--font-bitmap), monospace" }} | ||
| > | ||
| {roiCopy.headline} | ||
| </h1> | ||
| <p className="text-[15px] text-[var(--muted-foreground)] max-w-xl mx-auto"> | ||
| {roiCopy.subheadline} | ||
| </p> | ||
| </header> | ||
|
|
||
| {/* Calculator */} | ||
| <ROICalculator /> | ||
|
|
||
| {/* Methodology */} | ||
| <div className="mt-16 pt-12 border-t border-[var(--border)]"> | ||
| <h2 | ||
| className="text-[10px] uppercase tracking-widest text-[var(--muted-foreground)] mb-4" | ||
| style={{ fontFamily: "var(--font-bitmap), monospace" }} | ||
| > | ||
| How we calculate | ||
| </h2> | ||
| <ul className="space-y-2"> | ||
| {roiCopy.methodology.map((item) => ( | ||
| <li | ||
| key={item} | ||
| className="text-[13px] text-[var(--muted-foreground)] flex items-start gap-2" | ||
| > | ||
| <span className="text-[var(--foreground)] mt-0.5">·</span> | ||
| {item} | ||
| </li> | ||
| ))} | ||
| </ul> | ||
| </div> | ||
| </div> | ||
| ); | ||
| } |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
P2: Title will render with a duplicated
| Recoupsuffix. The root layout already appliestitle: { template: "%s | Recoup" }, so the page-level stringResources — Tools, Blog & More | Recoupgets wrapped again producingResources — Tools, Blog & More | Recoup | Recoupin the browser tab and OG tags.Prompt for AI agents