Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

1 Commit

Folders and files

Repository files navigation

Northstar

Northstar is a premium React template for teams that want to turn strategy into visible, consistent progress. It includes a polished homepage, reusable secondary pages, responsive layouts, accessible interactions, and light/dark themes.

Requirements

  • Node.js 18+
  • npm 9+

Run locally

npm install
npm run dev

Create a production build with npm run build. Run npm run lint for the Oxlint check.

Pages

  • / - Product-led homepage
  • /about - Brand story and principles
  • /features - Feature overview with product metrics
  • /pricing - Pricing plans and comparison
  • /contact - Accessible contact form
  • /blog - Editorial journal landing page

The routes use a lightweight pathname router and work with Vite's history fallback during development. Configure your static host to serve index.html for direct production route requests.

Project structure

src/
  components/       Shared navigation, footer, and theme controls
  data/             Brand, feature, pricing, and journal content
  pages/            Secondary page views and page metadata
  App.jsx           Homepage and route entry point
  App.css           Design system and responsive page styles
  index.css         Global reset and document defaults

Customization

  • Change the brand, navigation, social links, plans, feature data, and journal entries in src/data/siteConfig.js.
  • Update colors, spacing, typography, and responsive breakpoints through the CSS variables and rules in src/App.css.
  • Replace the Unsplash product image and avatar URLs in src/App.jsx with local assets or your own optimized image CDN URLs.
  • Update page titles and descriptions in src/pages/SecondaryPages.jsx and the default metadata in index.html.
  • Add a new page component in src/pages/SecondaryPages.jsx, then map its pathname in SecondaryPage and pageMeta.

Theme system

The theme toggle stores the user's choice in localStorage under northstar-theme and applies a data-theme="dark" attribute to the document root. Extend the dark theme selectors in src/App.css when adding new surfaces.

Deployment

Run npm run build and deploy the generated dist/ directory to Netlify, Vercel, Cloudflare Pages, or GitHub Pages. Enable SPA fallback to index.html so direct visits to /about, /features, /pricing, /contact, and /blog resolve correctly.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages