Skip to content

Commit

Permalink
Merge pull request #29 from celestiaorg/hotfix/plausible
Browse files Browse the repository at this point in the history
Fix palusible
  • Loading branch information
gabros20 authored Jan 10, 2025
2 parents 990ade2 + a733b95 commit 38c031b
Show file tree
Hide file tree
Showing 8 changed files with 5,404 additions and 5,409 deletions.
10 changes: 5 additions & 5 deletions jsconfig.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"compilerOptions": {
"paths": {
"@/*": ["./src/*"]
}
}
"compilerOptions": {
"paths": {
"@/*": ["./src/*"]
}
}
}
107 changes: 52 additions & 55 deletions next.config.mjs
Original file line number Diff line number Diff line change
@@ -1,63 +1,60 @@
/** @type {import('next').NextConfig} */
const nextConfig = {
pageExtensions: ["js", "jsx", "ts", "tsx"],
output: "export",
distDir: 'dist',
images: { unoptimized: true }, // comment out if using vercel or other service with backend support
async redirects() {
return redirects;
},
pageExtensions: ["js", "jsx", "ts", "tsx"],
output: "export",
distDir: "dist",
images: { unoptimized: true }, // comment out if using vercel or other service with backend support
async redirects() {
return redirects;
},
};

const redirects = [
{
source: "/learn/first-principles/modular-blockchains-and-first-principles",
destination: "/learn/beginners/modular-blockchains-and-first-principles",
permanent: true,
},
{
source:
"/learn/values-of-modular-blockchains/modular-blockchains-are-user-first",
destination: "/learn/beginners/modular-blockchains-are-user-first",
permanent: true,
},
{
source:
"/learn/basics-of-modular-blockchains/modular-and-monolithic-blockchains/",
destination: "/learn/intermediates/modular-and-monolithic-blockchains",
permanent: true,
},
{
source:
"/learn/basics-of-modular-blockchains/benefits-of-modular-blockchains/",
destination: "/learn/intermediates/benefits-of-modular-blockchains",
permanent: true,
},
{
source: "/learn/modular-architectures/the-modular-stack/",
destination: "/learn/intermediates/the-modular-stack",
permanent: true,
},
{
source: "/learn/modular-software/the-differences-of-modular-software/",
destination: "/learn/intermediates/the-differences-of-modular-software",
permanent: true,
},
{
source: "/learn/sovereign-rollups/an-introduction/",
destination: "/learn/intermediates/sovereign-rollups-an-introduction",
permanent: true,
},
{
source: "/learn/sovereign-rollups/misconceptions/",
destination: "/learn/intermediates/sovereign-rollups-misconceptions",
permanent: true,
},
{
source: "/learn/modular-settlement-layers/settlement-in-the-modular-stack/",
destination: "/learn/intermediates/settlement-in-the-modular-stack",
permanent: true,
},
{
source: "/learn/first-principles/modular-blockchains-and-first-principles",
destination: "/learn/beginners/modular-blockchains-and-first-principles",
permanent: true,
},
{
source: "/learn/values-of-modular-blockchains/modular-blockchains-are-user-first",
destination: "/learn/beginners/modular-blockchains-are-user-first",
permanent: true,
},
{
source: "/learn/basics-of-modular-blockchains/modular-and-monolithic-blockchains/",
destination: "/learn/intermediates/modular-and-monolithic-blockchains",
permanent: true,
},
{
source: "/learn/basics-of-modular-blockchains/benefits-of-modular-blockchains/",
destination: "/learn/intermediates/benefits-of-modular-blockchains",
permanent: true,
},
{
source: "/learn/modular-architectures/the-modular-stack/",
destination: "/learn/intermediates/the-modular-stack",
permanent: true,
},
{
source: "/learn/modular-software/the-differences-of-modular-software/",
destination: "/learn/intermediates/the-differences-of-modular-software",
permanent: true,
},
{
source: "/learn/sovereign-rollups/an-introduction/",
destination: "/learn/intermediates/sovereign-rollups-an-introduction",
permanent: true,
},
{
source: "/learn/sovereign-rollups/misconceptions/",
destination: "/learn/intermediates/sovereign-rollups-misconceptions",
permanent: true,
},
{
source: "/learn/modular-settlement-layers/settlement-in-the-modular-stack/",
destination: "/learn/intermediates/settlement-in-the-modular-stack",
permanent: true,
},
];

export default nextConfig;
Loading

0 comments on commit 38c031b

Please sign in to comment.