mirror of
https://github.com/supabase/supabase.git
synced 2026-10-05 17:35:10 +03:00
* Formats the iframes so that they are no larger than the screen. * Removes unused folder * Removes unused readme * Hides the outline on focus * Fixes the edges on the code blocks with reponses * Move to Inter - it's open source * Hides the shadow on the nav * Fixes some of the react specific attributes * More react attributes * Fixes the padding for inter * Removes bloated links * Small formatting
179 lines
4.7 KiB
JavaScript
Executable File
179 lines
4.7 KiB
JavaScript
Executable File
/**
|
|
* Copyright (c) 2017-present, Facebook, Inc.
|
|
*
|
|
* This source code is licensed under the MIT license found in the
|
|
* LICENSE file in the root directory of this source tree.
|
|
*/
|
|
|
|
module.exports = {
|
|
title: 'Supabase',
|
|
tagline: 'The open source Firebase alternative.',
|
|
url: 'https://supabase.io',
|
|
baseUrl: '/',
|
|
favicon: '/favicon.ico',
|
|
organizationName: 'supabase', // Usually your GitHub org/user name.
|
|
projectName: 'supabase', // Usually your repo name.
|
|
themeConfig: {
|
|
forceDarkMode: true,
|
|
darkMode: true,
|
|
colorMode: {
|
|
// "light" | "dark"
|
|
defaultMode: 'dark',
|
|
|
|
// Hides the switch in the navbar
|
|
// Useful if you want to support a single color mode
|
|
disableSwitch: false,
|
|
|
|
// Should we use the prefers-color-scheme media-query,
|
|
// using user system preferences, instead of the hardcoded defaultMode
|
|
respectPrefersColorScheme: false,
|
|
|
|
// Dark/light switch icon options
|
|
switchConfig: {
|
|
// Icon for the switch while in dark mode
|
|
darkIcon: ' ',
|
|
darkIconStyle: {
|
|
marginTop: '1px',
|
|
},
|
|
lightIcon: ' ',
|
|
lightIconStyle: {
|
|
marginTop: '1px',
|
|
},
|
|
},
|
|
},
|
|
sidebarCollapsible: false,
|
|
algolia: {
|
|
apiKey: '766d56f13dd1e82f43253559b7c86636',
|
|
indexName: 'supabase',
|
|
},
|
|
image: '/img/supabase-og-image.png', // used for meta tag, in particular og:image and twitter:image
|
|
metaImage: '/img/supabase-og-image.png',
|
|
googleAnalytics: {
|
|
trackingID: 'UA-155232740-1',
|
|
},
|
|
// announcementBar: {
|
|
// id: 'support_us', // Any value that will identify this message
|
|
// content:
|
|
// 'Join our early alpha: <a target="_blank" rel="noopener noreferrer" href="https://app.supabase.io">app.supabase.io</a>',
|
|
// backgroundColor: '#111111', // Defaults to `#fff`
|
|
// textColor: '#ddd', // Defaults to `#000`
|
|
// },
|
|
navbar: {
|
|
// classNames: 'shadow--md',
|
|
// title: 'supabase',
|
|
hideOnScroll: true,
|
|
logo: {
|
|
alt: 'Supabase',
|
|
src: '/supabase-light.svg',
|
|
srcDark: '/supabase-dark.svg',
|
|
},
|
|
items: [
|
|
{
|
|
to: '/docs',
|
|
label: 'Docs',
|
|
position: 'right',
|
|
},
|
|
{ to: '/docs/pricing', label: 'Pricing', position: 'right' },
|
|
{ href: 'https://app.supabase.io', label: 'Login', position: 'right' },
|
|
{
|
|
href: 'https://github.com/supabase/supabase',
|
|
className: 'navbar-item-github',
|
|
position: 'right',
|
|
},
|
|
],
|
|
},
|
|
prism: {
|
|
defaultLanguage: 'js',
|
|
plugins: ['line-numbers', 'show-language'],
|
|
theme: require('@kiwicopple/prism-react-renderer/themes/vsDark'),
|
|
darkTheme: require('@kiwicopple/prism-react-renderer/themes/vsDark'),
|
|
},
|
|
footer: {
|
|
links: [
|
|
{
|
|
title: 'Company',
|
|
items: [
|
|
{
|
|
label: 'Blog',
|
|
to: '/blog',
|
|
},
|
|
{
|
|
label: 'Open source',
|
|
to: '/oss',
|
|
},
|
|
{
|
|
label: 'Humans.txt',
|
|
to: 'https://supabase.io/humans.txt',
|
|
},
|
|
{
|
|
label: 'Lawyers.txt',
|
|
to: 'https://supabase.io/lawyers.txt',
|
|
},
|
|
],
|
|
},
|
|
{
|
|
title: 'Resources',
|
|
items: [
|
|
{
|
|
label: 'Docs',
|
|
to: '/docs',
|
|
},
|
|
{
|
|
label: 'Pricing',
|
|
to: '/docs/pricing',
|
|
},
|
|
{
|
|
label: 'Support',
|
|
to: '/docs/support',
|
|
},
|
|
],
|
|
},
|
|
{
|
|
title: 'Community',
|
|
items: [
|
|
{
|
|
label: 'GitHub',
|
|
href: 'https://github.com/supabase/supabase',
|
|
},
|
|
{
|
|
label: 'Twitter',
|
|
href: 'https://twitter.com/supabase_io',
|
|
},
|
|
{
|
|
label: 'DevTo',
|
|
href: 'https://dev.to/supabase',
|
|
},
|
|
// {
|
|
// label: "Discord",
|
|
// href: "https://discordapp.com/invite/docusaurus"
|
|
// }
|
|
],
|
|
},
|
|
{
|
|
title: 'Alpha',
|
|
items: [
|
|
{
|
|
label: 'Join our alpha',
|
|
href: 'https://app.supabase.io',
|
|
},
|
|
],
|
|
},
|
|
],
|
|
copyright: `Copyright © ${new Date().getFullYear()} Supabase.`,
|
|
},
|
|
},
|
|
presets: [
|
|
[
|
|
'@docusaurus/preset-classic',
|
|
{
|
|
docs: {
|
|
sidebarPath: require.resolve('./sidebars.js'),
|
|
},
|
|
theme: {
|
|
customCss: require.resolve('./src/css/custom.css'),
|
|
},
|
|
},
|
|
],
|
|
],
|
|
}
|