Skip to content

Commit

Permalink
update strings
Browse files Browse the repository at this point in the history
  • Loading branch information
tomanagle committed Sep 17, 2024
1 parent 91d835a commit 6feeb48
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
4 changes: 4 additions & 0 deletions messages/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,9 @@
"follow": "Follow",
"support": "Support",
"about": "About"
},
"comingSoon": {
"title": "Coming Soon",
"subtitle": "We are working hard to bring you something amazing. Be the first to know when we launch!"
}
}
7 changes: 4 additions & 3 deletions src/app/_components/ComingSoon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,10 @@ import { Input } from "~/components/ui/input";
import { Rocket, Mail, User } from "lucide-react";
import { api } from "~/trpc/react";
import { SubmitButton } from "./form/SubmitButton";
import { useTranslations } from "next-intl";

export function ComingSoon() {
const t = useTranslations("comingSoon");
const [email, setEmail] = useState("");
const [name, setName] = useState("");

Expand All @@ -35,11 +37,10 @@ export function ComingSoon() {
<CardHeader className="space-y-1">
<CardTitle className="flex items-center justify-center text-center text-3xl font-bold">
<Rocket className="mr-2 h-6 w-6" />
Coming Soon
{t("title")}
</CardTitle>
<CardDescription className="text-center">
We are working hard to bring you something amazing. Be the first to
know when we launch!
{t("subtitle")}
</CardDescription>
</CardHeader>
<CardContent>
Expand Down

0 comments on commit 6feeb48

Please sign in to comment.