Skip to content

A one-of-a-kind resume builder that keeps your privacy in mind. Completely secure, customizable, portable, open-source and free forever. Try it out today!

fix: add link to docs in hero section

Amruth Pillai4411ee7d1dcd
diff --git a/apps/client/src/pages/home/sections/hero/index.tsx b/apps/client/src/pages/home/sections/hero/index.tsx
index d72d3962b..4bbbf7049 100644
--- a/apps/client/src/pages/home/sections/hero/index.tsx
+++ b/apps/client/src/pages/home/sections/hero/index.tsx
@@ -1,6 +1,7 @@
import { t } from "@lingui/macro";
import { ArrowRight } from "@phosphor-icons/react";
-import { Badge, Button } from "@reactive-resume/ui";
+import { Badge, buttonVariants } from "@reactive-resume/ui";
+import { cn } from "@reactive-resume/utils";
import { motion } from "framer-motion";
import Tilt from "react-parallax-tilt";
@@ -24,10 +25,15 @@ export const HeroSection = () => (
<div className="mt-24 flex items-center gap-x-4 sm:mt-32 lg:mt-0">
<Badge>{t`Version 4`}</Badge>
- <Button variant="link" className="space-x-2 text-left">
+ <a
+ target="_blank"
+ rel="noreferrer"
+ href="https://docs.rxresu.me/overview/features"
+ className={cn(buttonVariants({ variant: "link" }), "space-x-2 text-left")}
+ >
<p>{t`What's new in the latest version`}</p>
<ArrowRight />
- </Button>
+ </a>
</div>
<div className="mt-10 space-y-2">