Skip to content

michaelgreen06/wetbulb2

Repository files navigation

This is a Next.js project bootstrapped with create-next-app.

Getting Started

First, run the development server:

npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev

Open http://localhost:3000 with your browser to see the result.

You can start editing the page by modifying app/page.tsx. The page auto-updates as you edit the file.

This project uses next/font to automatically optimize and load Geist, a new font family for Vercel.

Learn More

To learn more about Next.js, take a look at the following resources:

You can check out the Next.js GitHub repository - your feedback and contributions are welcome!

Sitemap Generation

This project uses a static sitemap generation system that creates XML sitemap files which are committed to the repository. Since generating sitemaps for all locations is time-consuming and the location data rarely changes, this approach allows for efficient builds while ensuring search engines can discover all pages.

Sitemap Files

The following sitemap files are included in the repository:

  • public/sitemap.xml - The main sitemap index that references all other sitemaps
  • public/sitemaps/sitemap-main.xml - Contains URLs for the main pages of the site
  • public/sitemaps/sitemap-categories.xml - Contains URLs for country and state/province pages
  • public/sitemaps/sitemap-country-*.xml - Contains URLs for city pages, one file per country

Updating Sitemaps

If you add new locations or need to update the sitemaps for any reason, run:

npm run generate-sitemaps

This will create all sitemap files in the public/sitemaps directory. After generation, commit these files to the repository so they'll be included in the next deployment.

Deploy on Vercel

The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.

Check out our Next.js deployment documentation for more details.

About

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors