Skip to content

Commit

Permalink
fix: mobile integrations grid and pricing switch
Browse files Browse the repository at this point in the history
  • Loading branch information
marcklingen committed Nov 17, 2024
1 parent c57ad2c commit ae0241c
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 4 deletions.
6 changes: 4 additions & 2 deletions components/home/IntegrationsGrid.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ const integrations: IntegrationTileProps[] = [
function IntegrationTile({ title, href, icon }: IntegrationTileProps) {
return (
<Link href={href} className="group relative aspect-square w-full">
<div className="flex h-full flex-col items-center justify-center gap-2 p-4">
<div className="flex h-full flex-col items-center justify-center gap-y-0.5 md:gap-2 p-1 md:p-4">
<div className="size-12 flex items-center justify-center perspective-1000">
<div className="relative w-full h-full transition-all duration-500 [transform-style:preserve-3d] group-hover:[transform:rotateY(180deg)]">
{/* Front */}
Expand All @@ -212,7 +212,9 @@ function IntegrationTile({ title, href, icon }: IntegrationTileProps) {
</div>
</div>
</div>
<span className="text-center text-sm font-medium">{title}</span>
<span className="text-center text-xs md:text-md font-medium">
{title}
</span>
</div>
</Link>
);
Expand Down
14 changes: 12 additions & 2 deletions components/home/Pricing.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,24 @@ function classNames(...classes) {

const deploymentOptions = {
cloud: {
switch: "Langfuse Cloud (we host)",
switch: (
<span className="flex flex-row items-center gap-x-1">
Langfuse Cloud
<span className="hidden md:block"> (we host)</span>
</span>
),
title: "Pricing",
subtitle:
"Get started on the Hobby plan for free. No credit card required.",
href: "/pricing",
},
selfHosted: {
switch: "Self-hosted (you host)",
switch: (
<span className="flex flex-row items-center gap-x-1">
Self-hosted
<span className="hidden md:block"> (you host)</span>
</span>
),
title: "Pricing",
subtitle:
"Deploy Langfuse OSS today. Upgrade to Pro or Enterprise at any time.",
Expand Down

0 comments on commit ae0241c

Please sign in to comment.