Fix favicon
Some checks failed
Deploy to Pages / Build (push) Has been cancelled
Deploy to Pages / Deploy (push) Has been cancelled

This commit is contained in:
Henry Hiles 2025-06-08 21:53:49 -04:00
parent ac08a0a96a
commit 3a13fd4f2f
Signed by: Henry-Hiles
SSH key fingerprint: SHA256:VKQUdS31Q90KvX7EkKMHMBpUspcmItAh86a+v7PGiIs
2 changed files with 32 additions and 10 deletions

View file

@ -1,8 +1,6 @@
import { defineConfig, passthroughImageService } from "astro/config" import { defineConfig, passthroughImageService } from "astro/config"
import starlight from "@astrojs/starlight" import starlight from "@astrojs/starlight"
const logo = "./src/images/icon.svg"
export default defineConfig({ export default defineConfig({
trailingSlash: "never", trailingSlash: "never",
build: { format: "directory" }, build: { format: "directory" },
@ -11,9 +9,9 @@ export default defineConfig({
title: "Federated Nexus", title: "Federated Nexus",
description: description:
"Federated Nexus is a community resource hosting multiple FOSS (especially federated) services, including Matrix and Forgejo.", "Federated Nexus is a community resource hosting multiple FOSS (especially federated) services, including Matrix and Forgejo.",
favicon: logo, favicon: "/images/icon.svg",
logo: { logo: {
src: logo, src: "./src/images/icon.svg",
}, },
social: [ social: [
{ {

View file

@ -9,9 +9,10 @@
id="svg1" id="svg1"
xml:space="preserve" xml:space="preserve"
inkscape:version="1.4.2 (ebf0e940d0, 2025-05-08)" inkscape:version="1.4.2 (ebf0e940d0, 2025-05-08)"
sodipodi:docname="transparentIcon.svg" sodipodi:docname="icon.svg"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg"><sodipodi:namedview xmlns:svg="http://www.w3.org/2000/svg"><sodipodi:namedview
id="namedview1" id="namedview1"
@ -24,18 +25,41 @@
inkscape:deskcolor="#505050" inkscape:deskcolor="#505050"
inkscape:document-units="mm" inkscape:document-units="mm"
inkscape:zoom="1.0847363" inkscape:zoom="1.0847363"
inkscape:cx="58.07863" inkscape:cx="57.61769"
inkscape:cy="214.3378" inkscape:cy="214.33781"
inkscape:window-width="1896" inkscape:window-width="1896"
inkscape:window-height="987" inkscape:window-height="963"
inkscape:window-x="35" inkscape:window-x="35"
inkscape:window-y="32" inkscape:window-y="32"
inkscape:window-maximized="0" inkscape:window-maximized="0"
inkscape:current-layer="layer1" /><defs inkscape:current-layer="layer1" /><defs
id="defs1" /><g id="defs1"><linearGradient
id="linearGradient10"
inkscape:collect="always"><stop
style="stop-color:#c7a312;stop-opacity:1;"
offset="0"
id="stop10" /><stop
style="stop-color:#26a0b3;stop-opacity:1;"
offset="1"
id="stop11" /></linearGradient><linearGradient
inkscape:collect="always"
xlink:href="#linearGradient10"
id="linearGradient11"
x1="20.031296"
y1="32.697563"
x2="90.709213"
y2="66.3423"
gradientUnits="userSpaceOnUse" /></defs><g
inkscape:label="Layer 1" inkscape:label="Layer 1"
inkscape:groupmode="layer" inkscape:groupmode="layer"
id="layer1"><path id="layer1"><rect
style="fill:url(#linearGradient11);fill-opacity:1;stroke:none;stroke-width:7.99999;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none"
id="rect10"
width="100"
height="100"
x="0"
y="0"
ry="28.294127" /><path
style="fill:none;fill-opacity:1;stroke:#ffffff;stroke-width:8;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none" style="fill:none;fill-opacity:1;stroke:#ffffff;stroke-width:8;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none"
d="M 19.377906,68.106953 80.937684,32.43771" d="M 19.377906,68.106953 80.937684,32.43771"
id="path10" /><path id="path10" /><path

Before

Width:  |  Height:  |  Size: 6 KiB

After

Width:  |  Height:  |  Size: 6.8 KiB

Before After
Before After