diff --git a/src/components/Footer.tsx b/src/components/Footer.tsx
index a6a41bd..e3f9e48 100644
--- a/src/components/Footer.tsx
+++ b/src/components/Footer.tsx
@@ -1,4 +1,6 @@
-import { Github, Twitter, FileText } from "lucide-react";
+import { FileText, Github } from "lucide-react";
+
+import { LINKS } from "@/lib/links";
const columns = [
{
@@ -7,26 +9,21 @@ const columns = [
{ label: "Features", href: "#features" },
{ label: "How it works", href: "#how" },
{ label: "FAQ", href: "#faq" },
- { label: "Changelog", href: "#" },
+ { label: "Changelog", href: LINKS.changelog },
],
},
{
heading: "resources",
links: [
- { label: "Docs", href: "#" },
- { label: "npm package", href: "#" },
- { label: "GitHub", href: "#" },
- { label: "Report a bug", href: "#" },
+ { label: "Docs", href: LINKS.docs },
+ { label: "npm package", href: LINKS.npm },
+ { label: "GitHub", href: LINKS.github },
+ { label: "Report a bug", href: LINKS.issues },
],
},
{
heading: "connect",
- links: [
- { label: "Twitter / X", href: "#" },
- { label: "Discord", href: "#" },
- { label: "Blog", href: "#" },
- { label: "Contact", href: "#" },
- ],
+ links: [{ label: "Contact", href: LINKS.issues }],
},
];
@@ -52,21 +49,14 @@ export function Footer() {
-
-
-
diff --git a/src/components/Hero.tsx b/src/components/Hero.tsx
index e39d965..c4153d8 100644
--- a/src/components/Hero.tsx
+++ b/src/components/Hero.tsx
@@ -3,6 +3,7 @@ import { ArrowRight, BookOpen } from "lucide-react";
import { Button } from "@/components/ui/button";
import { InstallCommand } from "@/components/InstallCommand";
+import { LINKS } from "@/lib/links";
const reveal = {
hidden: { opacity: 0, y: 18 },
@@ -94,7 +95,7 @@ export function Hero() {
diff --git a/src/components/Nav.tsx b/src/components/Nav.tsx
index 5d94254..f03004c 100644
--- a/src/components/Nav.tsx
+++ b/src/components/Nav.tsx
@@ -3,6 +3,7 @@ import { motion } from "motion/react";
import { Github, Menu, X } from "lucide-react";
import { Button } from "@/components/ui/button";
+import { LINKS } from "@/lib/links";
import { cn } from "@/lib/utils";
const links = [
@@ -60,13 +61,13 @@ export function Nav() {
@@ -94,10 +95,10 @@ export function Nav() {
))}
diff --git a/src/lib/links.ts b/src/lib/links.ts
new file mode 100644
index 0000000..fe7c2d3
--- /dev/null
+++ b/src/lib/links.ts
@@ -0,0 +1,7 @@
+export const LINKS = {
+ github: "https://github.com/owenqwenstarsky/cassady",
+ npm: "https://www.npmjs.com/package/cassady",
+ docs: "https://docs.cassadu.sh",
+ issues: "https://github.com/owenqwenstarsky/cassady/issues",
+ changelog: "https://github.com/owenqwenstarsky/cassady/releases",
+} as const;