diff --git a/README.md b/README.md index 59d736e..5d2c30d 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,3 @@ # clembs.com -built with [Astro](https://astro.build), [Tabler icons](https://tabler.io/icons) and [Sass](sass-lang.com). +built with [Astro](https://astro.build) and [Sass](sass-lang.com). diff --git a/src/assets/icons/briefcase.svg b/src/assets/icons/briefcase.svg index 61a190d..e5acfe6 100644 --- a/src/assets/icons/briefcase.svg +++ b/src/assets/icons/briefcase.svg @@ -1,14 +1,5 @@ - - + + d="M8.75 4C8.74998 3.79094 8.6611 3.63377 8.45898 3.49902C8.23461 3.34944 7.88874 3.25 7.5 3.25C7.11126 3.25 6.76538 3.34944 6.54102 3.49902C6.33889 3.63378 6.25001 3.79093 6.25 4V4.25H8.75V4ZM3.25 11.4375C3.35312 11.4599 3.47633 11.4863 3.62305 11.5107C4.32191 11.6272 5.52925 11.75 7.5 11.75C9.47074 11.75 10.6781 11.6273 11.377 11.5107C11.5237 11.4863 11.6469 11.4599 11.75 11.4375V8.90039C11.7337 8.9084 11.7178 8.91778 11.7012 8.92578C10.8181 9.34992 9.48813 9.74982 7.62695 9.75C5.76677 9.75011 4.38193 9.35055 3.44727 8.93555C3.3788 8.90514 3.31354 8.87217 3.25 8.8418V11.4375ZM3.25 7.12598C3.42417 7.24264 3.69125 7.40262 4.05566 7.56445C4.80955 7.89924 5.98784 8.25011 7.62695 8.25C9.26576 8.24984 10.3735 7.89902 11.0518 7.57324C11.3743 7.41831 11.6034 7.26633 11.75 7.15625V5.75H3.25V7.12598ZM10.25 4.25H13.25V12.4629L12.8359 12.6709L12.8311 12.6729C12.8296 12.6736 12.8277 12.674 12.8262 12.6748C12.8231 12.6763 12.8199 12.678 12.8164 12.6797C12.809 12.6831 12.8003 12.6873 12.791 12.6914C12.7722 12.6997 12.7491 12.71 12.7217 12.7207C12.6666 12.7421 12.5927 12.7682 12.4971 12.7969C12.3061 12.8542 12.0243 12.9233 11.623 12.9902C10.8218 13.1238 9.52893 13.25 7.5 13.25C5.471 13.25 4.17812 13.1237 3.37695 12.9902C2.97574 12.9234 2.69389 12.8542 2.50293 12.7969C2.40758 12.7683 2.3343 12.7421 2.2793 12.7207C2.25198 12.7101 2.22876 12.7007 2.20996 12.6924C2.20068 12.6883 2.19193 12.6841 2.18457 12.6807C2.18092 12.679 2.17702 12.6773 2.17383 12.6758C2.1722 12.675 2.17046 12.6736 2.16895 12.6729L2.16699 12.6719C2.16646 12.6716 2.1646 12.6708 2.5 12L2.16504 12.6709L1.75 12.4639V4.25H4.75V4C4.75001 3.20909 5.16113 2.61622 5.70898 2.25098C6.23461 1.90056 6.88875 1.75 7.5 1.75C8.11125 1.75 8.76539 1.90056 9.29102 2.25098C9.83886 2.61622 10.25 3.2091 10.25 4V4.25Z" + fill="currentColor" /> \ No newline at end of file diff --git a/src/assets/icons/bulb.svg b/src/assets/icons/bulb.svg index c3dc98d..d62a6a1 100644 --- a/src/assets/icons/bulb.svg +++ b/src/assets/icons/bulb.svg @@ -1,15 +1,5 @@ - - - + - - - - - + d="M8 12V13.5H7V12H8ZM10.75 6.25C10.75 4.45508 9.29492 3 7.5 3C5.70507 3.00001 4.25 4.45509 4.25 6.25C4.25 7.11939 4.59007 7.90579 5.14746 8.49023C5.35301 8.70574 5.56756 8.96014 5.76367 9.25H9.23633C9.43244 8.96014 9.64699 8.70574 9.85254 8.49023C10.4099 7.90579 10.75 7.11939 10.75 6.25ZM12.25 6.25C12.25 7.52051 11.7511 8.67434 10.9385 9.52637L10.748 9.73633C10.3197 10.2411 10 10.8407 10 11.5C10 12.6046 9.10457 13.5 8 13.5V12C8.27614 12 8.5 11.7761 8.5 11.5C8.5 11.2385 8.52949 10.9884 8.58008 10.75H6.41992C6.47051 10.9884 6.5 11.2385 6.5 11.5C6.5 11.7761 6.72386 12 7 12V13.5C5.89543 13.5 5 12.6046 5 11.5C5 10.8407 4.68031 10.2411 4.25195 9.73633L4.06152 9.52637C3.24885 8.67434 2.75 7.52051 2.75 6.25C2.75 3.62665 4.87665 1.50001 7.5 1.5C10.1233 1.5 12.25 3.62665 12.25 6.25Z" + fill="currentColor" /> \ No newline at end of file diff --git a/src/assets/icons/check.svg b/src/assets/icons/check.svg index 150698a..fe96981 100644 --- a/src/assets/icons/check.svg +++ b/src/assets/icons/check.svg @@ -1,6 +1,5 @@ - - - + + \ No newline at end of file diff --git a/src/assets/icons/copy.svg b/src/assets/icons/copy.svg index edaf92e..df5b5cf 100644 --- a/src/assets/icons/copy.svg +++ b/src/assets/icons/copy.svg @@ -1,9 +1,7 @@ - - + - + d="M12.7021 1.75L12.748 2.4502L13.3018 10.75H4.79785L4.75195 10.0498L4.19824 1.75H12.7021ZM6.20117 9.25H11.6982L11.2988 3.25H5.80176L6.20117 9.25Z" + fill="currentColor" /> + \ No newline at end of file diff --git a/src/assets/icons/external.svg b/src/assets/icons/external.svg index 8c00e47..6438d12 100644 --- a/src/assets/icons/external.svg +++ b/src/assets/icons/external.svg @@ -1,7 +1,5 @@ - - - - + + \ No newline at end of file diff --git a/src/assets/icons/globe.svg b/src/assets/icons/globe.svg new file mode 100644 index 0000000..8dde079 --- /dev/null +++ b/src/assets/icons/globe.svg @@ -0,0 +1,5 @@ + + + \ No newline at end of file diff --git a/src/assets/icons/message.svg b/src/assets/icons/message.svg index 650d28c..4812930 100644 --- a/src/assets/icons/message.svg +++ b/src/assets/icons/message.svg @@ -1,8 +1,8 @@ - - - - - + + + \ No newline at end of file diff --git a/src/assets/icons/share.svg b/src/assets/icons/share.svg new file mode 100644 index 0000000..832adb6 --- /dev/null +++ b/src/assets/icons/share.svg @@ -0,0 +1,5 @@ + + + \ No newline at end of file diff --git a/src/components/ProjectCard.astro b/src/components/ProjectCard.astro index d2c699d..47f2d61 100644 --- a/src/components/ProjectCard.astro +++ b/src/components/ProjectCard.astro @@ -118,6 +118,11 @@ const toolDetails = tools.map((t) => Tools.find(({ name }) => name === t)!); color: var(--color-white); height: max-content; flex-shrink: 0; + + :global(svg) { + width: 1.25rem; + height: 1.25rem; + } } } diff --git a/src/components/Social.astro b/src/components/Social.astro index 45558f6..d1d724e 100644 --- a/src/components/Social.astro +++ b/src/components/Social.astro @@ -28,13 +28,16 @@ export { type Props as SocialProps }; socialButtons.forEach((b) => b.addEventListener("click", () => { - if (!b.getAttribute("data-text")) { + const text = b.getAttribute("data-text"); + + if (!text) { console.error("?????"); + return; } - navigator.clipboard.writeText(b.getAttribute("data-text")!); + navigator.clipboard.writeText(text); - let icon = b.querySelector(".icon-tabler")!; + let icon = b.querySelector("svg")!; icon.innerHTML = Check;