Merge pull request #402 from sysadminsmedia/katos/fix-logo-size

FIX: Set SVG logo size to fix logo not showing on Safari
This commit is contained in:
Katos
2024-12-26 18:55:10 +00:00
committed by GitHub
3 changed files with 10 additions and 10 deletions

View File

@@ -3,14 +3,14 @@
viewBox="0 0 10817 9730"
xmlns="http://www.w3.org/2000/svg"
xml:space="preserve"
height="250"
width="250"
style="
fill-rule: evenodd;
clip-rule: evenodd;
stroke-linecap: round;
stroke-linejoin: round;
stroke-miterlimit: 5.42683;
height: 250px; /* Set the height directly in the SVG */
width: 250px; /* Set the width directly in the SVG */
"
>
<path

View File

@@ -25,13 +25,19 @@ describe("zeroTime", () => {
describe("factorRange", () => {
test("should return a range of dates", () => {
const [start, end] = factorRange(10);
// Start should be today
expect(start).toBeInstanceOf(Date);
expect(start.getFullYear()).toBe(new Date().getFullYear());
// End should be 10 days from now
expect(end).toBeInstanceOf(Date);
expect(end.getFullYear()).toBe(new Date().getFullYear());
// Set the future date so it works even in late December when the year changes
const futureDate = new Date();
futureDate.setDate(futureDate.getDate() + 10); // Adds 10 days to the current date
expect(end.getFullYear()).toBe(futureDate.getFullYear());
});
});

View File

@@ -8,13 +8,7 @@ export default defineNuxtConfig({
transpile: ["vue-i18n"],
},
modules: [
"@nuxtjs/tailwindcss",
"@pinia/nuxt",
"@vueuse/nuxt",
"@vite-pwa/nuxt",
"unplugin-icons/nuxt",
],
modules: ["@nuxtjs/tailwindcss", "@pinia/nuxt", "@vueuse/nuxt", "@vite-pwa/nuxt", "unplugin-icons/nuxt"],
nitro: {
devProxy: {