mirror of
https://github.com/lukevella/rallly.git
synced 2025-07-30 14:38:57 +02:00
💄 Update landing page (#1648)
This commit is contained in:
parent
6b413a8509
commit
d15cbd32d4
6 changed files with 17 additions and 17 deletions
|
@ -15,7 +15,6 @@
|
||||||
"notFoundTitle": "404 not found",
|
"notFoundTitle": "404 not found",
|
||||||
"notFoundDescription": "We couldn't find the page you're looking for.",
|
"notFoundDescription": "We couldn't find the page you're looking for.",
|
||||||
"goToHome": "Go to home",
|
"goToHome": "Go to home",
|
||||||
"goToApp": "Go to app",
|
|
||||||
"pricing": "Pricing",
|
"pricing": "Pricing",
|
||||||
"bestDoodleAlternative": "Best Doodle Alternative",
|
"bestDoodleAlternative": "Best Doodle Alternative",
|
||||||
"freeSchedulingPoll": "Free Scheduling Poll",
|
"freeSchedulingPoll": "Free Scheduling Poll",
|
||||||
|
@ -25,5 +24,6 @@
|
||||||
"howItWorks": "How it Works",
|
"howItWorks": "How it Works",
|
||||||
"status": "Status",
|
"status": "Status",
|
||||||
"when2MeetAlternative": "When2Meet Alternative",
|
"when2MeetAlternative": "When2Meet Alternative",
|
||||||
"meetingPoll": "Meeting Poll"
|
"meetingPoll": "Meeting Poll",
|
||||||
|
"signUp": "Sign Up"
|
||||||
}
|
}
|
||||||
|
|
|
@ -2,6 +2,7 @@ import "tailwindcss/tailwind.css";
|
||||||
import "../../style.css";
|
import "../../style.css";
|
||||||
|
|
||||||
import languages from "@rallly/languages";
|
import languages from "@rallly/languages";
|
||||||
|
import { Button } from "@rallly/ui/button";
|
||||||
import {
|
import {
|
||||||
DropdownMenu,
|
DropdownMenu,
|
||||||
DropdownMenuContent,
|
DropdownMenuContent,
|
||||||
|
@ -10,7 +11,7 @@ import {
|
||||||
DropdownMenuTrigger,
|
DropdownMenuTrigger,
|
||||||
} from "@rallly/ui/dropdown-menu";
|
} from "@rallly/ui/dropdown-menu";
|
||||||
import { Analytics } from "@vercel/analytics/react";
|
import { Analytics } from "@vercel/analytics/react";
|
||||||
import { ChevronRightIcon, MenuIcon } from "lucide-react";
|
import { MenuIcon } from "lucide-react";
|
||||||
import { domAnimation, LazyMotion } from "motion/react";
|
import { domAnimation, LazyMotion } from "motion/react";
|
||||||
import type { Viewport } from "next";
|
import type { Viewport } from "next";
|
||||||
import Image from "next/image";
|
import Image from "next/image";
|
||||||
|
@ -84,15 +85,15 @@ export default async function Root({
|
||||||
>
|
>
|
||||||
<Trans t={t} i18nKey="login" defaults="Login" />
|
<Trans t={t} i18nKey="login" defaults="Login" />
|
||||||
</Link>
|
</Link>
|
||||||
<Link
|
<Button
|
||||||
href={linkToApp()}
|
asChild
|
||||||
className="bg-primary hover:bg-primary-500 active:bg-primary-700 group inline-flex items-center gap-1 rounded-full py-1.5 pl-4 pr-3 text-sm font-medium text-white shadow-sm transition-transform"
|
variant="primary"
|
||||||
|
className="rounded-full px-3"
|
||||||
>
|
>
|
||||||
<span>
|
<Link href={linkToApp("/register")}>
|
||||||
<Trans t={t} i18nKey="goToApp" defaults="Go to app" />
|
<Trans t={t} i18nKey="signUp" defaults="Sign up" />
|
||||||
</span>
|
</Link>
|
||||||
<ChevronRightIcon className="inline-block size-4 transition-all group-active:translate-x-1" />
|
</Button>
|
||||||
</Link>
|
|
||||||
<div className="flex items-center justify-center lg:hidden">
|
<div className="flex items-center justify-center lg:hidden">
|
||||||
<DropdownMenu>
|
<DropdownMenu>
|
||||||
<DropdownMenuTrigger>
|
<DropdownMenuTrigger>
|
||||||
|
|
|
@ -16,8 +16,8 @@ export default async function Page({ params }: { params: { locale: string } }) {
|
||||||
defaultValue: "Streamline your scheduling process and save time",
|
defaultValue: "Streamline your scheduling process and save time",
|
||||||
ns: "home",
|
ns: "home",
|
||||||
})}
|
})}
|
||||||
callToAction={t("getStarted", {
|
callToAction={t("createAPoll", {
|
||||||
ns: "common",
|
ns: "home",
|
||||||
})}
|
})}
|
||||||
/>
|
/>
|
||||||
<Bonus t={t} />
|
<Bonus t={t} />
|
||||||
|
|
|
@ -111,7 +111,7 @@ export const MarketingHero = ({
|
||||||
<div className="mt-8 flex flex-col items-center justify-center gap-4">
|
<div className="mt-8 flex flex-col items-center justify-center gap-4">
|
||||||
<Button
|
<Button
|
||||||
size="lg"
|
size="lg"
|
||||||
className="group rounded-full hover:shadow-md active:shadow-sm"
|
className="group rounded-full px-5 hover:shadow-md active:shadow-sm"
|
||||||
variant="primary"
|
variant="primary"
|
||||||
asChild
|
asChild
|
||||||
>
|
>
|
||||||
|
@ -122,7 +122,7 @@ export const MarketingHero = ({
|
||||||
</Button>
|
</Button>
|
||||||
<p
|
<p
|
||||||
className={cn(
|
className={cn(
|
||||||
"whitespace-nowrap text-center text-sm text-gray-600",
|
"whitespace-nowrap text-center text-xs text-gray-600",
|
||||||
handwritten.className,
|
handwritten.className,
|
||||||
"decoration underline decoration-gray-300 decoration-2 underline-offset-8",
|
"decoration underline decoration-gray-300 decoration-2 underline-offset-8",
|
||||||
"skew-x-[-10deg]",
|
"skew-x-[-10deg]",
|
||||||
|
|
|
@ -290,7 +290,6 @@
|
||||||
"subscriptionStatusCanceled": "Canceled",
|
"subscriptionStatusCanceled": "Canceled",
|
||||||
"subscriptionStatusUnpaid": "Unpaid",
|
"subscriptionStatusUnpaid": "Unpaid",
|
||||||
"subscriptionStatusUnknown": "Unknown",
|
"subscriptionStatusUnknown": "Unknown",
|
||||||
"paymentMethodUnknown": "Unknown",
|
|
||||||
"subscriptionCancelOn": "Cancels {date}",
|
"subscriptionCancelOn": "Cancels {date}",
|
||||||
"subscriptionStatusPaused": "Paused",
|
"subscriptionStatusPaused": "Paused",
|
||||||
"subscriptionStatusIncomplete": "Incomplete",
|
"subscriptionStatusIncomplete": "Incomplete",
|
||||||
|
|
|
@ -16,7 +16,7 @@ const buttonVariants = cva(
|
||||||
variants: {
|
variants: {
|
||||||
variant: {
|
variant: {
|
||||||
primary:
|
primary:
|
||||||
"focus:ring-offset-1 border-primary-700 bg-primary hover:bg-primary-700 disabled:bg-gray-400 active:bg-primary-800 disabled:border-transparent text-primary-foreground shadow-sm",
|
"focus:ring-offset-1 border-primary-700 bg-primary hover:bg-primary-500 disabled:bg-gray-400 disabled:border-transparent text-primary-foreground shadow-sm",
|
||||||
destructive:
|
destructive:
|
||||||
"focus:ring-offset-1 bg-destructive shadow-sm text-destructive-foreground active:bg-destructive border-destructive hover:bg-destructive/90",
|
"focus:ring-offset-1 bg-destructive shadow-sm text-destructive-foreground active:bg-destructive border-destructive hover:bg-destructive/90",
|
||||||
default:
|
default:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue