Site

Configure your site's basic information and appearance

The site configuration file defines core settings for your NestSaaS application, including site name, URLs, metadata, and links.

Location

/config/site.ts

Key Components

Site Configuration

export const siteConfig: SiteConfig = {
  name: "NestSaaS",
  domainName: domainName,
  url: site_url,
  title: "NestSaaS - Your Next SaaS Platform",
  description: "Your all-in-one solution for directories, blogs, news, and more...",
  keywords: ["Next.js", "React", "Prisma", "Neon", "Auth.js", ...],
  creator: "ShawnHacks",
  ogImage: `${site_url}/og.png`,
  links: {
    twitter: "https://twitter.com/nestsaas",
    github: "https://github.com/nestsaas/nestsaas",
  },
  mailSupport: "support@nestsaas.com",
}

In the siteMainNav configuration, you can add your spaces or other customized routes.

export const siteMainNav: NavItem[] = [
  {
    title: "Resource",
    href: "/resource",
  },
  // Additional navigation items...
]
export const footerColumns: FooterColumn[] = [
  {
    title: "Product",
    links: [
      { label: "Features", href: "#" },
      // Additional links...
    ],
  },
  // Additional columns...
]
 
export const bottomLinks: FooterLink[] = [
  { label: "Privacy Policy", href: "/privacy" },
  { label: "Terms of Service", href: "/terms" },
]

Usage

The navigation configuration (siteMainNav, footerColumns, and bottomLinks) is primarily implemented in the site header and footer components located at components/layouts/site-header.tsx and components/layouts/site-footer.tsx.

The siteConfig object serves as a central configuration that's utilized throughout the application for consistent branding, metadata, and site-wide settings.

On this page