Skip to content

Commit ba03291

Browse files
authored
feat: adopt motion-toolkit tagline and Framer Motion branding (#78)
* feat: adopt motion-toolkit tagline and Framer Motion branding Make positioning consistent across the site, metadata, social cards and docs. - Canonical tagline "The motion toolkit for React & Next.js" in hero, title.default, OG/Twitter, footer, OG images, llms.txt index and README - Refer to the library as Framer Motion (was "Motion") in user-facing copy - Add SITE_TAGLINE plus Organization.slogan and SoftwareApplication slogan/alternateName to the site JSON-LD - Point lib/seo.ts SITE at the env-driven SITE_URL * style: bump hero headline size for longer tagline * style: hero tagline on two lines * style: revert hero base size to text-5xl
1 parent 17721ea commit ba03291

11 files changed

Lines changed: 23 additions & 17 deletions

File tree

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Contributing
22

3-
beUI is a React, TypeScript, Motion and Tailwind CSS component library.
3+
beUI is a React, TypeScript, Framer Motion and Tailwind CSS component library.
44

55
## Before You Open a PR
66

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<h1 align="center">beUI v2</h1>
88

99
<p align="center">
10-
Motion components for React. Copy the source, own the code.
10+
The motion toolkit for React & Next.js. Copy the source, own the code.
1111
</p>
1212

1313
<p align="center">

app/api/og/route.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ export async function GET(request: Request) {
1717
const description =
1818
component?.description ??
1919
category?.description ??
20-
"Production-ready motion components for React. Copy the source, own the code.";
20+
"The motion toolkit for React & Next.js. Built on Framer Motion and Tailwind.";
2121
const label = component
2222
? "Component"
2323
: category

app/layout.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ export const metadata: Metadata = {
2626
metadataBase: new URL(SITE_URL),
2727
applicationName: SITE_NAME,
2828
title: {
29-
default: "beUI · Production-ready motion components for React & Next.js",
29+
default: "beUI · The motion toolkit for React & Next.js",
3030
template: "%s · beUI",
3131
},
3232
description: SITE_DESCRIPTION,
@@ -44,7 +44,7 @@ export const metadata: Metadata = {
4444
},
4545
},
4646
openGraph: {
47-
title: "beUI · Production-ready motion components for React & Next.js",
47+
title: "beUI · The motion toolkit for React & Next.js",
4848
description: SITE_DESCRIPTION,
4949
type: "website",
5050
url: "/",
@@ -55,13 +55,13 @@ export const metadata: Metadata = {
5555
url: "/api/og",
5656
width: 1200,
5757
height: 630,
58-
alt: "beUI · Production-ready motion components for React & Next.js",
58+
alt: "beUI · The motion toolkit for React & Next.js",
5959
},
6060
],
6161
},
6262
twitter: {
6363
card: "summary_large_image",
64-
title: "beUI · Production-ready motion components for React & Next.js",
64+
title: "beUI · The motion toolkit for React & Next.js",
6565
description: SITE_DESCRIPTION,
6666
images: ["/api/og"],
6767
},

app/opengraph-image.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { ImageResponse } from "next/og";
22
import { OG_SIZE, ogImage } from "@/lib/og";
33

44
export const runtime = "edge";
5-
export const alt = "beUI · Motion components for React";
5+
export const alt = "beUI · The motion toolkit for React & Next.js";
66
export const size = OG_SIZE;
77
export const contentType = "image/png";
88

app/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ export default function Home() {
4141

4242
<section className="mx-auto max-w-2xl px-4 pb-24">
4343
<p className="mb-5 text-center text-sm text-muted-foreground">
44-
Built on Motion. Distributed via shadcn.
44+
Built on Framer Motion. Distributed via shadcn.
4545
</p>
4646
<InstallCommand />
4747
</section>

components/app/hero.tsx

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import { GithubIcon } from "@/components/app/icons";
77
import { PressLink } from "@/components/app/press-link";
88
import { TextReveal } from "@/components/motion/text-reveal";
99

10-
const HEADLINE = ["Motion", "components", "for React."];
10+
const HEADLINE = ["The motion toolkit", "for React & Next.js"];
1111
const HEADLINE_WORDS = HEADLINE.reduce((n, l) => n + l.split(" ").length, 0);
1212
const STAGGER = 0.09;
1313
const START = 0.12;
@@ -49,9 +49,10 @@ export function Hero() {
4949
initial={{ opacity: 0, y: 10, filter: "blur(6px)" }}
5050
animate={{ opacity: 1, y: 0, filter: "blur(0px)" }}
5151
transition={{ duration: 0.5, ease: EASE_OUT, delay: subDelay }}
52-
className="mx-auto mt-6 max-w-sm text-pretty text-base leading-7 text-muted-foreground"
52+
className="mx-auto mt-6 max-w-md text-pretty text-base leading-7 text-muted-foreground"
5353
>
54-
Copy-ready components with clean motion.
54+
Copy-paste animated components built on Framer Motion and Tailwind. Free
55+
and open source.
5556
</motion.p>
5657

5758
<motion.div

components/app/site-footer.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ export function SiteFooter() {
1515
<div className="col-span-2 md:col-span-1">
1616
<p className="font-pixel text-lg font-medium text-foreground">beUI</p>
1717
<p className="mt-2 max-w-[220px] text-sm leading-6 text-muted-foreground">
18-
Motion components for React. Copy-paste via shadcn registry.
18+
The motion toolkit for React & Next.js. Copy-paste via shadcn registry.
1919
</p>
2020
<p className="mt-5 text-xs text-muted-foreground">
2121
Created by{" "}

lib/og.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ type OgOptions = {
2020
// Satori-safe styles only (flexbox; every multi-child node sets display:flex).
2121
export function ogImage({
2222
title = "beUI",
23-
description = "Production-ready motion components for React. Copy the source, own the code.",
23+
description = "The motion toolkit for React & Next.js. Built on Framer Motion and Tailwind.",
2424
label = "Motion components",
2525
command = "npx shadcn add @beui/...",
2626
}: OgOptions = {}): ReactElement {

lib/registry-server.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -347,7 +347,7 @@ export async function buildShadcnRegistry(): Promise<ShadcnRegistry> {
347347
export async function buildIndex() {
348348
return {
349349
name: "beUI",
350-
description: "Bespoke motion components for React.",
350+
description: "The motion toolkit for React and Next.js.",
351351
site: SITE_URL,
352352
endpoints: {
353353
llms: `${SITE_URL}/llms.txt`,

0 commit comments

Comments
 (0)