Skip to content

Commit

Permalink
feat: Various fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
SakuraIsayeki committed Nov 17, 2023
1 parent 55582fb commit b61026e
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
5 changes: 3 additions & 2 deletions nodsoft_moltenobsidian_web/astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@ import { defineConfig } from 'astro/config';

// https://astro.build/config
export default defineConfig({
site: 'https://nodsoft.github.io/moltenobsidian/',
base: '/moltenobsidian',
site: 'https://nodsoft.github.io',
base: '/moltenobsidian/',
root: './nodsoft_moltenobsidian_web',
output: 'static'
});
4 changes: 3 additions & 1 deletion nodsoft_moltenobsidian_web/src/components/Sidebar.astro
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
---
import "./Sidebar.astro.scss"
import NavLink from './NavLink.astro';
import { Image } from 'astro:assets';
import logo from '../../public/android-chrome-192x192.png'
import { SITE_TITLE } from '../consts';
import VaultNavTree from "./vault/VaultNavTree.astro";
import { buildVaultTree } from "../vault-utils";
Expand All @@ -15,7 +17,7 @@ export const manifestClient = VaultManifestClient.fromManifest(manifest as Vault

<aside class="collapsed">
<h2 class="navbar-brand">
<img src="/android-chrome-192x192.png" alt="MoltenObsidian Logo" />
<Image src={logo} alt="MoltenObsidian Logo" />
<a style="flex-grow: 1;" href="/">{SITE_TITLE}</a>
<button class="sidebar-toggler" onclick="toggleSidebar">
<span class="sidebar-toggler-icon"></span>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ aside {
img {
// Fit to parent
width: 4rem;
height: auto;
}

a {
Expand Down
2 changes: 1 addition & 1 deletion nodsoft_moltenobsidian_web/vault/Index.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ order: 10
---

<div class="flex-row-xxl" style="align-items: center;">
<img src="/icon.png" alt="MoltenObsidian icon" style="height: 400px" />
<img src="icon.png" alt="MoltenObsidian icon" style="height: 400px" />

<div>
<h1 class="text-gradient" style="margin: initial">MoltenObsidian</h1>
Expand Down

0 comments on commit b61026e

Please sign in to comment.