Skip to content

Production-ready animations, transitions, backgrounds, and scenes for Remotion

refactor: sponsor page ui

kapishdimaed775785087e
diff --git a/app/(home)/components/sections/landing-partners.tsx b/app/(home)/components/sections/landing-partners.tsx
index 2640df63..ce00c765 100644
--- a/app/(home)/components/sections/landing-partners.tsx
+++ b/app/(home)/components/sections/landing-partners.tsx
@@ -33,7 +33,11 @@ function SponsorLogoCard({ sponsor }: { sponsor: Sponsor }) {
}
export function LandingPartners() {
- const featured = getPromotedSponsors();
+ const promoted = getPromotedSponsors();
+ const ordered = [
+ ...promoted.filter((s) => s.tier !== "featured"),
+ ...promoted.filter((s) => s.tier === "featured"),
+ ];
return (
<section id="partners" className="relative py-14 sm:py-20">
@@ -45,17 +49,17 @@ export function LandingPartners() {
lead="remocn is free and MIT-licensed. Sponsors keep the registry growing and the renders fast."
/>
- {featured.length > 0 && (
+ {ordered.length > 0 && (
<FadeUp delay={0.1}>
<div
className={cn(
"mx-auto mt-12 grid max-w-3xl gap-4 sm:gap-6",
- featured.length === 1
+ ordered.length === 1
? "max-w-sm grid-cols-1"
: "grid-cols-2 lg:grid-cols-3",
)}
>
- {featured.map((s) => (
+ {ordered.map((s) => (
<SponsorLogoCard key={s.id} sponsor={s} />
))}
</div>
diff --git a/app/(home)/sponsors/components/sections/wall-of-love.tsx b/app/(home)/sponsors/components/sections/wall-of-love.tsx
index 549ecd72..a27fd3da 100644
--- a/app/(home)/sponsors/components/sections/wall-of-love.tsx
+++ b/app/(home)/sponsors/components/sections/wall-of-love.tsx
@@ -45,14 +45,12 @@ function SponsorLogoCard({
function SponsorGroup({
label,
- note,
items,
gridClassName,
aspectClassName,
maxH,
}: {
label: string;
- note?: string;
items: Sponsor[];
gridClassName: string;
aspectClassName: string;
@@ -60,11 +58,10 @@ function SponsorGroup({
}) {
if (items.length === 0) return null;
return (
- <div className="mb-12">
- <div className="mb-4 flex flex-wrap items-baseline gap-x-2 font-mono text-xs font-medium text-muted-foreground">
- <span>{label}</span>
- {note && <span className="text-muted-foreground/60">{note}</span>}
- </div>
+ <div className="mb-16">
+ <h3 className="mb-5 text-2xl font-semibold tracking-tight text-foreground">
+ {label}
+ </h3>
<div className={gridClassName}>
{items.map((s) => (
<div key={s.id} className={aspectClassName}>
@@ -113,17 +110,15 @@ export function WallOfLove() {
<FadeUp delay={0.1}>
<SponsorGroup
label="Legendary"
- note="By invitation only"
items={legendary}
- gridClassName="grid gap-6 md:grid-cols-2"
+ gridClassName="grid gap-6 md:grid-cols-2 lg:grid-cols-3"
aspectClassName="aspect-[3/2]"
- maxH="max-h-24"
+ maxH="max-h-20"
/>
<SponsorGroup
label="Featured"
- note="On the landing page"
items={featured}
- gridClassName="grid gap-6 md:grid-cols-2"
+ gridClassName="grid gap-6 md:grid-cols-2 lg:grid-cols-3"
aspectClassName="aspect-[3/2]"
maxH="max-h-20"
/>
diff --git a/config/sponsors.ts b/config/sponsors.ts
index d05f448a..7338821f 100644
--- a/config/sponsors.ts
+++ b/config/sponsors.ts
@@ -38,6 +38,18 @@ export const sponsors: Sponsor[] = (
customStyles: "opacity-90 max-w-full",
isPaste: false,
},
+ {
+ id: "launchfast",
+ name: "LaunchFast",
+ displayName: "LaunchFast",
+ logoUrl: "/sponsors/launchfast.png",
+ website:
+ "https://www.launchfa.st/?utm_source=remocn&utm_medium=sponsor&utm_campaign=remocn_sponsors_page",
+ tier: "featured",
+ customStyles: "opacity-100 grayscale-0 dark:[filter:invert(1)]",
+ isPaste: false,
+ layout: "row",
+ },
{
id: "21st",
name: "21st.dev",
diff --git a/public/sponsors/launchfast.png b/public/sponsors/launchfast.png
new file mode 100644
index 00000000..be4b77d6
Binary files /dev/null and b/public/sponsors/launchfast.png differ