Customize options for Corso (#48)
Uses a Noun project icon for now. Color #776A60 used with https://thenounproject.com/icon/cane-corso-4559376/ Co-authored-by: Vaibhav Kamra <vkamra@alcion.ai>
This commit is contained in:
parent
1e65e2f120
commit
8812f4bc9b
@ -6,18 +6,18 @@ const darkCodeTheme = require('prism-react-renderer/themes/dracula');
|
|||||||
|
|
||||||
/** @type {import('@docusaurus/types').Config} */
|
/** @type {import('@docusaurus/types').Config} */
|
||||||
const config = {
|
const config = {
|
||||||
title: 'My Site',
|
title: 'Corso Documentation',
|
||||||
tagline: 'Dinosaurs are cool',
|
tagline: 'Because Backups Are Cool',
|
||||||
url: 'https://your-docusaurus-test-site.com',
|
url: 'https://corsobackup.io',
|
||||||
baseUrl: '/',
|
baseUrl: '/',
|
||||||
onBrokenLinks: 'throw',
|
onBrokenLinks: 'throw',
|
||||||
onBrokenMarkdownLinks: 'warn',
|
onBrokenMarkdownLinks: 'warn',
|
||||||
favicon: 'img/favicon.ico',
|
favicon: 'img/corso.svg',
|
||||||
|
|
||||||
// GitHub pages deployment config.
|
// GitHub pages deployment config.
|
||||||
// If you aren't using GitHub pages, you don't need these.
|
// If you aren't using GitHub pages, you don't need these.
|
||||||
organizationName: 'facebook', // Usually your GitHub org/user name.
|
organizationName: 'alcionai', // Usually your GitHub org/user name.
|
||||||
projectName: 'docusaurus', // Usually your repo name.
|
projectName: 'corso', // Usually your repo name.
|
||||||
|
|
||||||
// Even if you don't use internalization, you can use this field to set useful
|
// Even if you don't use internalization, you can use this field to set useful
|
||||||
// metadata like html lang. For example, if your site is Chinese, you may want
|
// metadata like html lang. For example, if your site is Chinese, you may want
|
||||||
@ -32,7 +32,8 @@ const config = {
|
|||||||
'classic',
|
'classic',
|
||||||
/** @type {import('@docusaurus/preset-classic').Options} */
|
/** @type {import('@docusaurus/preset-classic').Options} */
|
||||||
({
|
({
|
||||||
docs: {
|
docs: {
|
||||||
|
routeBasePath: '/',
|
||||||
sidebarPath: require.resolve('./sidebars.js'),
|
sidebarPath: require.resolve('./sidebars.js'),
|
||||||
// Please change this to your repo.
|
// Please change this to your repo.
|
||||||
// Remove this to remove the "edit this page" links.
|
// Remove this to remove the "edit this page" links.
|
||||||
@ -51,10 +52,10 @@ const config = {
|
|||||||
/** @type {import('@docusaurus/preset-classic').ThemeConfig} */
|
/** @type {import('@docusaurus/preset-classic').ThemeConfig} */
|
||||||
({
|
({
|
||||||
navbar: {
|
navbar: {
|
||||||
title: 'My Site',
|
title: 'Corso',
|
||||||
logo: {
|
logo: {
|
||||||
alt: 'My Site Logo',
|
alt: 'My Site Logo',
|
||||||
src: 'img/logo.svg',
|
src: 'img/corso.svg',
|
||||||
},
|
},
|
||||||
items: [
|
items: [
|
||||||
{
|
{
|
||||||
@ -85,17 +86,13 @@ const config = {
|
|||||||
{
|
{
|
||||||
title: 'Community',
|
title: 'Community',
|
||||||
items: [
|
items: [
|
||||||
{
|
|
||||||
label: 'Stack Overflow',
|
|
||||||
href: 'https://stackoverflow.com/questions/tagged/docusaurus',
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
label: 'Discord',
|
label: 'Discord',
|
||||||
href: 'https://discordapp.com/invite/docusaurus',
|
href: 'https://discordapp.com/invite/docusaurus',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: 'Twitter',
|
label: 'Twitter',
|
||||||
href: 'https://twitter.com/docusaurus',
|
href: 'https://twitter.com/alcionhq',
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
@ -104,12 +101,12 @@ const config = {
|
|||||||
items: [
|
items: [
|
||||||
{
|
{
|
||||||
label: 'GitHub',
|
label: 'GitHub',
|
||||||
href: 'https://github.com/facebook/docusaurus',
|
href: 'https://github.com/alcionai/corso',
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
copyright: `Copyright © ${new Date().getFullYear()} My Project, Inc. Built with Docusaurus.`,
|
copyright: `Copyright © ${new Date().getFullYear()}`,
|
||||||
},
|
},
|
||||||
prism: {
|
prism: {
|
||||||
theme: lightCodeTheme,
|
theme: lightCodeTheme,
|
||||||
|
|||||||
@ -16,7 +16,7 @@ function HomepageHeader() {
|
|||||||
<div className={styles.buttons}>
|
<div className={styles.buttons}>
|
||||||
<Link
|
<Link
|
||||||
className="button button--secondary button--lg"
|
className="button button--secondary button--lg"
|
||||||
to="/docs/intro">
|
to="intro">
|
||||||
Docusaurus Tutorial - 5min ⏱️
|
Docusaurus Tutorial - 5min ⏱️
|
||||||
</Link>
|
</Link>
|
||||||
</div>
|
</div>
|
||||||
@ -29,8 +29,8 @@ export default function Home() {
|
|||||||
const {siteConfig} = useDocusaurusContext();
|
const {siteConfig} = useDocusaurusContext();
|
||||||
return (
|
return (
|
||||||
<Layout
|
<Layout
|
||||||
title={`Hello from ${siteConfig.title}`}
|
title={`${siteConfig.title}`}
|
||||||
description="Description will go into a meta tag in <head />">
|
description="Documentation for the Corso backup tool">
|
||||||
<HomepageHeader />
|
<HomepageHeader />
|
||||||
<main>
|
<main>
|
||||||
<HomepageFeatures />
|
<HomepageFeatures />
|
||||||
|
|||||||
15
docs/static/img/corso.svg
vendored
Normal file
15
docs/static/img/corso.svg
vendored
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<svg width="1200pt" height="1200pt" version="1.1" viewBox="0 0 1200 1200" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
<g fill="#776960">
|
||||||
|
<path d="m896.52 174.84c-6.7188-32.641-27.48-54.84-44.52-54.84-12 0-22.441 10.559-25.32 36-7.2773 38.906-19.371 76.758-36 112.68 39.453 47.941 72.191 101.03 97.32 157.8 37.078-52.082 19.922-196.8 8.5195-251.64z"/>
|
||||||
|
<path d="m409.2 268.32c-16.703-35.891-28.797-73.754-36-112.68-2.3984-25.082-13.199-35.641-25.199-35.641-17.398 0-38.16 22.199-44.879 54.84-11.398 54.84-28.559 199.68 8.8789 252 25.141-56.961 57.832-110.28 97.199-158.52z"/>
|
||||||
|
<path d="m298.68 826.68c10.422 26.301 25.824 50.34 45.359 70.801 12.961-102.48 45.238-217.8 77.641-252 19.969-20.465 45.723-34.324 73.801-39.719 1.0586-1.8906 2.2617-3.6953 3.5977-5.4023 5.6406-33.719 28.922-138.84 100.92-138.84s96 105.12 100.92 138.48c1.3086 1.7227 2.5117 3.5273 3.5977 5.3984 28.078 5.3984 53.832 19.258 73.801 39.723 32.398 34.68 64.68 150 77.641 252 19.508-20.461 34.941-44.449 45.48-70.68 24-62.52-6.1211-308.04-12-343.32s-87.48-204-156-241.2c-20.027-10.789-42.414-16.441-65.16-16.441-23.75 0.16016-47.133 5.8711-68.281 16.68-21.137-10.812-44.539-16.445-68.281-16.441-22.707 0.003906-45.059 5.6523-65.039 16.441-68.641 36.719-150.36 205.92-156 241.2-5.6406 35.281-36.121 280.8-12 343.32zm458.4-366.24c13.406 0 26.262 5.3281 35.738 14.809 9.4766 9.4844 14.793 22.344 14.785 35.75-0.011718 13.406-5.3516 26.258-14.84 35.727-9.4922 9.4688-22.355 14.773-35.762 14.754-13.406-0.023438-26.254-5.3711-35.715-14.867-9.4609-9.5-14.758-22.367-14.727-35.773 0.03125-13.379 5.3711-26.195 14.84-35.645 9.4727-9.4492 22.305-14.754 35.68-14.754zm-235.56-174c2.3984 0 53.281-2.0391 78.48 25.559 25.199-27.602 75.961-25.559 78.48-25.559 4.9688 0.23047 8.8125 4.4492 8.5781 9.418-0.23047 4.9727-4.4492 8.8125-9.418 8.582 0 0-55.078-2.1602-69.602 27.238l-0.96094 1.4414c-0.73047 0.76953-1.582 1.418-2.5195 1.918h-0.95703c-1.1289 0.53516-2.3555 0.82031-3.6016 0.83984-1.2461-0.019531-2.4727-0.30469-3.6016-0.83984h-0.60156 0.003906c-0.9375-0.5-1.7891-1.1484-2.5195-1.918l-0.96094-1.4414c-14.641-29.398-69-27.121-69.602-27.238-4.9023 0.13672-9.0391-3.625-9.3594-8.5195-0.27734-4.8438 3.332-9.0391 8.1602-9.4805zm-29.52 67.32c3.4805 0 77.762-5.2812 108 39.602 30.121-44.879 104.4-39.961 108-39.602 5.0352 0.39453 8.7969 4.8008 8.3984 9.8398-0.39453 5.0352-4.8008 8.7969-9.8398 8.3984-0.83984 0-81.84-5.5195-98.039 44.52v0.83984 0.96094c-0.33984 0.62891-0.78906 1.1992-1.3203 1.6797 0 0 0 0.60156-0.83984 0.71875-0.73047 0.74219-1.6406 1.2773-2.6406 1.5625-1.8086 0.47656-3.7109 0.47656-5.5195 0-1-0.28516-1.9102-0.82031-2.6406-1.5625l-0.83984-0.71875c-0.53125-0.48047-0.97656-1.0508-1.3203-1.6797v-0.96094-0.83984c-18.117-50.398-99.117-44.52-99.957-44.52-5.0391 0.39844-9.4453-3.3633-9.8398-8.3984-0.39844-5.0391 3.3633-9.4453 8.3984-9.8398zm-50.16 106.68c13.406 0 26.262 5.3281 35.738 14.809 9.4727 9.4844 14.793 22.344 14.781 35.75s-5.3477 26.258-14.84 35.727c-9.4883 9.4688-22.355 14.773-35.758 14.754-13.406-0.023438-26.254-5.3711-35.715-14.867-9.4609-9.5-14.758-22.367-14.727-35.773 0.03125-13.398 5.3828-26.234 14.883-35.688 9.4961-9.4531 22.359-14.746 35.758-14.711z"/>
|
||||||
|
<path d="m542.4 1020.6c37.387 12.477 77.816 12.477 115.2 0-29.52-46.32-48-110.28-57.602-168.84-9.8398 58.559-28.078 122.52-57.602 168.84z"/>
|
||||||
|
<path d="m710.04 625.44v0.71875c0 67.199-76.922 93.238-101.16 99.719v26.641c0.12109 106.68 45 315.48 148.8 315.48h16.078 0.003907c17.312 1.9688 34.844-0.25391 51.117-6.4805 6.4805-3 12-14.039 15.238-30.961 17.879-90.602-29.039-324-75-373.68h0.003906c-15.125-15.34-34.18-26.219-55.082-31.438z"/>
|
||||||
|
<path d="m591 725.88c-24-6.4805-101.28-32.52-101.16-99.719v-0.83984c-20.949 5.3633-40.012 16.406-55.078 31.918-45.84 49.082-92.762 283.08-74.762 373.68 3.2383 16.922 8.7617 27.961 15.238 30.961v-0.003906c16.277 6.2266 33.809 8.4492 51.121 6.4805h16.078c103.8 0 148.68-208.8 148.68-315.48z"/>
|
||||||
|
<path d="m679.2 583.68c-9-38.879-31.199-103.68-79.199-103.68s-70.199 65.281-79.199 104.16c25.461-9.3945 52.578-13.48 79.68-12 26.75-1.5742 53.539 2.3477 78.719 11.52z"/>
|
||||||
|
<path d="m441.96 543.36c8.625 0 16.895-3.4258 22.996-9.5234 6.0977-6.0977 9.5234-14.371 9.5234-22.996s-3.4258-16.895-9.5234-22.996c-6.1016-6.0977-14.371-9.5234-22.996-9.5234s-16.898 3.4258-22.996 9.5234c-6.0977 6.1016-9.5234 14.371-9.5234 22.996-0.035156 8.6367 3.3828 16.926 9.4883 23.031 6.1055 6.1055 14.395 9.5195 23.031 9.4883z"/>
|
||||||
|
<path d="m757.08 543.36c8.625 0 16.898-3.4258 22.996-9.5234 6.0977-6.0977 9.5273-14.371 9.5273-22.996s-3.4297-16.895-9.5273-22.996c-6.0977-6.0977-14.371-9.5234-22.996-9.5234-8.6211 0-16.895 3.4258-22.992 9.5234-6.1016 6.1016-9.5273 14.371-9.5273 22.996-0.03125 8.6367 3.3867 16.926 9.4922 23.031 6.1055 6.1055 14.395 9.5195 23.027 9.4883z"/>
|
||||||
|
<path d="m507.84 626.28c0 49.68 57.48 72.961 82.559 80.641-4.3203-45.602-33.121-48-34.441-48h0.003907c-4.5703-0.73438-7.8398-4.8125-7.5586-9.4297 0.27734-4.6211 4.0117-8.2734 8.6367-8.4531 18.91 2.5938 35.148 14.746 42.961 32.16 7.6523-17.645 23.918-30.051 42.961-32.758 4.9062-0.21094 9.0977 3.5039 9.4805 8.3984 0.16406 2.375-0.63281 4.7188-2.2148 6.5-1.5781 1.7852-3.8086 2.8555-6.1875 2.9805-1.4414 0-30.121 3.2383-34.441 48 25.078-7.6797 82.68-30.961 82.559-80.641h0.003906c-0.10938-6.7656-3.0742-13.172-8.1602-17.641-18.961-18.121-66.719-19.801-84-18.961h-7.8008c-21.359 0-60 3.3594-76.922 19.199l0.003906 0.003906c-4.9141 4.6758-7.6172 11.219-7.4414 18z"/>
|
||||||
|
</g>
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 5.3 KiB |
Loading…
x
Reference in New Issue
Block a user