1
0
Fork 0
mirror of https://github.com/seanmorley15/AdventureLog.git synced 2025-07-19 12:59:36 +02:00

Refactor Docusaurus configuration and frontend components

- Update the title and logo in Docusaurus configuration
- Add Discord and Support links to the navbar
- Update the label and href for the GitHub link in the footer
- Remove redundant code and comments in ImageInfoModal component
- Update the text and link in ImageInfoModal component
- Update the conditional statement in +page.svelte file
- Comment out the unused code in settings page
This commit is contained in:
Sean Morley 2024-10-25 14:20:51 -04:00
parent 874a384477
commit 78ab387055
5 changed files with 36 additions and 19 deletions

View file

@ -3,7 +3,7 @@ import type { Config } from "@docusaurus/types";
import type * as Preset from "@docusaurus/preset-classic";
const config: Config = {
title: "Adventure Log",
title: "AdventureLog",
tagline: "Embark, Explore, Remember. 🗺️",
favicon: "img/favicon.png",
@ -65,9 +65,9 @@ const config: Config = {
// Replace with your project's social card
image: "img/docusaurus-social-card.jpg",
navbar: {
title: "Adventure Log Docs",
title: "AdventureLog Docs",
logo: {
alt: "My Site Logo",
alt: "AdventureLog Logo",
src: "img/favicon.png",
},
items: [
@ -79,10 +79,20 @@ const config: Config = {
},
// { to: "/blog", label: "Blog", position: "left" },
{
href: "https://github.com/seanmorley15/adventurelog",
to: "https://github.com/seanmorley15/adventurelog",
label: "GitHub",
position: "right",
},
{
to: "https://discord.gg/wRbQ9Egr8C",
label: "Discord",
position: "right",
},
{
to: "/support",
label: "Support 💖",
position: "right",
},
],
},
footer: {
@ -108,6 +118,14 @@ const config: Config = {
label: "GitHub",
href: "https://github.com/seanmorley15/adventurelog",
},
{
label: "Discord",
href: "https://discord.gg/wRbQ9Egr8C",
},
{
label: "Support 💖",
to: "/support",
},
],
},
// {