Skip to content

Commit c783194

Browse files
committed
fix: details from design review
slow marquee, spacing below last element, copy adjustments, add mailto button to markdown page, rename markdown page to /use-cases, drop hero opacity, fix og image path, reduce animation speed
1 parent dc01275 commit c783194

File tree

5 files changed

+78
-76
lines changed

5 files changed

+78
-76
lines changed

app/[locale]/enterprise/page.tsx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ const Page = async ({ params }: { params: Promise<{ locale: Lang }> }) => {
261261
]
262262

263263
return (
264-
<div className="space-y-12 md:space-y-20">
264+
<div className="mb-12 space-y-12 md:mb-20 md:space-y-20">
265265
<HubHero
266266
header={t("page-enterprise-hero-title")}
267267
description={t("page-enterprise-hero-subtitle")}
@@ -278,7 +278,7 @@ const Page = async ({ params }: { params: Promise<{ locale: Lang }> }) => {
278278
},
279279
},
280280
]}
281-
className="[&_[data-label='breadcrumb']]:xl:text-body-light [&_[data-label='hero-content']]:xl:bg-accent-a [&_[data-label='hero-content']]:xl:text-background xl:[&_a:hover]:bg-accent-a-hover xl:[&_a:hover]:!text-background [&_a]:font-bold [&_a]:xl:bg-background [&_a]:xl:text-accent-a [&_img]:dark:invert"
281+
className="[&_[data-label='breadcrumb']]:xl:text-body-light [&_[data-label='hero-content']]:xl:bg-accent-a [&_[data-label='hero-content']]:xl:text-background xl:[&_a:hover]:bg-accent-a-hover xl:[&_a:hover]:!text-background [&_a]:font-bold [&_a]:xl:bg-background [&_a]:xl:text-accent-a [&_img]:opacity-75 [&_img]:dark:invert"
282282
/>
283283

284284
<MainArticle className="space-y-12 px-4 md:space-y-20 md:px-10">
@@ -332,7 +332,7 @@ const Page = async ({ params }: { params: Promise<{ locale: Lang }> }) => {
332332

333333
<section
334334
id="ecosystem"
335-
className="flex w-full flex-col items-center gap-y-12 rounded-t-[4rem] bg-radial-b px-4 py-10 md:py-12"
335+
className="rounded-t-4xp flex w-full flex-col items-center gap-y-12 bg-radial-b px-4 py-10 md:rounded-t-[4rem] md:py-12"
336336
>
337337
<div className="max-w-prose space-y-4">
338338
<h2 className="max-w-prose text-center text-4xl font-black md:text-5xl">
@@ -359,7 +359,7 @@ const Page = async ({ params }: { params: Promise<{ locale: Lang }> }) => {
359359
{Array.from({ length: 3 }).map((_, idx) => (
360360
<div
361361
key={idx}
362-
className="flex min-w-fit animate-scroll-left-120 flex-nowrap items-center"
362+
className="flex min-w-fit animate-scroll-left-240 flex-nowrap items-center"
363363
>
364364
{players.map(({ name, Logo, className }) => (
365365
<div
@@ -400,7 +400,7 @@ const Page = async ({ params }: { params: Promise<{ locale: Lang }> }) => {
400400
<CasesColumn cases={cases.slice(2, 4)} />
401401
<CasesColumn cases={cases.slice(4, 6)} />
402402
</div>
403-
<ButtonLink href="/enterprise/uses" variant="outline">
403+
<ButtonLink href="/enterprise/use-cases" variant="outline">
404404
{t("page-enterprise-ecosystem-cta")}
405405
</ButtonLink>
406406
</section>
@@ -465,7 +465,7 @@ export async function generateMetadata({
465465
slug: ["enterprise"],
466466
title: t("page-enterprise-hero-title"),
467467
description: t("page-enterprise-metadata-description"),
468-
image: "/images/heroes/enterprise-hero-white.jpg",
468+
image: "/images/heroes/enterprise-hero-white.png",
469469
})
470470
}
471471

0 commit comments

Comments
 (0)