-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #52 from ecadlabs/header
Header
- Loading branch information
Showing
9 changed files
with
236 additions
and
173 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,119 +1,143 @@ | ||
// @ts-check | ||
// Note: type annotations allow type checking and IDEs autocompletion | ||
|
||
const lightCodeTheme = require('prism-react-renderer/themes/github'); | ||
const darkCodeTheme = require('prism-react-renderer/themes/dracula'); | ||
const lightCodeTheme = require("prism-react-renderer/themes/github"); | ||
const darkCodeTheme = require("prism-react-renderer/themes/dracula"); | ||
|
||
/** @type {import('@docusaurus/types').Config} */ | ||
const config = { | ||
title: 'Taqueria - Developer Tooling for Tezos', | ||
tagline: 'Taqueria - Developer Tooling for Tezos', | ||
url: 'https://tezostaqueria.io', | ||
baseUrl: '/', | ||
onBrokenLinks: 'throw', | ||
onBrokenMarkdownLinks: 'warn', | ||
favicon: 'img/favicon.ico', | ||
organizationName: 'ecadlabs', // Usually your GitHub org/user name. | ||
projectName: 'taqueria', // Usually your repo name. | ||
title: "Taqueria - Developer Tooling for Tezos", | ||
tagline: "Taqueria - Developer Tooling for Tezos", | ||
url: "https://tezostaqueria.io", | ||
baseUrl: "/", | ||
onBrokenLinks: "throw", | ||
onBrokenMarkdownLinks: "warn", | ||
favicon: "img/favicon.ico", | ||
organizationName: "ecadlabs", // Usually your GitHub org/user name. | ||
projectName: "taqueria", // Usually your repo name. | ||
|
||
presets: [ | ||
[ | ||
'@docusaurus/preset-classic', | ||
/** @type {import('@docusaurus/preset-classic').Options} */ | ||
({ | ||
docs: { | ||
path: 'docs', | ||
sidebarPath: require.resolve('./sidebars.js'), | ||
// Please change this to your repo. | ||
editUrl: 'https://github.com/ecadlabs/taqueria/edit/main/website/', | ||
}, | ||
blog: { | ||
showReadingTime: true, | ||
// Please change this to your repo. | ||
editUrl: | ||
'https://github.com/ecadlabs/taqueria/edit/main/website/blog/', | ||
}, | ||
theme: { | ||
customCss: require.resolve('./src/css/custom.css'), | ||
}, | ||
}), | ||
], | ||
], | ||
presets: [ | ||
[ | ||
"@docusaurus/preset-classic", | ||
/** @type {import('@docusaurus/preset-classic').Options} */ | ||
({ | ||
docs: { | ||
path: "docs", | ||
sidebarPath: require.resolve("./sidebars.js"), | ||
// Please change this to your repo. | ||
editUrl: "https://github.com/ecadlabs/taqueria/edit/main/website/", | ||
}, | ||
blog: { | ||
showReadingTime: true, | ||
// Please change this to your repo. | ||
editUrl: | ||
"https://github.com/ecadlabs/taqueria/edit/main/website/blog/", | ||
}, | ||
theme: { | ||
customCss: require.resolve("./src/css/custom.css"), | ||
}, | ||
}), | ||
], | ||
], | ||
|
||
themeConfig: | ||
/** @type {import('@docusaurus/preset-classic').ThemeConfig} */ | ||
({ | ||
navbar: { | ||
title: 'Tezos Taqueria', | ||
logo: { | ||
alt: 'Tezos Taqueria Logo', | ||
src: 'img/logo.png', | ||
}, | ||
items: [ | ||
{ | ||
type: 'doc', | ||
docId: 'intro', | ||
position: 'left', | ||
label: 'Tutorial', | ||
}, | ||
{to: '/blog', label: 'Blog', position: 'left'}, | ||
{ | ||
href: 'https://github.com/ecadlabs/taqueria', | ||
label: 'GitHub', | ||
position: 'right', | ||
}, | ||
], | ||
}, | ||
footer: { | ||
style: 'dark', | ||
links: [ | ||
{ | ||
title: 'Docs', | ||
items: [ | ||
{ | ||
label: 'Tutorial', | ||
to: '/docs/intro', | ||
}, | ||
], | ||
}, | ||
{ | ||
title: 'Community', | ||
items: [ | ||
{ | ||
label: 'Stack Overflow', | ||
href: 'https://stackoverflow.com/questions/tagged/taqueria', | ||
}, | ||
{ | ||
label: 'Discord', | ||
href: 'https://discordapp.com/invite/tezostaqueria', | ||
}, | ||
{ | ||
label: 'Twitter', | ||
href: 'https://twitter.com/tezostaqueria', | ||
}, | ||
], | ||
}, | ||
{ | ||
title: 'More', | ||
items: [ | ||
{ | ||
label: 'Blog', | ||
to: '/blog', | ||
}, | ||
{ | ||
label: 'GitHub', | ||
href: 'https://github.com/ecadlabs/taqueria', | ||
}, | ||
], | ||
}, | ||
], | ||
copyright: `Copyright © ${new Date().getFullYear()}, ECAD Labs Inc.`, | ||
}, | ||
prism: { | ||
theme: lightCodeTheme, | ||
darkTheme: darkCodeTheme, | ||
}, | ||
}), | ||
themeConfig: | ||
/** @type {import('@docusaurus/preset-classic').ThemeConfig} */ | ||
({ | ||
navbar: { | ||
logo: { | ||
alt: "Tezos Taqueria Logo", | ||
src: "img/logoSVG.svg", | ||
}, | ||
items: [ | ||
{ | ||
to: "/blog", | ||
label: " Get Started", | ||
position: "right", | ||
className: "header-link", | ||
}, | ||
{ | ||
type: "doc", | ||
docId: "intro", | ||
position: "right", | ||
label: "Docs", | ||
className: "header-link", | ||
}, | ||
{ | ||
to: "/blog", | ||
label: "Plugins", | ||
position: "right", | ||
className: "header-link", | ||
}, | ||
{ | ||
href: "https://discord.com/", | ||
position: "right", | ||
className: "header-discord-link", | ||
"aria-label": "Discord", | ||
}, | ||
{ | ||
href: "https://twitter.com/", | ||
position: "right", | ||
className: "header-twitter-link", | ||
"aria-label": "Twitter", | ||
}, | ||
{ | ||
href: "https://github.com/facebook/docusaurus", | ||
position: "right", | ||
className: "header-github-link", | ||
"aria-label": "GitHub repository", | ||
}, | ||
], | ||
}, | ||
footer: { | ||
style: "dark", | ||
links: [ | ||
{ | ||
title: "Docs", | ||
items: [ | ||
{ | ||
label: "Tutorial", | ||
to: "/docs/intro", | ||
}, | ||
], | ||
}, | ||
{ | ||
title: "Community", | ||
items: [ | ||
{ | ||
label: "Stack Overflow", | ||
href: "https://stackoverflow.com/questions/tagged/taqueria", | ||
}, | ||
{ | ||
label: "Discord", | ||
href: "https://discordapp.com/invite/tezostaqueria", | ||
}, | ||
{ | ||
label: "Twitter", | ||
href: "https://twitter.com/tezostaqueria", | ||
}, | ||
], | ||
}, | ||
{ | ||
title: "More", | ||
items: [ | ||
{ | ||
label: "Blog", | ||
to: "/blog", | ||
}, | ||
{ | ||
label: "GitHub", | ||
href: "https://github.com/ecadlabs/taqueria", | ||
}, | ||
], | ||
}, | ||
], | ||
copyright: `Copyright © ${new Date().getFullYear()}, ECAD Labs Inc.`, | ||
}, | ||
prism: { | ||
theme: lightCodeTheme, | ||
darkTheme: darkCodeTheme, | ||
}, | ||
}), | ||
}; | ||
|
||
module.exports = config; |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.