Skip to content

Commit

Permalink
feat(www,docs): improve perf, fix sitemap (#876)
Browse files Browse the repository at this point in the history
  • Loading branch information
QuiiBz authored May 16, 2023
1 parent 376b628 commit a3d5ce8
Show file tree
Hide file tree
Showing 13 changed files with 513 additions and 522 deletions.
1 change: 1 addition & 0 deletions packages/docs/next-sitemap.config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
/** @type {import('next-sitemap').IConfig} */
module.exports = {
siteUrl: 'https://docs.lagon.app',
outDir: 'out',
generateRobotsTxt: true,
generateIndexSitemap: false,
};
11 changes: 4 additions & 7 deletions packages/docs/next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,10 @@
const nextConfig = {
reactStrictMode: true,
swcMinify: true,
redirects: () => [
{
source: '/cloud/static-files',
destination: '/cloud/assets',
permanent: true,
},
],
output: 'export',
images: {
unoptimized: true,
},
eslint: {
ignoreDuringBuilds: true,
},
Expand Down
3 changes: 2 additions & 1 deletion turbo.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,9 @@
"outputs": [
"dist/**",
".next/**",
"out/**",
"target/debug/**",
"storybook-static"
"storybook-static/**"
]
},
"@lagon/dashboard#build": {
Expand Down
224 changes: 0 additions & 224 deletions www/lib/components/images/RunButtonImage.tsx

This file was deleted.

Loading

4 comments on commit a3d5ce8

@vercel
Copy link

@vercel vercel bot commented on a3d5ce8 May 16, 2023

Choose a reason for hiding this comment

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

Successfully deployed to the following URLs:

storybook – ./packages/ui

storybook-lagon.vercel.app
storybook-swart-eight.vercel.app
ui.lagon.app
storybook-git-main-lagon.vercel.app

@vercel
Copy link

@vercel vercel bot commented on a3d5ce8 May 16, 2023

Choose a reason for hiding this comment

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

Successfully deployed to the following URLs:

dashboard – ./packages/dashboard

dash.lagon.app
dashboard-git-main-lagon.vercel.app
dashboard-lagon.vercel.app

@vercel
Copy link

@vercel vercel bot commented on a3d5ce8 May 16, 2023

Choose a reason for hiding this comment

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

Successfully deployed to the following URLs:

docs – ./packages/docs

docs-git-main-lagon.vercel.app
lagon-docs.vercel.app
docs-lagon.vercel.app
docs.lagon.app

@vercel
Copy link

@vercel vercel bot commented on a3d5ce8 May 16, 2023

Choose a reason for hiding this comment

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

Successfully deployed to the following URLs:

www – ./www

www-lagon.vercel.app
www-git-main-lagon.vercel.app
lagon.app
lagon.dev

Please sign in to comment.