-
-
{props.children}
diff --git a/packages/web/components/layouts/MainLayout.js b/packages/web/components/layouts/MainLayout.js
index 98b3834505..776ca8e729 100644
--- a/packages/web/components/layouts/MainLayout.js
+++ b/packages/web/components/layouts/MainLayout.js
@@ -7,10 +7,7 @@ export default function MainLayout(props) {
return (
<>
-
-
Supabase
-
diff --git a/packages/web/content/docs/admin-api/getting-started.mdx b/packages/web/content/docs/admin-api/getting-started.mdx
index dee50691c6..aa3537f267 100644
--- a/packages/web/content/docs/admin-api/getting-started.mdx
+++ b/packages/web/content/docs/admin-api/getting-started.mdx
@@ -1,14 +1,16 @@
export const metadata = {
title: 'Admin API',
- description: 'SQL is awesome, but sometimes you just want to use a technology you\'re familiar with.'
+ description: 'SQL is awesome, but sometimes you just want to use a technology you\'re familiar with. Why not REST?'
}
-lorem ipsum
### Somthing else
+lorem ipsum
+lorem ipsum
+lorem ipsum
lorem ipsum
\ No newline at end of file
diff --git a/packages/web/next.config.js b/packages/web/next.config.js
index d447c45230..ac95ba4538 100644
--- a/packages/web/next.config.js
+++ b/packages/web/next.config.js
@@ -1,21 +1,22 @@
+const withPlugins = require('next-compose-plugins')
+
+// Next Config
+const nextConfig = {
+ experimental: { publicDirectory: true }
+}
+
+// SASS
const withSass = require('@zeit/next-sass')
+const withSassConfig = {
+ sassLoaderOptions: {
+ includePaths: ['./', 'absolute/path/b'],
+ },
+}
+
+// Markdown
const withMDX = require('@zeit/next-mdx')({
- // parse mdx files
extension: /\.mdx?$/,
- // options: {
- // mdPlugins: [images, emoji]
- // }
})
-module.exports = withSass(
- withMDX({
- experimental: { publicDirectory: true },
- exportPathMap: function() {
- return {
- '/': { page: '/' },
- // '/blog': { page: '/blog' },
- // '/docs/admin-api/getting-started': { page: '/docs/[product]/[slug]', query: { product: 'admin-api', slug: 'getting-started' } },
- // '/docs/packaged/getting-started': { page: '/docs/packaged/getting-started' },
- }
- },
- })
-)
+const withMdxConfig = { }
+
+module.exports = withPlugins([[withSass, withSassConfig], [withMDX, withMdxConfig]], nextConfig)
diff --git a/packages/web/now.json b/packages/web/now.json
new file mode 100644
index 0000000000..10165776d8
--- /dev/null
+++ b/packages/web/now.json
@@ -0,0 +1,5 @@
+{
+ "name": "supabase",
+ "version": 2,
+ "alias": ["supabase.io"]
+}
\ No newline at end of file
diff --git a/packages/web/package.json b/packages/web/package.json
index 6d6e07e8ac..348c53020f 100644
--- a/packages/web/package.json
+++ b/packages/web/package.json
@@ -16,6 +16,7 @@
"@zeit/next-sass": "^1.0.0",
"bulma": "^0.7.5",
"next": "^9.0.5-canary.2",
+ "next-compose-plugins": "^2.2.0",
"node-sass": "^4.7.2",
"react": "^16.7.0",
"react-dom": "^16.7.0"
diff --git a/packages/web/pages/_document.js b/packages/web/pages/_document.js
index 027e873ebf..3cbd10fafc 100644
--- a/packages/web/pages/_document.js
+++ b/packages/web/pages/_document.js
@@ -3,6 +3,12 @@ export default class MyDocument extends Document {
render() {
return (
+
+
+
+
+
Supabase
+
diff --git a/yarn.lock b/yarn.lock
index 49026318b9..a45da0ba69 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -10227,6 +10227,11 @@ neo-async@^2.5.0, neo-async@^2.6.0, neo-async@^2.6.1:
resolved "https://registry.yarnpkg.com/neo-async/-/neo-async-2.6.1.tgz#ac27ada66167fa8849a6addd837f6b189ad2081c"
integrity sha512-iyam8fBuCUpWeKPGpaNMetEocMt364qkCsfL9JuhjXX6dRnguRVOfk2GZaDpPjcOKiiXCPINZC1GczQ7iTq3Zw==
+next-compose-plugins@^2.2.0:
+ version "2.2.0"
+ resolved "https://registry.yarnpkg.com/next-compose-plugins/-/next-compose-plugins-2.2.0.tgz#95cd8eb40ab0652070d76572fb648354191628b0"
+ integrity sha512-ChUlpT9tWfJ7YxqGw/WQ2T1gf8EeX93n1XqeQw0lkvGa7seszahvF4eOZUJoq7Hetsbzg4UHVnPoCXfXTyQR3g==
+
next-tick@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/next-tick/-/next-tick-1.0.0.tgz#ca86d1fe8828169b0120208e3dc8424b9db8342c"