Skip to content

smart-developer1791/astro-status-strip-coming-soon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

1 Commit
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

✦ Statuslane

Astro status-strip coming-soon page with an embeddable launch badge SVG

Astro TypeScript Tailwind CSS Sitemap Netlify License: MIT


A more reusable coming-soon page: truthful countdown, local launch conversion, and a badge endpoint you can embed in project docs.


✨ Highlights

  • Unique Status Strip visual direction instead of a poster, dashboard, or scenic hero
  • Truthful countdown with final window state in the last 24 hours before launch
  • Local launch time conversion based on the visitor timezone
  • Embeddable SVG badge at /launch-badge.svg
  • One-click Copy embed snippet action powered by TypeScript
  • Machine-readable launch metadata at /launch-status.json
  • Local preview via ?loop=1 and optional speed-up via ?loop=1&speed=120

🧭 Pages

  • / - status-strip coming-soon homepage
  • /launch-status.json - machine-readable launch status feed
  • /launch-badge.svg - embeddable launch badge SVG
  • /robots.txt - crawler rules generated by Astro

πŸ› οΈ Tech Stack

Layer Technology
Framework Astro 6
Language TypeScript
Styling Tailwind CSS 4
Motion / Logic Native browser updates + TypeScript status-strip logic
SEO @astrojs/sitemap, canonical metadata, JSON-LD, alternate feed links, robots.txt
Hosting Static deployment ready

πŸš€ Local Development

πŸ“¦ Install

npm install

▢️ Run dev server

npm run dev

πŸ—οΈ Build

npm run build

⏱️ Signal Logic

  • Production behavior: the countdown stops at zero
  • Scheduled becomes Final window in the last 24 hours before launch
  • ?loop=1 keeps the preview cycling locally for QA
  • ?loop=1&speed=120 speeds the preview clock up without affecting production behavior
  • The page also exposes a copy-ready embed snippet for the badge endpoint

πŸ“ Project Structure

astro-status-strip-coming-soon/
β”œβ”€β”€ public/
β”‚   β”œβ”€β”€ favicon.svg
β”‚   └── og-statuslane.svg
β”œβ”€β”€ src/
β”‚   β”œβ”€β”€ components/
β”‚   β”‚   β”œβ”€β”€ Footer.astro
β”‚   β”‚   β”œβ”€β”€ Header.astro
β”‚   β”‚   └── StatusStripHero.astro
β”‚   β”œβ”€β”€ data/
β”‚   β”‚   └── site.ts
β”‚   β”œβ”€β”€ layouts/
β”‚   β”‚   └── MainLayout.astro
β”‚   β”œβ”€β”€ pages/
β”‚   β”‚   β”œβ”€β”€ index.astro
β”‚   β”‚   β”œβ”€β”€ launch-badge.svg.ts
β”‚   β”‚   β”œβ”€β”€ launch-status.json.ts
β”‚   β”‚   └── robots.txt.ts
β”‚   β”œβ”€β”€ scripts/
β”‚   β”‚   └── statusStrip.ts
β”‚   └── styles/
β”‚       └── global.css
β”œβ”€β”€ LICENSE
β”œβ”€β”€ netlify.toml
β”œβ”€β”€ package.json
└── README.md

🌐 Deployment

🌐 Netlify (Recommended)

  1. Push your code to GitHub
  2. Connect repository to Netlify
  3. Build settings are auto-configured via netlify.toml
  4. Deploy

Deploy to Netlify


πŸ“„ License

MIT License. See LICENSE.

About

🏷️ Practical Astro coming-soon page with status-strip UI, embeddable launch badge SVG, local time conversion, and copy-ready embed snippet.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors