1
Fork 0

refactor(all): shadcn rewrite

This commit is contained in:
z0x 2025-02-16 18:17:42 -05:00
parent a3c7945750
commit e111bdffb4
34 changed files with 1003 additions and 173 deletions

BIN
public/apple-touch-icon.png Normal file

Binary file not shown.

After

(image error) Size: 4.5 KiB

Binary file not shown.

Before

(image error) Size: 4.1 KiB

Binary file not shown.

Before

(image error) Size: 358 B

Binary file not shown.

Before

(image error) Size: 673 B

View file

Before

(image error) Size: 1.4 KiB

After

(image error) Size: 1.4 KiB

Before After
Before After

60
public/cursor-light.svg Normal file
View file

@ -0,0 +1,60 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
width="64"
height="64"
viewBox="0 0 32 32"
version="1.1"
id="svg1"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg">
<defs
id="defs1">
<linearGradient
id="linearGradient2">
<stop
style="stop-color:#000000;stop-opacity:1;"
offset="0"
id="stop2" />
<stop
style="stop-color:#000000;stop-opacity:0;"
offset="1"
id="stop3" />
</linearGradient>
<radialGradient
xlink:href="#linearGradient2"
id="radialGradient3"
cx="16"
cy="16"
fx="16"
fy="16"
r="6"
gradientUnits="userSpaceOnUse" />
<filter
style="color-interpolation-filters:sRGB"
id="filter3"
x="-0.6"
y="-0.6"
width="2.2"
height="2.2">
<feGaussianBlur
stdDeviation="2 2"
result="blur"
id="feGaussianBlur3" />
</filter>
</defs>
<circle
style="fill:url(#radialGradient3);stroke-width:2;stroke-linejoin:round;filter:url(#filter3)"
id="path2"
cx="16"
cy="16"
r="4" />
<circle
style="fill:#000000;fill-opacity:1;stroke-width:2;stroke-linejoin:round"
id="path1"
cx="16"
cy="16"
r="2" />
</svg>

After

(image error) Size: 1.4 KiB

85
public/cursor.svg Normal file
View file

@ -0,0 +1,85 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
width="64"
height="64"
viewBox="0 0 32 32"
version="1.1"
id="svg1"
sodipodi:docname="cursor.svg"
inkscape:export-filename="cursor-light.svg"
inkscape:export-xdpi="96"
inkscape:export-ydpi="96"
inkscape:version="1.4 (e7c3feb100, 2024-10-09)"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
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:svg="http://www.w3.org/2000/svg">
<sodipodi:namedview
id="namedview1"
pagecolor="#ffffff"
bordercolor="#000000"
borderopacity="0.25"
inkscape:showpageshadow="2"
inkscape:pageopacity="0.0"
inkscape:pagecheckerboard="0"
inkscape:deskcolor="#d1d1d1"
inkscape:zoom="4.7167969"
inkscape:cx="46.747826"
inkscape:cy="58.302277"
inkscape:window-width="1402"
inkscape:window-height="892"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:window-maximized="1"
inkscape:current-layer="svg1" />
<defs
id="defs1">
<linearGradient
id="linearGradient2">
<stop
style="stop-color:#000000;stop-opacity:1;"
offset="0"
id="stop2" />
<stop
style="stop-color:#000000;stop-opacity:0;"
offset="1"
id="stop3" />
</linearGradient>
<radialGradient
xlink:href="#linearGradient2"
id="radialGradient3"
cx="16"
cy="16"
fx="16"
fy="16"
r="6"
gradientUnits="userSpaceOnUse" />
<filter
style="color-interpolation-filters:sRGB"
id="filter3"
x="-0.6"
y="-0.6"
width="2.2"
height="2.2">
<feGaussianBlur
stdDeviation="2 2"
result="blur"
id="feGaussianBlur3" />
</filter>
</defs>
<circle
style="fill:url(#radialGradient3);stroke-width:2;stroke-linejoin:round;filter:url(#filter3)"
id="path2"
cx="16"
cy="16"
r="4" />
<circle
style="fill:#000000;fill-opacity:1;stroke-width:2;stroke-linejoin:round"
id="path1"
cx="16"
cy="16"
r="2" />
</svg>

After

(image error) Size: 2.2 KiB

BIN
public/favicon-16x16.png Normal file

Binary file not shown.

After

(image error) Size: 387 B

BIN
public/favicon-32x32.png Normal file

Binary file not shown.

After

(image error) Size: 704 B

View file

