config/app.config.ts. This file controls your app’s branding, navigation structure, footer content, and deployment mode integration.
Overview
The app configuration provides a single source of truth for:- Application name, title, and description (used for metadata and SEO)
- Logo text and navigation links
- Header navigation structure
- Footer sections and external links
- Deployment mode integration
File Location
Basic Properties
Application Identity
The application name displayed throughout the UI. Used in the header, page titles, and metadata.
The primary title shown in browser tabs and search engine results. Can be overridden per page.
A concise description of your application. Used for SEO meta tags and appears in search results.
Example Customization
config/app.config.ts
Logo Configuration
The logo configuration controls the branding in your application header.config/app.config.ts
The text displayed as your logo in the header. Keep it short and memorable.
The destination URL when users click the logo. Typically
"/" for the homepage.Header Navigation
Define your main navigation links in the header configuration:config/app.config.ts
An array of navigation link objects. Each link must have
href and label properties.The destination path or URL for the navigation link.
The visible text for the navigation link.
Mode-Aware Navigation
The Starter Kit automatically filters navigation links based on the deployment mode. In project mode (the default), all links defined in your configuration are displayed.The Starter Kit operates exclusively in project mode. The mode-aware logic exists for compatibility with the upstream user-app but doesn’t affect standard deployments.
Footer Customization
The footer configuration organizes links into labeled sections:config/app.config.ts
Your company or product name displayed in the footer.
A short description or tagline displayed below the footer title.
An object where keys are section names and values are arrays of link objects.
The destination path or URL for the footer link.
The visible text for the footer link.
Set to
true to open the link in a new tab. Defaults to false for internal links.External Links
Mark external links to automatically open in a new tab with security attributes:Complete Example
Here’s a real-world configuration for an AI image generation SaaS:config/app.config.ts
Using Configuration in Components
The configuration is automatically used by built-in components. For custom components, import and use it directly:Where Configuration is Used
Root Layout
app/layout.tsx uses title and description for metadataHeader Component
components/project/header.tsx uses logo and header.linksFooter Component
components/project/footer.tsx uses all footer propertiesPage Metadata
Individual pages can override the default title and description
Best Practices
Keep Navigation Concise
Keep Navigation Concise
Organize Footer Logically
Organize Footer Logically
Use Descriptive Labels
Use Descriptive Labels
Navigation labels should be clear and specific. Avoid generic terms like “Resources” or “More” without context.
Mark External Links
Mark External Links
Always set
external: true for links to external websites. This improves user experience and security.Test on Mobile
Test on Mobile
Navigation automatically collapses to a hamburger menu on mobile. Test your configuration on small screens to ensure all links are accessible.
SEO Optimization
SEO Optimization
Your
title and description appear in search results. Keep the title under 60 characters and description under 160 characters for best display.Environment-Specific Configuration
For different environments (development, staging, production), use environment variables:config/app.config.ts

