Skip to content

Commit

Permalink
build(deploy): change netlify configuration for static export
Browse files Browse the repository at this point in the history
  • Loading branch information
josephgodwinkimani committed Dec 22, 2023
1 parent 90ae344 commit c6355ec
Show file tree
Hide file tree
Showing 4 changed files with 56 additions and 5 deletions.
7 changes: 4 additions & 3 deletions netlify.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
[[plugins]]
package = "@netlify/plugin-nextjs"

[build]
command = "npm run build"
publish = ".next"
[[plugins]]
package = "@netlify/plugin-nextjs"
publish = ".next"
10 changes: 8 additions & 2 deletions public/robots.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# https://www.robotstxt.org/robotstxt.html
# *
User-agent: *
Disallow:
Allow: /

# Host
Host: http://localhost:3001

# Sitemaps
Sitemap: http://localhost:3001/sitemap.xml
40 changes: 40 additions & 0 deletions public/sitemap-0.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:news="http://www.google.com/schemas/sitemap-news/0.9" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:mobile="http://www.google.com/schemas/sitemap-mobile/1.0" xmlns:image="http://www.google.com/schemas/sitemap-image/1.1" xmlns:video="http://www.google.com/schemas/sitemap-video/1.1">
<url><loc>http://localhost:3001/en/dashboard</loc><lastmod>2023-12-22T12:46:51.505Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority><xhtml:link rel="alternate" hreflang="es" href="http://localhost:3001/es/en/dashboard"/><xhtml:link rel="alternate" hreflang="fr" href="http://localhost:3001/fr/en/dashboard"/></url>
<url><loc>http://localhost:3001/fr/dashboard</loc><lastmod>2023-12-22T12:46:51.505Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority><xhtml:link rel="alternate" hreflang="es" href="http://localhost:3001/es/fr/dashboard"/><xhtml:link rel="alternate" hreflang="fr" href="http://localhost:3001/fr/fr/dashboard"/></url>
<url><loc>http://localhost:3001/es/dashboard</loc><lastmod>2023-12-22T12:46:51.505Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority><xhtml:link rel="alternate" hreflang="es" href="http://localhost:3001/es/es/dashboard"/><xhtml:link rel="alternate" hreflang="fr" href="http://localhost:3001/fr/es/dashboard"/></url>
<url><loc>http://localhost:3001</loc><lastmod>2023-12-22T12:46:51.505Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority><xhtml:link rel="alternate" hreflang="es" href="http://localhost:3001/es"/><xhtml:link rel="alternate" hreflang="fr" href="http://localhost:3001/fr"/></url>
<url><loc>http://localhost:3001/en</loc><lastmod>2023-12-22T12:46:51.505Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority><xhtml:link rel="alternate" hreflang="es" href="http://localhost:3001/es/en"/><xhtml:link rel="alternate" hreflang="fr" href="http://localhost:3001/fr/en"/></url>
<url><loc>http://localhost:3001/fr</loc><lastmod>2023-12-22T12:46:51.505Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority><xhtml:link rel="alternate" hreflang="es" href="http://localhost:3001/es/fr"/><xhtml:link rel="alternate" hreflang="fr" href="http://localhost:3001/fr/fr"/></url>
<url><loc>http://localhost:3001/es</loc><lastmod>2023-12-22T12:46:51.505Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority><xhtml:link rel="alternate" hreflang="es" href="http://localhost:3001/es/es"/><xhtml:link rel="alternate" hreflang="fr" href="http://localhost:3001/fr/es"/></url>
<url><loc>http://localhost:3001/en/dashboard/users/1</loc><lastmod>2023-12-22T12:46:51.505Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority><xhtml:link rel="alternate" hreflang="es" href="http://localhost:3001/es/en/dashboard/users/1"/><xhtml:link rel="alternate" hreflang="fr" href="http://localhost:3001/fr/en/dashboard/users/1"/></url>
<url><loc>http://localhost:3001/en/dashboard/users/2</loc><lastmod>2023-12-22T12:46:51.505Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority><xhtml:link rel="alternate" hreflang="es" href="http://localhost:3001/es/en/dashboard/users/2"/><xhtml:link rel="alternate" hreflang="fr" href="http://localhost:3001/fr/en/dashboard/users/2"/></url>
<url><loc>http://localhost:3001/en/dashboard/users/3</loc><lastmod>2023-12-22T12:46:51.505Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority><xhtml:link rel="alternate" hreflang="es" href="http://localhost:3001/es/en/dashboard/users/3"/><xhtml:link rel="alternate" hreflang="fr" href="http://localhost:3001/fr/en/dashboard/users/3"/></url>
<url><loc>http://localhost:3001/en/dashboard/users/4</loc><lastmod>2023-12-22T12:46:51.505Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority><xhtml:link rel="alternate" hreflang="es" href="http://localhost:3001/es/en/dashboard/users/4"/><xhtml:link rel="alternate" hreflang="fr" href="http://localhost:3001/fr/en/dashboard/users/4"/></url>
<url><loc>http://localhost:3001/en/dashboard/users/5</loc><lastmod>2023-12-22T12:46:51.505Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority><xhtml:link rel="alternate" hreflang="es" href="http://localhost:3001/es/en/dashboard/users/5"/><xhtml:link rel="alternate" hreflang="fr" href="http://localhost:3001/fr/en/dashboard/users/5"/></url>
<url><loc>http://localhost:3001/en/dashboard/users/6</loc><lastmod>2023-12-22T12:46:51.505Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority><xhtml:link rel="alternate" hreflang="es" href="http://localhost:3001/es/en/dashboard/users/6"/><xhtml:link rel="alternate" hreflang="fr" href="http://localhost:3001/fr/en/dashboard/users/6"/></url>
<url><loc>http://localhost:3001/en/dashboard/users/7</loc><lastmod>2023-12-22T12:46:51.505Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority><xhtml:link rel="alternate" hreflang="es" href="http://localhost:3001/es/en/dashboard/users/7"/><xhtml:link rel="alternate" hreflang="fr" href="http://localhost:3001/fr/en/dashboard/users/7"/></url>
<url><loc>http://localhost:3001/en/dashboard/users/8</loc><lastmod>2023-12-22T12:46:51.505Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority><xhtml:link rel="alternate" hreflang="es" href="http://localhost:3001/es/en/dashboard/users/8"/><xhtml:link rel="alternate" hreflang="fr" href="http://localhost:3001/fr/en/dashboard/users/8"/></url>
<url><loc>http://localhost:3001/en/dashboard/users/9</loc><lastmod>2023-12-22T12:46:51.505Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority><xhtml:link rel="alternate" hreflang="es" href="http://localhost:3001/es/en/dashboard/users/9"/><xhtml:link rel="alternate" hreflang="fr" href="http://localhost:3001/fr/en/dashboard/users/9"/></url>
<url><loc>http://localhost:3001/en/dashboard/users/10</loc><lastmod>2023-12-22T12:46:51.505Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority><xhtml:link rel="alternate" hreflang="es" href="http://localhost:3001/es/en/dashboard/users/10"/><xhtml:link rel="alternate" hreflang="fr" href="http://localhost:3001/fr/en/dashboard/users/10"/></url>
<url><loc>http://localhost:3001/fr/dashboard/users/1</loc><lastmod>2023-12-22T12:46:51.505Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority><xhtml:link rel="alternate" hreflang="es" href="http://localhost:3001/es/fr/dashboard/users/1"/><xhtml:link rel="alternate" hreflang="fr" href="http://localhost:3001/fr/fr/dashboard/users/1"/></url>
<url><loc>http://localhost:3001/fr/dashboard/users/2</loc><lastmod>2023-12-22T12:46:51.505Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority><xhtml:link rel="alternate" hreflang="es" href="http://localhost:3001/es/fr/dashboard/users/2"/><xhtml:link rel="alternate" hreflang="fr" href="http://localhost:3001/fr/fr/dashboard/users/2"/></url>
<url><loc>http://localhost:3001/fr/dashboard/users/3</loc><lastmod>2023-12-22T12:46:51.505Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority><xhtml:link rel="alternate" hreflang="es" href="http://localhost:3001/es/fr/dashboard/users/3"/><xhtml:link rel="alternate" hreflang="fr" href="http://localhost:3001/fr/fr/dashboard/users/3"/></url>
<url><loc>http://localhost:3001/fr/dashboard/users/4</loc><lastmod>2023-12-22T12:46:51.505Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority><xhtml:link rel="alternate" hreflang="es" href="http://localhost:3001/es/fr/dashboard/users/4"/><xhtml:link rel="alternate" hreflang="fr" href="http://localhost:3001/fr/fr/dashboard/users/4"/></url>
<url><loc>http://localhost:3001/fr/dashboard/users/5</loc><lastmod>2023-12-22T12:46:51.505Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority><xhtml:link rel="alternate" hreflang="es" href="http://localhost:3001/es/fr/dashboard/users/5"/><xhtml:link rel="alternate" hreflang="fr" href="http://localhost:3001/fr/fr/dashboard/users/5"/></url>
<url><loc>http://localhost:3001/fr/dashboard/users/6</loc><lastmod>2023-12-22T12:46:51.505Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority><xhtml:link rel="alternate" hreflang="es" href="http://localhost:3001/es/fr/dashboard/users/6"/><xhtml:link rel="alternate" hreflang="fr" href="http://localhost:3001/fr/fr/dashboard/users/6"/></url>
<url><loc>http://localhost:3001/fr/dashboard/users/7</loc><lastmod>2023-12-22T12:46:51.505Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority><xhtml:link rel="alternate" hreflang="es" href="http://localhost:3001/es/fr/dashboard/users/7"/><xhtml:link rel="alternate" hreflang="fr" href="http://localhost:3001/fr/fr/dashboard/users/7"/></url>
<url><loc>http://localhost:3001/fr/dashboard/users/8</loc><lastmod>2023-12-22T12:46:51.505Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority><xhtml:link rel="alternate" hreflang="es" href="http://localhost:3001/es/fr/dashboard/users/8"/><xhtml:link rel="alternate" hreflang="fr" href="http://localhost:3001/fr/fr/dashboard/users/8"/></url>
<url><loc>http://localhost:3001/fr/dashboard/users/9</loc><lastmod>2023-12-22T12:46:51.505Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority><xhtml:link rel="alternate" hreflang="es" href="http://localhost:3001/es/fr/dashboard/users/9"/><xhtml:link rel="alternate" hreflang="fr" href="http://localhost:3001/fr/fr/dashboard/users/9"/></url>
<url><loc>http://localhost:3001/fr/dashboard/users/10</loc><lastmod>2023-12-22T12:46:51.505Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority><xhtml:link rel="alternate" hreflang="es" href="http://localhost:3001/es/fr/dashboard/users/10"/><xhtml:link rel="alternate" hreflang="fr" href="http://localhost:3001/fr/fr/dashboard/users/10"/></url>
<url><loc>http://localhost:3001/es/dashboard/users/1</loc><lastmod>2023-12-22T12:46:51.505Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority><xhtml:link rel="alternate" hreflang="es" href="http://localhost:3001/es/es/dashboard/users/1"/><xhtml:link rel="alternate" hreflang="fr" href="http://localhost:3001/fr/es/dashboard/users/1"/></url>
<url><loc>http://localhost:3001/es/dashboard/users/2</loc><lastmod>2023-12-22T12:46:51.505Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority><xhtml:link rel="alternate" hreflang="es" href="http://localhost:3001/es/es/dashboard/users/2"/><xhtml:link rel="alternate" hreflang="fr" href="http://localhost:3001/fr/es/dashboard/users/2"/></url>
<url><loc>http://localhost:3001/es/dashboard/users/3</loc><lastmod>2023-12-22T12:46:51.505Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority><xhtml:link rel="alternate" hreflang="es" href="http://localhost:3001/es/es/dashboard/users/3"/><xhtml:link rel="alternate" hreflang="fr" href="http://localhost:3001/fr/es/dashboard/users/3"/></url>
<url><loc>http://localhost:3001/es/dashboard/users/4</loc><lastmod>2023-12-22T12:46:51.505Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority><xhtml:link rel="alternate" hreflang="es" href="http://localhost:3001/es/es/dashboard/users/4"/><xhtml:link rel="alternate" hreflang="fr" href="http://localhost:3001/fr/es/dashboard/users/4"/></url>
<url><loc>http://localhost:3001/es/dashboard/users/5</loc><lastmod>2023-12-22T12:46:51.505Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority><xhtml:link rel="alternate" hreflang="es" href="http://localhost:3001/es/es/dashboard/users/5"/><xhtml:link rel="alternate" hreflang="fr" href="http://localhost:3001/fr/es/dashboard/users/5"/></url>
<url><loc>http://localhost:3001/es/dashboard/users/6</loc><lastmod>2023-12-22T12:46:51.505Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority><xhtml:link rel="alternate" hreflang="es" href="http://localhost:3001/es/es/dashboard/users/6"/><xhtml:link rel="alternate" hreflang="fr" href="http://localhost:3001/fr/es/dashboard/users/6"/></url>
<url><loc>http://localhost:3001/es/dashboard/users/7</loc><lastmod>2023-12-22T12:46:51.505Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority><xhtml:link rel="alternate" hreflang="es" href="http://localhost:3001/es/es/dashboard/users/7"/><xhtml:link rel="alternate" hreflang="fr" href="http://localhost:3001/fr/es/dashboard/users/7"/></url>
<url><loc>http://localhost:3001/es/dashboard/users/8</loc><lastmod>2023-12-22T12:46:51.505Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority><xhtml:link rel="alternate" hreflang="es" href="http://localhost:3001/es/es/dashboard/users/8"/><xhtml:link rel="alternate" hreflang="fr" href="http://localhost:3001/fr/es/dashboard/users/8"/></url>
<url><loc>http://localhost:3001/es/dashboard/users/9</loc><lastmod>2023-12-22T12:46:51.505Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority><xhtml:link rel="alternate" hreflang="es" href="http://localhost:3001/es/es/dashboard/users/9"/><xhtml:link rel="alternate" hreflang="fr" href="http://localhost:3001/fr/es/dashboard/users/9"/></url>
<url><loc>http://localhost:3001/es/dashboard/users/10</loc><lastmod>2023-12-22T12:46:51.505Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority><xhtml:link rel="alternate" hreflang="es" href="http://localhost:3001/es/es/dashboard/users/10"/><xhtml:link rel="alternate" hreflang="fr" href="http://localhost:3001/fr/es/dashboard/users/10"/></url>
</urlset>
4 changes: 4 additions & 0 deletions public/sitemap.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<sitemap><loc>http://localhost:3001/sitemap-0.xml</loc></sitemap>
</sitemapindex>

0 comments on commit c6355ec

Please sign in to comment.