Skip to content

Commit

Permalink
feat: Add icon assets to website
Browse files Browse the repository at this point in the history
  • Loading branch information
SakuraIsayeki committed Aug 13, 2023
1 parent 5a7eede commit 77ed2bb
Show file tree
Hide file tree
Showing 14 changed files with 66,624 additions and 14 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 9 additions & 0 deletions nodsoft_moltenobsidian_web/public/browserconfig.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<browserconfig>
<msapplication>
<tile>
<square150x150logo src="/mstile-150x150.png"/>
<TileColor>#603cba</TileColor>
</tile>
</msapplication>
</browserconfig>
Binary file added nodsoft_moltenobsidian_web/public/favicon-16x16.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added nodsoft_moltenobsidian_web/public/favicon.ico
Binary file not shown.
9 changes: 0 additions & 9 deletions nodsoft_moltenobsidian_web/public/favicon.svg

This file was deleted.

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
66,573 changes: 66,573 additions & 0 deletions nodsoft_moltenobsidian_web/public/safari-pinned-tab.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
19 changes: 19 additions & 0 deletions nodsoft_moltenobsidian_web/public/site.webmanifest
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"name": "Molten Obsidian",
"short_name": "Molten Obsidian",
"icons": [
{
"src": "/android-chrome-192x192.png",
"sizes": "192x192",
"type": "image/png"
},
{
"src": "/android-chrome-512x512.png",
"sizes": "512x512",
"type": "image/png"
}
],
"theme_color": "#ffffff",
"background_color": "#ffffff",
"display": "standalone"
}
8 changes: 7 additions & 1 deletion nodsoft_moltenobsidian_web/src/components/BaseHead.astro
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,13 @@ const { title, description} = Astro.props;
<!-- Global Metadata -->
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width,initial-scale=1" />
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
<link rel="icon" href="/favicon.ico" />
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
<link rel="manifest" href="/site.webmanifest">
<meta name="msapplication-TileColor" content="#da532c">
<meta name="theme-color" content="#ffffff">
<meta name="generator" content={Astro.generator} />

<!-- Canonical URL -->
Expand Down
1 change: 1 addition & 0 deletions nodsoft_moltenobsidian_web/src/components/Sidebar.astro
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ export const manifestClient = VaultManifestClient.fromManifest(manifest as Vault

<aside>
<h2 class="navbar-brand">
<img src="/android-chrome-192x192.png">
<a href="/">{SITE_TITLE}</a>
</h2>

Expand Down
19 changes: 15 additions & 4 deletions nodsoft_moltenobsidian_web/src/components/Sidebar.astro.scss
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,21 @@ aside {
display: none;
}

.navbar-brand > a {
text-decoration: none;
color: white;
padding-left: 2rem;
.navbar-brand {
display: flex;
flex-direction: row;
gap: 1rem;
align-items: center;

img {
// Fit to parent
width: 4rem;
}

a {
text-decoration: none;
color: white;
}
}

nav {
Expand Down

0 comments on commit 77ed2bb

Please sign in to comment.