From 3f88e7bf563c8c97e65b3504f0baf578b121d445 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bastian=20M=C3=BCller?= Date: Fri, 6 Sep 2024 10:29:16 -0700 Subject: [PATCH] add logo --- docusaurus.config.js | 8 +--- src/pages/index.js | 4 +- static/img/logo.svg | 91 ++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 94 insertions(+), 9 deletions(-) create mode 100755 static/img/logo.svg diff --git a/docusaurus.config.js b/docusaurus.config.js index 12e5018..eacb239 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -89,18 +89,12 @@ const config = { themeConfig: /** @type {import('@docusaurus/preset-classic').ThemeConfig} */ ({ - // TODO Replace with your project's social card - //image: 'img/docusaurus-social-card.jpg', navbar: { - title: "Cadence", - /* TODO logo: { - alt: 'My Site Logo', + alt: 'Cadence', src: 'img/logo.svg', }, - */ items: [ - //{to: '/blog', label: 'Blog', position: 'left'}, { label: "Learn", to: "/learn", diff --git a/src/pages/index.js b/src/pages/index.js index 6694a6e..fab1140 100644 --- a/src/pages/index.js +++ b/src/pages/index.js @@ -17,7 +17,7 @@ import powerAnimation from "./power.json"; import learnAnimation from "./learn.json"; import styles from './index.module.css'; - +import Logo from '@site/static/img/logo.svg'; const example = `access(all) resource NFT { @@ -83,7 +83,7 @@ export default function Home() { Cadence -

Cadence

+

Forge the future of decentralized apps.
diff --git a/static/img/logo.svg b/static/img/logo.svg new file mode 100755 index 0000000..e27f2cd --- /dev/null +++ b/static/img/logo.svg @@ -0,0 +1,91 @@ + + + + + + + + + + + + + + + + + + + + + + +