mirror of
https://github.com/aljazceru/ark.git
synced 2025-12-18 12:44:19 +01:00
* more improvements * md fixes * improve boarding wording * improve blog desc * add developers section * imrpove links * fix edit links * Update website/docusaurus.config.js Co-authored-by: João Bordalo <bordalix@users.noreply.github.com> Signed-off-by: Marco Argentieri <3596602+tiero@users.noreply.github.com> * Update website/blog/2023-11-10-liquidity-requirements/index.md Co-authored-by: João Bordalo <bordalix@users.noreply.github.com> Signed-off-by: Marco Argentieri <3596602+tiero@users.noreply.github.com> * Update website/docs/intro.md Co-authored-by: João Bordalo <bordalix@users.noreply.github.com> Signed-off-by: Marco Argentieri <3596602+tiero@users.noreply.github.com> * Update website/docs/intro.md Co-authored-by: João Bordalo <bordalix@users.noreply.github.com> Signed-off-by: Marco Argentieri <3596602+tiero@users.noreply.github.com> * fix JSX * add ark banner as og-image of website * add og:image --------- Signed-off-by: Marco Argentieri <3596602+tiero@users.noreply.github.com> Co-authored-by: João Bordalo <bordalix@users.noreply.github.com>
154 lines
3.8 KiB
JavaScript
154 lines
3.8 KiB
JavaScript
// @ts-check
|
|
// Note: type annotations allow type checking and IDEs autocompletion
|
|
|
|
|
|
const lightCodeTheme = require('prism-react-renderer/themes/synthwave84')
|
|
const darkCodeTheme = require('prism-react-renderer/themes/dracula')
|
|
|
|
/** @type {import('@docusaurus/types').Config} */
|
|
const config = {
|
|
title: 'Ark',
|
|
tagline: 'TBD',
|
|
favicon: 'img/ark-logo.png',
|
|
url: 'https://arkdev.info',
|
|
baseUrl: '/',
|
|
organizationName: 'Ark',
|
|
projectName: 'Ark Website',
|
|
onBrokenLinks: 'throw',
|
|
onBrokenMarkdownLinks: 'warn',
|
|
i18n: {
|
|
defaultLocale: 'en',
|
|
locales: ['en'],
|
|
},
|
|
|
|
presets: [
|
|
[
|
|
'classic',
|
|
/** @type {import('@docusaurus/preset-classic').Options} */
|
|
({
|
|
docs: {
|
|
routeBasePath: "/",
|
|
sidebarPath: require.resolve('./sidebars.js'),
|
|
// Please change this to your repo.
|
|
// Remove this to remove the "edit this page" links.
|
|
editUrl: 'https://github.com/ark-network/ark/edit/master/website/',
|
|
},
|
|
blog: {
|
|
showReadingTime: true,
|
|
// Please change this to your repo.
|
|
// Remove this to remove the "edit this page" links.
|
|
editUrl: 'https://github.com/ark-network/ark/edit/master/website/blog',
|
|
},
|
|
}),
|
|
],
|
|
],
|
|
|
|
themeConfig:
|
|
/** @type {import('@docusaurus/preset-classic').ThemeConfig} */
|
|
({
|
|
// Replace with your project's social card
|
|
image: 'img/ark-banner.png',
|
|
navbar: {
|
|
title: 'Ark',
|
|
logo: {
|
|
alt: 'Ark Logo',
|
|
src: 'img/ark-logo.png',
|
|
srcDark: 'img/ark-logo.png',
|
|
},
|
|
items: [
|
|
{
|
|
type: 'docSidebar',
|
|
sidebarId: 'tutorialSidebar',
|
|
position: 'left',
|
|
label: 'Docs',
|
|
},
|
|
{ to: '/blog', label: 'Blog', position: 'left' },
|
|
{
|
|
href: 'https://github.com/ark-network',
|
|
label: 'GitHub',
|
|
position: 'right',
|
|
},
|
|
],
|
|
},
|
|
footer: {
|
|
links: [
|
|
{
|
|
title: 'LEARN',
|
|
items: [
|
|
{
|
|
label: 'Nomenclature',
|
|
to: '/learn/nomenclature',
|
|
},
|
|
{
|
|
label: 'Board an Ark',
|
|
to: '/learn/boarding',
|
|
},
|
|
{
|
|
label: 'Send Payments',
|
|
to: '/learn/payments',
|
|
},
|
|
{
|
|
label: 'Leave an Ark',
|
|
to: '/learn/leaving',
|
|
}
|
|
],
|
|
},
|
|
{
|
|
title: 'DOCS',
|
|
items: [
|
|
{
|
|
label: 'Overview',
|
|
to: '/',
|
|
},
|
|
{
|
|
label: 'Join an Ark',
|
|
to: '/user/intro',
|
|
},
|
|
{
|
|
label: 'Create an Ark',
|
|
to: '/provider/intro',
|
|
},
|
|
],
|
|
},
|
|
{
|
|
title: 'COMMUNITY',
|
|
items: [
|
|
{
|
|
label: 'Telegram',
|
|
href: 'https://t.me/ark_network_community',
|
|
},
|
|
{
|
|
label: 'Stack Exchange',
|
|
href: 'https://bitcoin.stackexchange.com/questions/tagged/ark',
|
|
},
|
|
{
|
|
label: 'Github',
|
|
href: 'https://github.com/ark-network',
|
|
}
|
|
],
|
|
},
|
|
{
|
|
title: 'MORE',
|
|
items: [
|
|
{
|
|
label: 'Blog',
|
|
to: '/blog',
|
|
}
|
|
],
|
|
},
|
|
]
|
|
},
|
|
colorMode: {
|
|
defaultMode: 'light',
|
|
disableSwitch: false,
|
|
respectPrefersColorScheme: true,
|
|
},
|
|
prism: {
|
|
theme: lightCodeTheme,
|
|
darkTheme: darkCodeTheme,
|
|
},
|
|
}),
|
|
}
|
|
|
|
module.exports = config
|