Skip to content
tracksensefmPublic

About

The main marketing website for TrackSense

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

TrackSense Website

Marketing and support website for TrackSense, an iOS app that turns Apple Music into a full listening experience: a redesigned player, real listening stats, and shared sessions.

Live site: https://tracksense.fm

Tech stack

  • Astro 5 with static output (output: 'static')
  • React 19 islands for the interactive sections
  • TypeScript (strict, with noUnusedLocals and noUnusedParameters)
  • Tailwind CSS v4 via the Vite plugin
  • Firebase Hosting as the deployment target

There is no backend. All content is hardcoded in the pages.

Pages

Routing is file-based. Each file in src/pages/ is a route.

Route File Description
/ index.astro Landing page (hero, pillars, features, FAQ, CTA)
/features features.astro Feature overview
/stats stats.astro Listening stats deep dive
/changelog changelog.astro App release history
/privacy privacy.astro Privacy policy
/support support.astro Support and common questions
/feedback feedback.astro Feedback form

Getting started

npm install
npm run dev

The dev server runs at http://localhost:4321.

Scripts

Command What it does
npm run dev Start the Astro dev server
npm run build Build static HTML to dist/ (does not deploy)
npm run deploy Build, then deploy to Firebase Hosting
npm run preview Preview the production build locally
npm run lint Run ESLint

Project structure

src/
  pages/          # One file per route
  layouts/
    Base.astro    # Shared <head>: title, description, Open Graph, canonical URL, JSON-LD
  components/
    landing/      # Home page sections (Hero, Pillars, Features, FAQ, CTA, Carousel)
    NavBar.astro
    Footer.astro
    ...
  views/
    Features.tsx  # Interactive features section (React island)
  hooks/
    useInView.ts  # IntersectionObserver wrapper for scroll-triggered animations
  assets/         # Logos, App Store badge, screenshots
  index.css       # Tailwind entry, brand utility classes, keyframe animations
public/           # Static files served as-is (favicons, og-image, sitemap, robots.txt)

Conventions

  • Prefer .astro components, which ship no JavaScript. Use .tsx only when a section needs client-side interactivity, and hydrate it with a client: directive.
  • The primary brand color is #31326F, exposed as .ts-purple and .ts-bg-purple.
  • Content is capped at 920px wide with .safe-area or max-w-[920px].

Deployment

The site is hosted on Firebase Hosting, serving dist/. Make sure you're signed in (firebase login), then:

npm run deploy

About

The main marketing website for TrackSense

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages