disable optimize to fix svg problem
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
"scripts": {
|
||||
"test": "echo \"Error: no test specified\" && exit 1",
|
||||
"start": "parcel --public-url / index.pug --open",
|
||||
"build": "parcel build index.pug",
|
||||
"build": "parcel build index.pug --no-minify",
|
||||
"format": "npx prettier --write src/**/*.{ts,pug} index.pug package.json",
|
||||
"deploy": "make deploy"
|
||||
},
|
||||
|
||||
@@ -7,7 +7,7 @@ mixin Link(href, label, target, rel)
|
||||
block
|
||||
|
||||
mixin Svg
|
||||
svg.w-8.h-8(aria-hidden="true", fill="currentColor", viewbox="0 0 24 24")
|
||||
svg.w-24.h-24(class="sm:w-8 sm:h-8", aria-hidden="true", fill="currentColor", viewbox="0 0 24 24")
|
||||
block
|
||||
|
||||
footer#footer.bg-nls-black.text-white
|
||||
@@ -25,6 +25,7 @@ footer#footer.bg-nls-black.text-white
|
||||
fill-rule="evenodd",
|
||||
style="fill: currentColor"
|
||||
)
|
||||
|
||||
+Link(footer.linkedinUrl, 'linkedin', '_blank', 'noopener noreferrer')
|
||||
+Svg
|
||||
path(
|
||||
@@ -33,25 +34,21 @@ footer#footer.bg-nls-black.text-white
|
||||
fill-rule="evenodd",
|
||||
style="fill: currentColor"
|
||||
)
|
||||
|
||||
+Link(footer.xingUrl, 'xing', '_blank', 'noopener noreferrer')
|
||||
+Svg
|
||||
path(
|
||||
d="M18.188 0c-.517 0-.741.325-.927.66 0 0-7.455 13.224-7.702 13.657.015.024 4.919 9.023 4.919 9.023.17.308.436.66.967.66h3.454c.211 0 .375-.078.463-.22.089-.151.089-.346-.009-.536l-4.879-8.916c-.004-.006-.004-.016 0-.022L22.139.756c.095-.191.097-.387.006-.535C22.056.078 21.894 0 21.686 0h-3.498zM3.648 4.74c-.211 0-.385.074-.473.216-.09.149-.078.339.02.531l2.34 4.05c.004.01.004.016 0 .021L1.86 16.051c-.099.188-.093.381 0 .529.085.142.239.234.45.234h3.461c.518 0 .766-.348.945-.667l3.734-6.609-2.378-4.155c-.172-.315-.434-.659-.962-.659H3.648v.016z",
|
||||
style="fill: currentColor"
|
||||
)
|
||||
|
||||
a.transition-colors.text-white.uppercase.font-semibold(
|
||||
href=footer.emailLink,
|
||||
class="hover:text-amber-300",
|
||||
rel="noopener noreferrer",
|
||||
onclick="umami.track('email clicked', { position: 'footer', visitDuration: getVisitDuration() })"
|
||||
) #{footer.emailText}
|
||||
|
||||
+Link("https://git.dailysh.it/nextlevelshit/dailysh.it", "gitea", "_blank", "noopener noreferrer")
|
||||
| #{footer.gitea}
|
||||
// endregion
|
||||
a(
|
||||
href=footer.riskUrl,
|
||||
aria-label=footer.riskAriaLabel,
|
||||
title=footer.riskTitle,
|
||||
onclick="umami.track('easter egg clicked', { category: 'footer', position: 'footer', visitDuration: getVisitDuration() })"
|
||||
)
|
||||
img.w-12.ml-auto(src=footer.riskImgSrc, alt=footer.riskImgAlt, class="mt-[1000vh]")
|
||||
|
||||
@@ -100,7 +100,6 @@ head
|
||||
// endregion
|
||||
|
||||
link(rel="preconnect", href="https://fonts.googleapis.com")
|
||||
link(rel="preconnect", href="https://fonts.gstatic.com", crossorigin)
|
||||
link(
|
||||
rel="stylesheet",
|
||||
href="https://fonts.googleapis.com/css2?family=Afacad+Flux:wght@100..1000&family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&display=swap"
|
||||
|
||||
Reference in New Issue
Block a user