@@ -125,6 +93,55 @@ const Footer = () => {
export default Footer;
+const footerSections: { title: string; links: FooterLink[] }[] = [
+ {
+ title: "Products",
+ links: [
+ { text: "Nur/ui", url: "https://nurui.vercel.app", external: true },
+ ],
+ },
+ {
+ title: "Documentation",
+ links: [
+ {
+ text: "Introduction",
+ url: "https://nurui.vercel.app/docs/introduction",
+ },
+ {
+ text: "Documentation",
+ url: "https://nurui.vercel.app/docs/installation",
+ },
+ ],
+ },
+ {
+ title: "Components",
+ links: [
+ {
+ text: "Gradient Hero",
+ url: "https://nurui.vercel.app/docs/gradient-hero",
+ },
+ {
+ text: "Tech Cursor",
+ url: "https://nurui.vercel.app/docs/tech-cursor",
+ },
+ { text: "Banner", url: "https://nurui.vercel.app/docs/banner" },
+ ],
+ },
+
+ {
+ title: "Community",
+ links: [
+ {
+ text: "Linkedin",
+ url: "https://www.linkedin.com/in/md-afsar-mahmud",
+ external: true,
+ },
+ { text: "GitHub", url: "https://github.com/afsar-dev", external: true },
+ { text: "Twitter", url: "https://x.com/md_afsar_mahmud", external: true },
+ ],
+ },
+];
+
const navigation = [
{
id: 1,
diff --git a/src/components/layout/Navbar.tsx b/src/components/layout/Navbar.tsx
index aa66949..d968a69 100644
--- a/src/components/layout/Navbar.tsx
+++ b/src/components/layout/Navbar.tsx
@@ -6,7 +6,8 @@ import VaulDrawer from "@/components/ui/drawer/VaulDrawer";
import { navigationActive } from "@/utils/navigationActive";
import { usePathname } from "next/navigation";
import { useEffect, useState } from "react";
-import { FaDiscord, FaGithub } from "react-icons/fa";
+import { FaGithub } from "react-icons/fa";
+import { FaXTwitter } from "react-icons/fa6";
import ThemeSwitcher from "../common/ThemeSwitcher";
const Navbar = () => {
@@ -57,9 +58,9 @@ const Navbar = () => {
+
}
/>
{
@@ -47,9 +47,9 @@ const ComponentsNavbar = () => {
+
}
/>
{
- return pathName === href;
-};
+const FOOTER_SECTIONS = [
+ {
+ title: "Products",
+ items: [
+ { label: "Nurui", url: "https://nurui.vercel.app", external: true },
+ ],
+ },
+ {
+ title: "Company",
+ items: [
+ { label: "About", url: "https://nurui.vercel.app/about-us" },
+ { label: "Playground", url: "https://nurui.vercel.app/playground" },
+ ],
+ },
+ {
+ title: "Explore",
+ items: [
+ {
+ label: "Introduction",
+ url: "https://nurui.vercel.app/docs/introduction",
+ },
+ {
+ label: "Documentation",
+ url: "https://nurui.vercel.app/docs/installation",
+ },
+ { label: "Components", url: "https://nurui.vercel.app/docs/components" },
+ ],
+ },
+];
+
+const navigation = [
+ { id: 1, name: "Home", url: "/" },
+ { id: 2, name: "Docs", url: "/docs/installation" },
+ { id: 3, name: "Components", url: "/docs/components" },
+ { id: 4, name: "About", url: "/about-us" },
+ { id: 5, name: "Playground", url: "/playground" },
+];
const RocketFooter = () => {
const pathName = usePathname();
return (
-
+
-
+ {/* Bottom Navigation */}
-
- {navigation.map((data, i) => (
+
+ {navigation.map((item, i) => (
- {data?.name}
+ {item.name}
))}
@@ -134,11 +142,3 @@ const RocketFooter = () => {
};
export default RocketFooter;
-
-const navigation = [
- { id: 1, name: "Home", url: "/" },
- { id: 2, name: "Docs", url: "/docs/installation" },
- { id: 3, name: "Components", url: "/docs/components" },
- { id: 4, name: "About", url: "/about-us" },
- { id: 5, name: "Playground", url: "/playground" },
-];
diff --git a/src/types/custom.d.ts b/src/types/custom.d.ts
index c2cc634..dfb9bbc 100644
--- a/src/types/custom.d.ts
+++ b/src/types/custom.d.ts
@@ -7,4 +7,7 @@ declare module "*.tsx?raw" {
declare module "*.ts?raw" {
const content: string;
export default content;
-}
\ No newline at end of file
+}
+
+declare module "*.css";
+declare module "*.scss";