diff options
Diffstat (limited to 'src/components')
| -rw-r--r-- | src/components/BaseHead.astro | 20 | ||||
| -rw-r--r-- | src/components/layout/Header.astro | 114 |
2 files changed, 120 insertions, 14 deletions
diff --git a/src/components/BaseHead.astro b/src/components/BaseHead.astro index ceb55ea..d65dd9a 100644 --- a/src/components/BaseHead.astro +++ b/src/components/BaseHead.astro @@ -83,4 +83,24 @@ const socialImageURL = new URL(ogImage ? ogImage : "/social-card.png", Astro.url ) } +{/* Plausible Analytics */} +<link rel="dns-prefetch" href="//analytics.craftknight.com" /> +<script + type="text/javascript" + defer + data-domain="rycerz.xyz" + data-api="https://analytics.craftknight.com/api/event" + data-cfasync="false" + src="https://analytics.craftknight.com/js/plausible.outbound-links.js?ver=2.1.3" + id="plausible"></script> +<script type="text/javascript" id="plausible-analytics-js-after"> + /* <![CDATA[ */ + window.plausible = + window.plausible || + function () { + (window.plausible.q = window.plausible.q || []).push(arguments); + }; + /* ]]> */ +</script> + <meta content={Astro.generator} name="generator" /> diff --git a/src/components/layout/Header.astro b/src/components/layout/Header.astro index e7a9a1d..0b03986 100644 --- a/src/components/layout/Header.astro +++ b/src/components/layout/Header.astro @@ -13,24 +13,110 @@ import { siteConfig } from "../../site.config"; href="/" > <svg + xmlns="http://www.w3.org/2000/svg" + class="me-3 h-15 w-9 sm:absolute sm:-start-18 sm:me-0 sm:h-16 sm:w-18" aria-hidden="true" - class="me-3 h-10 w-6 sm:absolute sm:-start-18 sm:me-0 sm:h-20 sm:w-12" fill="none" focusable="false" - viewBox="0 0 272 480" - xmlns="http://www.w3.org/2000/svg" + viewBox="0 0 360 360" > - <title>Logo</title> - <path - d="M181.334 93.333v-40L226.667 80v40l-45.333-26.667ZM136.001 53.333 90.667 26.667v426.666L136.001 480V53.333Z" - fill="#B04304"></path> - <path - d="m136.001 119.944 45.333-26.667 45.333 26.667-45.333 26.667-45.333-26.667ZM90.667 26.667 136.001 0l45.333 26.667-45.333 26.666-45.334-26.666ZM181.334 53.277l45.333-26.666L272 53.277l-45.333 26.667-45.333-26.667ZM0 213.277l45.333-26.667 45.334 26.667-45.334 26.667L0 213.277ZM136 239.944l-45.333-26.667v53.333L136 239.944Z" - fill="#FF5D01"></path> - <path - d="m136 53.333 45.333-26.666v120L226.667 120V80L272 53.333V160l-90.667 53.333v240L136 480V306.667L45.334 360V240l45.333-26.667v53.334L136 240V53.333Z" - fill="#53C68C"></path> - <path d="M45.334 240 0 213.334v120L45.334 360V240Z" fill="#B04304"></path> + <defs></defs> + <g id="group0" transform="translate(70.8749995138331, 7.01999995184633)" fill="none"> + <path + id="shape0" + transform="translate(13.2299999092488, 0)" + fill="#306b4e" + fill-rule="evenodd" + stroke="#306b4e" + stroke-width="2.16" + stroke-linecap="square" + stroke-linejoin="bevel" + d="M0 91.53C32.9712 58.5548 0.838759 20.1965 65.61 7.155C90.6937 0.313979 85.2036 3.0468 97.2 0C98.3977 0.598844 109.07 14.0691 108.675 15.255C108.457 17.8034 108.106 21.0139 107.152 22.7948C88.7999 18.6814 63.7461 26.7779 52.11 35.505C18.588 76.6103 48.6792 86.5536 22.005 95.445C18.7941 96.5153 0.27 93.935 0.27 91.53" + ></path> + <path + id="shape1" + transform="translate(48.5999996666284, 29.3959603876917)" + fill="#306b4e" + fill-rule="evenodd" + stroke="#306b4e" + stroke-width="2.16" + stroke-linecap="square" + stroke-linejoin="bevel" + d="M0 109.114L8.1 96.559L8.64 40.939C35.4994 -24.1754 90.6285 2.75644 101.79 24.199L40.5 41.749L29.835 56.599L49.005 101.689L41.04 99.259L19.305 114.784C19.125 114.874 12.69 112.984 0 109.114Z" + ></path> + <path + id="shape2" + transform="translate(89.2349993878927, 58.9949995953239)" + fill="#306b4e" + fill-rule="evenodd" + stroke="#306b4e" + stroke-width="2.16" + stroke-linecap="square" + stroke-linejoin="bevel" + d="M4.86 20.385L70.335 0L79.245 22.815L34.02 24.705L37.8 34.02L87.615 34.56L66.42 93.825L18.09 75.33L0 27.405C0 27.405 1.62 25.065 4.86 20.385Z" + ></path> + <path + id="shape3" + transform="translate(0, 151.803088248821)" + fill="#306b4e" + fill-rule="evenodd" + stroke="#306b4e" + stroke-width="2.16" + stroke-linecap="square" + stroke-linejoin="bevel" + d="M73.17 6.01191C59.7458 10.5419 54.7859 14.4672 22.815 20.3219L22.275 41.7869L0 32.8769C22.0145 1.58636 46.4045 -7.36864 73.17 6.01191Z" + ></path> + </g><path + id="shape4" + transform="translate(101.789996268193, 159.569994149873)" + fill="#b04304" + fill-rule="evenodd" + stroke="#b04304" + stroke-width="2.16" + stroke-linecap="square" + stroke-linejoin="bevel" + d="M0 26.19C25.2141 21.5944 52.0199 14.6103 79.38 0C102.4 9.84952 124.488 20.1337 157.95 25.11L157.14 71.28C72.4992 62.1903 35.5629 78.3158 0.27 95.31C0.99 94.95 0.9 71.91 0 26.19Z" + ></path><path + id="shape5" + transform="translate(154.169994347847, 243.809991061482)" + fill="#b04304" + fill-rule="evenodd" + stroke="#b04304" + stroke-width="2.16" + stroke-linecap="square" + stroke-linejoin="bevel" + d="M0 92.34L26.73 111.24C68.8327 85.2955 105.901 55.7671 106.11 0C46.5948 1.94824 11.2248 32.7282 0 92.34Z" + ></path><path + id="shape6" + transform="translate(117.989995674272, 280.709989708662)" + fill="#b04304" + fill-rule="evenodd" + stroke="#b04304" + stroke-width="2.16" + stroke-linecap="square" + stroke-linejoin="bevel" + d="M0 15.03L7.02 24.93C9.86684 17.4815 14.7638 11.673 19.98 6.12L11.43 0C8.46106 1.32415 4.65106 6.33415 0 15.03Z" + ></path><path + id="shape7" + transform="translate(141.209994822985, 257.489990559949)" + fill="#b04304" + fill-rule="evenodd" + stroke="#b04304" + stroke-width="2.16" + stroke-linecap="square" + stroke-linejoin="bevel" + d="M0 12.51L7.47 17.73C12.2932 12.4756 18.0945 8.93282 23.85 5.31L17.19 0C14.5911 0.898115 8.86111 5.06811 0 12.51Z" + ></path><path + id="shape8" + transform="translate(172.979993658239, 247.469668124269)" + fill="#b04304" + fill-rule="evenodd" + stroke="#b04304" + stroke-width="2.16" + stroke-linecap="square" + stroke-linejoin="bevel" + d="M0 4.44032L4.68 8.13032C8.94565 5.54974 14.0379 4.34681 18.99 2.91032L17.64 0.0303228C15.7496 -0.234517 9.86959 1.23548 0 4.44032Z" + ></path> </svg> <span class="text-xl font-bold sm:text-2xl">{siteConfig.title}</span> </a> |
