[Archived] Archived WIP of vielle.dev

Apply prettier to SVG files

TODO: fix arrow/replace homepage

+76 -33
+2 -4
.prettierrc
··· 1 1 { 2 - "plugins": [ 3 - "prettier-plugin-astro" 4 - ], 2 + "plugins": ["prettier-plugin-astro"], 5 3 "overrides": [ 6 4 { 7 5 "files": "*.astro", ··· 16 14 } 17 15 } 18 16 ] 19 - } 17 + }
+1 -1
public/favicon.svg
··· 1 1 <svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 128 128"> 2 - <text>🪤</text> 2 + <text>🪤</text> 3 3 </svg>
+8 -4
src/assets/arrow.svg
··· 2 2 width="100" 3 3 height="20" 4 4 viewBox="0 0 26.458333 5.2916666" 5 - class={className} 6 - style={style} 5 + class="{className}" 6 + style="{style}" 7 7 > 8 8 <defs id="arrow"> 9 9 <marker ··· 17 17 preserveAspectRatio="xMidYMid" 18 18 markerUnits="strokeWidth" 19 19 > 20 - <path d="M 0,0 5,-5 -12.5,0 5,5 Z" transform="scale(-0.5)" id="path6" 20 + <path 21 + d="M 0,0 5,-5 -12.5,0 5,5 Z" 22 + transform="scale(-0.5)" 23 + id="path6" 21 24 ></path> 22 25 </marker> 23 26 </defs> ··· 27 30 > 28 31 <path 29 32 d="m 0.24644479,2.3103471 c 0,0 4.07342911,2.4441516 11.16257621,2.4441516 7.089149,0 11.162682,-2.4441342 11.162682,-2.4441342" 30 - id="path1"></path> 33 + id="path1" 34 + ></path> 31 35 </g> 32 36 </svg> 33 37
+11 -5
src/assets/balloon-glint.svg
··· 1 - <svg xmlns="http://www.w3.org/2000/svg" width="210mm" height="297mm" viewBox="0 0 210 297"> 1 + <svg 2 + xmlns="http://www.w3.org/2000/svg" 3 + width="210mm" 4 + height="297mm" 5 + viewBox="0 0 210 297" 6 + > 2 7 <g> 3 8 <path 4 - style="fill:#ffffff;" 5 - d="M 9.2929728,1.5456421 C 5.8272482,2.0424561 2.9819023,4.5085073 1.7466634,7.8119263 l 2.361613,1.0051066 C 5.0089649,6.2523257 7.1627996,4.4036314 9.7544434,4.0757202 9.7129319,3.7094167 9.64465,3.2547364 9.5239665,2.6814901 9.4170573,2.1736713 9.3470099,1.8242883 9.2929728,1.5456421 Z" 6 - /></g> 7 - </svg> 9 + style="fill: #ffffff" 10 + d="M 9.2929728,1.5456421 C 5.8272482,2.0424561 2.9819023,4.5085073 1.7466634,7.8119263 l 2.361613,1.0051066 C 5.0089649,6.2523257 7.1627996,4.4036314 9.7544434,4.0757202 9.7129319,3.7094167 9.64465,3.2547364 9.5239665,2.6814901 9.4170573,2.1736713 9.3470099,1.8242883 9.2929728,1.5456421 Z" 11 + /> 12 + </g> 13 + </svg>
+17 -1
src/assets/hamburger.svg
··· 1 - <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-menu-icon lucide-menu"><title><!-- no alt text as used for buttons --></title><path d="M4 12h16"/><path d="M4 18h16"/><path d="M4 6h16"/></svg> 1 + <svg 2 + xmlns="http://www.w3.org/2000/svg" 3 + width="24" 4 + height="24" 5 + viewBox="0 0 24 24" 6 + fill="none" 7 + stroke="currentColor" 8 + stroke-width="2" 9 + stroke-linecap="round" 10 + stroke-linejoin="round" 11 + class="lucide lucide-menu-icon lucide-menu" 12 + > 13 + <title><!-- no alt text as used for buttons --></title> 14 + <path d="M4 12h16" /> 15 + <path d="M4 18h16" /> 16 + <path d="M4 6h16" /> 17 + </svg>
+19 -15
src/assets/rss.svg
··· 1 1 <svg 2 - width="128" 3 - height="128" 4 - viewBox="0 0 256 256" 5 - xmlns="http://www.w3.org/2000/svg"> 2 + width="128" 3 + height="128" 4 + viewBox="0 0 256 256" 5 + xmlns="http://www.w3.org/2000/svg" 6 + > 6 7 <circle 7 - cx="35.10857" 8 - cy="220.89143" 9 - fill="#FFF" 10 - style="fill:#fff;stroke-width:1.46286" 11 - r="35.10857" /> 8 + cx="35.10857" 9 + cy="220.89143" 10 + fill="#FFF" 11 + style="fill: #fff; stroke-width: 1.46286" 12 + r="35.10857" 13 + /> 12 14 <path 13 - d="m 159.69143,256 h -29.73714 c -5.52285,0 -9.95635,-4.48615 -10.40997,-9.98877 C 114.7398,187.72951 68.270485,141.2602 9.9887708,136.45568 4.486146,136.00206 0,131.56856 0,126.04571 V 96.308571 C 0,90.785724 4.4816248,86.277825 9.9944073,86.598011 95.753367,91.578939 164.42106,160.24663 169.40199,246.00559 169.72218,251.51838 165.21428,256 159.69143,256 Z" 14 - fill="#FFF" 15 - style="fill:#fff;stroke-width:1.46286" /> 15 + d="m 159.69143,256 h -29.73714 c -5.52285,0 -9.95635,-4.48615 -10.40997,-9.98877 C 114.7398,187.72951 68.270485,141.2602 9.9887708,136.45568 4.486146,136.00206 0,131.56856 0,126.04571 V 96.308571 C 0,90.785724 4.4816248,86.277825 9.9944073,86.598011 95.753367,91.578939 164.42106,160.24663 169.40199,246.00559 169.72218,251.51838 165.21428,256 159.69143,256 Z" 16 + fill="#FFF" 17 + style="fill: #fff; stroke-width: 1.46286" 18 + /> 16 19 <path 17 - d="M 204.56032,246.00383 C 199.50657,140.85082 115.14918,56.493425 9.9961653,51.439683 4.4802157,51.174582 0,46.722847 0,41.2 V 10 C 0,4.4771525 4.4791086,-0.02028209 9.9975497,0.19163322 143.43194,5.3156873 250.68431,112.56806 255.80837,246.00245 256.02028,251.52089 251.52285,256 246,256 h -31.2 c -5.52285,0 -9.97458,-4.48022 -10.23968,-9.99617 z" 18 - fill="#FFF" 19 - style="fill:#fff;stroke-width:1.46286" /> 20 + d="M 204.56032,246.00383 C 199.50657,140.85082 115.14918,56.493425 9.9961653,51.439683 4.4802157,51.174582 0,46.722847 0,41.2 V 10 C 0,4.4771525 4.4791086,-0.02028209 9.9975497,0.19163322 143.43194,5.3156873 250.68431,112.56806 255.80837,246.00245 256.02028,251.52089 251.52285,256 246,256 h -31.2 c -5.52285,0 -9.97458,-4.48022 -10.23968,-9.99617 z" 21 + fill="#FFF" 22 + style="fill: #fff; stroke-width: 1.46286" 23 + /> 20 24 </svg>
+16 -1
src/assets/x.svg
··· 1 - <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-x-icon lucide-x"><title><!-- no alt text as used for buttons --></title><path d="M18 6 6 18"/><path d="m6 6 12 12"/></svg> 1 + <svg 2 + xmlns="http://www.w3.org/2000/svg" 3 + width="24" 4 + height="24" 5 + viewBox="0 0 24 24" 6 + fill="none" 7 + stroke="currentColor" 8 + stroke-width="2" 9 + stroke-linecap="round" 10 + stroke-linejoin="round" 11 + class="lucide lucide-x-icon lucide-x" 12 + > 13 + <title><!-- no alt text as used for buttons --></title> 14 + <path d="M18 6 6 18" /> 15 + <path d="m6 6 12 12" /> 16 + </svg>
+1 -1
src/components/blog/Background.astro
··· 8 8 Astro.cookies.get("timezone")?.value ?? 9 9 Astro.request.headers.get("Date") ?? 10 10 Astro.request.headers.get("date") ?? // idk if it cares about capitals so Both 11 - Date.now() 11 + Date.now(), 12 12 ); 13 13 14 14 const accurateHours =
+1 -1
src/pages/blog/index.astro
··· 37 37 top: 0; 38 38 width: 100%; 39 39 z-index: 999; 40 - padding: .5rem 1rem; 40 + padding: 0.5rem 1rem; 41 41 display: flex; 42 42 align-items: center; 43 43 justify-content: space-between;