Skip to content

Commit

Permalink
feat(docs): next.js updated, sitemap generation added
Browse files Browse the repository at this point in the history
  • Loading branch information
jrgarciadev committed Aug 1, 2023
1 parent 75bc039 commit d9bbd2e
Show file tree
Hide file tree
Showing 4 changed files with 113 additions and 61 deletions.
2 changes: 1 addition & 1 deletion apps/docs/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export const metadata: Metadata = {
],
icons: {
icon: "/favicon.ico",
shortcut: "/favicon-16x16.png",
shortcut: "/favicon-32x32.png",
apple: "/apple-touch-icon.png",
},
manifest: "/manifest.json",
Expand Down
9 changes: 5 additions & 4 deletions apps/docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@
"typecheck": "contentlayer build && tsc --noEmit",
"preinstall": "node preinstall.js",
"build:sponsors": "tsx scripts/build-sponsors.ts",
"update:search-meta": "tsx scripts/update-search-meta.ts"
"update:search-meta": "tsx scripts/update-search-meta.ts",
"postbuild": "next-sitemap"
},
"dependencies": {
"@codesandbox/sandpack-react": "^2.6.4",
Expand Down Expand Up @@ -50,7 +51,7 @@
"match-sorter": "^6.3.1",
"mini-svg-data-uri": "^1.4.3",
"mitt": "3.0.0",
"next": "13.4.9",
"next": "13.4.12",
"next-contentlayer": "^0.3.4",
"next-themes": "^0.2.1",
"nprogress": "^0.2.0",
Expand Down Expand Up @@ -83,7 +84,7 @@
"devDependencies": {
"@docusaurus/utils": "2.0.0-beta.3",
"@next/bundle-analyzer": "^13.4.6",
"@next/env": "^13.4.8",
"@next/env": "^13.4.12",
"@react-types/shared": "^3.18.0",
"@tailwindcss/typography": "^0.5.9",
"@types/canvas-confetti": "^1.4.2",
Expand All @@ -103,7 +104,7 @@
"dotenv": "^16.0.1",
"eslint-config-next": "^11.0.0",
"markdown-toc": "^1.2.0",
"next-sitemap": "^4.0.7",
"next-sitemap": "^4.1.8",
"node-fetch": "^3.2.10",
"postcss": "^8.4.21",
"prettier": "^2.7.1",
Expand Down
55 changes: 55 additions & 0 deletions apps/docs/public/sitemap-0.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
<?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>https://nextui.org/figma</loc><lastmod>2023-08-01T02:14:41.649Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://nextui.org</loc><lastmod>2023-08-01T02:14:41.649Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://nextui.org/blog/nextui-v2</loc><lastmod>2023-08-01T02:14:41.649Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://nextui.org/blog</loc><lastmod>2023-08-01T02:14:41.649Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://nextui.org/docs/components/accordion</loc><lastmod>2023-08-01T02:14:41.649Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://nextui.org/docs/components/avatar</loc><lastmod>2023-08-01T02:14:41.649Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://nextui.org/docs/components/badge</loc><lastmod>2023-08-01T02:14:41.649Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://nextui.org/docs/components/button</loc><lastmod>2023-08-01T02:14:41.649Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://nextui.org/docs/components/card</loc><lastmod>2023-08-01T02:14:41.649Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://nextui.org/docs/components/checkbox-group</loc><lastmod>2023-08-01T02:14:41.649Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://nextui.org/docs/components/checkbox</loc><lastmod>2023-08-01T02:14:41.649Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://nextui.org/docs/components/chip</loc><lastmod>2023-08-01T02:14:41.649Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://nextui.org/docs/components/circular-progress</loc><lastmod>2023-08-01T02:14:41.649Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://nextui.org/docs/components/code</loc><lastmod>2023-08-01T02:14:41.649Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://nextui.org/docs/components/divider</loc><lastmod>2023-08-01T02:14:41.649Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://nextui.org/docs/components/dropdown</loc><lastmod>2023-08-01T02:14:41.649Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://nextui.org/docs/components/image</loc><lastmod>2023-08-01T02:14:41.649Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://nextui.org/docs/components/input</loc><lastmod>2023-08-01T02:14:41.649Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://nextui.org/docs/components/kbd</loc><lastmod>2023-08-01T02:14:41.649Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://nextui.org/docs/components/link</loc><lastmod>2023-08-01T02:14:41.649Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://nextui.org/docs/components/modal</loc><lastmod>2023-08-01T02:14:41.649Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://nextui.org/docs/components/navbar</loc><lastmod>2023-08-01T02:14:41.649Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://nextui.org/docs/components/pagination</loc><lastmod>2023-08-01T02:14:41.649Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://nextui.org/docs/components/popover</loc><lastmod>2023-08-01T02:14:41.649Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://nextui.org/docs/components/progress</loc><lastmod>2023-08-01T02:14:41.649Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://nextui.org/docs/components/radio-group</loc><lastmod>2023-08-01T02:14:41.649Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://nextui.org/docs/components/skeleton</loc><lastmod>2023-08-01T02:14:41.649Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://nextui.org/docs/components/snippet</loc><lastmod>2023-08-01T02:14:41.649Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://nextui.org/docs/components/spacer</loc><lastmod>2023-08-01T02:14:41.649Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://nextui.org/docs/components/spinner</loc><lastmod>2023-08-01T02:14:41.649Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://nextui.org/docs/components/switch</loc><lastmod>2023-08-01T02:14:41.649Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://nextui.org/docs/components/table</loc><lastmod>2023-08-01T02:14:41.649Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://nextui.org/docs/components/tabs</loc><lastmod>2023-08-01T02:14:41.649Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://nextui.org/docs/components/textarea</loc><lastmod>2023-08-01T02:14:41.649Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://nextui.org/docs/components/tooltip</loc><lastmod>2023-08-01T02:14:41.649Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://nextui.org/docs/components/user</loc><lastmod>2023-08-01T02:14:41.649Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://nextui.org/docs/customization/colors</loc><lastmod>2023-08-01T02:14:41.649Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://nextui.org/docs/customization/create-theme</loc><lastmod>2023-08-01T02:14:41.649Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://nextui.org/docs/customization/custom-variants</loc><lastmod>2023-08-01T02:14:41.649Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://nextui.org/docs/customization/customize-theme</loc><lastmod>2023-08-01T02:14:41.649Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://nextui.org/docs/customization/dark-mode</loc><lastmod>2023-08-01T02:14:41.649Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://nextui.org/docs/customization/layout</loc><lastmod>2023-08-01T02:14:41.649Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://nextui.org/docs/customization/override-styles</loc><lastmod>2023-08-01T02:14:41.649Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://nextui.org/docs/customization/theme</loc><lastmod>2023-08-01T02:14:41.649Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://nextui.org/docs/frameworks/astro</loc><lastmod>2023-08-01T02:14:41.649Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://nextui.org/docs/frameworks/nextjs</loc><lastmod>2023-08-01T02:14:41.649Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://nextui.org/docs/frameworks/remix</loc><lastmod>2023-08-01T02:14:41.649Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://nextui.org/docs/frameworks/vite</loc><lastmod>2023-08-01T02:14:41.649Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://nextui.org/docs/guide/design-principles</loc><lastmod>2023-08-01T02:14:41.649Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://nextui.org/docs/guide/installation</loc><lastmod>2023-08-01T02:14:41.649Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://nextui.org/docs/guide/introduction</loc><lastmod>2023-08-01T02:14:41.649Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://nextui.org/docs/guide/upgrade-to-v2</loc><lastmod>2023-08-01T02:14:41.649Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
</urlset>
Loading

1 comment on commit d9bbd2e

@vercel
Copy link

@vercel vercel bot commented on d9bbd2e Aug 1, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.