@ -8,15 +8,39 @@
version="1.1"
id="svg1"
xml:space="preserve"
sodipodi:docname="logo.svg"
inkscape:version="1.4 (e7c3feb100, 2024-10-09)"
inkscape:export-filename="dev/websites/z0x.ca_shadcn/src/assets/logo.svg"
inkscape:export-xdpi="192"
inkscape:export-ydpi="192"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
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:svg="http://www.w3.org/2000/svg"><defs
xmlns:svg="http://www.w3.org/2000/svg"><sodipodi:namedview
id="namedview1"
pagecolor="#ffffff"
bordercolor="#000000"
borderopacity="0.25"
inkscape:showpageshadow="2"
inkscape:pageopacity="0.0"
inkscape:pagecheckerboard="0"
inkscape:deskcolor="#d1d1d1"
inkscape:zoom="2.0802432"
inkscape:cx="139.88749"
inkscape:cy="111.04471"
inkscape:window-width="1402"
inkscape:window-height="892"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:window-maximized="1"
inkscape:current-layer="svg1" /><defs
id="defs1"><linearGradient
id="linearGradient10"><stop
style="stop-color:#000000;stop-opacity:1;"
style="stop-color:#f5f5f5;stop-opacity:1;"
offset="0"
id="stop10" /><stop
style="stop-color:#ffffff;stop-opacity:0;"
style="stop-color:#0a0a0a;stop-opacity:1;"
offset="1"
id="stop11" /></linearGradient><radialGradient
xlink:href="#linearGradient10"
@ -27,7 +51,7 @@
fy="128.00395"
r="73.343147"
gradientUnits="userSpaceOnUse" /></defs><rect
style="fill:#141414;fill-opacity:1;stroke-width:1.96924;stroke-linejoin:round"
style="fill:#0a0a0a;fill-opacity:1;stroke-width:1.96924;stroke-linejoin:round"
id="bg"
width="256"
height="256"
@ -38,7 +62,7 @@
d="M 55.824663,125.40476 125.21246,55.832186 a 3.9865567,3.9865567 0.02025256 0 1 5.64732,0.002 l 69.31756,69.600498 a 4.0005896,4.0005896 90.112473 0 1 -0.0111,5.65726 l -69.34652,69.08498 a 4.0135339,4.0135339 0.01148544 0 1 -5.6664,-0.001 L 55.832634,131.06116 a 3.9993654,3.9993654 89.919265 0 1 -0.008,-5.6564 z M 125.77344,89.300192 89.179269,125.4342 a 3.9542778,3.9542778 90.033181 0 0 -0.0033,5.62424 l 36.551738,36.17581 a 4.0462516,4.0462516 0.03318674 0 0 5.68928,0.003 l 36.59418,-36.13401 a 3.9542766,3.9542766 90.033183 0 0 0.003,-5.62424 L 131.46272,89.303486 a 4.0462513,4.0462513 0.03317792 0 0 -5.68928,-0.0033 z"
id="blur"
transform="matrix(1.0225904,0,0,1.0225904,4.1082412,0.10439132)" /><path
style="display:inline;fill:#0a0a0a;fill-opacity:1;stroke:none;stroke-width:1.18365;stroke-opacity:1"
style="display:inline;fill:#171717;fill-opacity:1;stroke:none;stroke-width:1.18326947;stroke-opacity:1;stroke-dasharray:none"
d="M 55.824663,125.40476 125.21246,55.832186 a 3.9865567,3.9865567 0.02025256 0 1 5.64732,0.002 l 69.31756,69.600498 a 4.0005896,4.0005896 90.112473 0 1 -0.0111,5.65726 l -69.34652,69.08498 a 4.0135339,4.0135339 0.01148544 0 1 -5.6664,-0.001 L 55.832634,131.06116 a 3.9993654,3.9993654 89.919265 0 1 -0.008,-5.6564 z M 125.77344,89.300192 89.179269,125.4342 a 3.9542778,3.9542778 90.033181 0 0 -0.0033,5.62424 l 36.551738,36.17581 a 4.0462516,4.0462516 0.03318674 0 0 5.68928,0.003 l 36.59418,-36.13401 a 3.9542766,3.9542766 90.033183 0 0 0.003,-5.62424 L 131.46272,89.303486 a 4.0462513,4.0462513 0.03317792 0 0 -5.68928,-0.0033 z"
id="diamond"
transform="matrix(1.0225904,0,0,1.0225904,-2.8917572,-2.895611)" /></svg>

Before

(image error) Size: 2.6 KiB

After

(image error) Size: 3.5 KiB

Before After
Before After