updated icons on socials

This commit is contained in:
liyunze 2024-06-09 23:38:35 +08:00
parent b0bed78d05
commit 52d4345b40

View file

@ -4,9 +4,10 @@ import Layout from "../layouts/Layout.astro";
<Layout title="Socials" description="Check out Ryan's socials"> <Layout title="Socials" description="Check out Ryan's socials">
<div class="px-0 py-10 flex justify-center items-center flex-col"> <div class="px-0 py-10 flex justify-center items-center flex-col">
<div class="max-w-[1024px] w-[calc(100%-20px)]">
<div <div
id="cards" id="cards"
class="grid grid-cols-2 gap-2 max-w-[1024px] w-[calc(100%-20px)] md:grid-cols-3 lg:grid-cols-4" class="grid grid-cols-2 gap-2 md:grid-cols-3 lg:grid-cols-4"
> >
<div <div
id="intro" id="intro"
@ -35,7 +36,8 @@ import Layout from "../layouts/Layout.astro";
<h1 class="font-bold text-4xl mb-2">RythonDev</h1> <h1 class="font-bold text-4xl mb-2">RythonDev</h1>
<p class="text-lg text-[#ccc]"> <p class="text-lg text-[#ccc]">
Freelance developer, content creator, student. Freelance developer, content creator, student.
Working on my bachelor's degree in Computer Science! Working on my bachelor's degree in Computer
Science!
</p> </p>
</div> </div>
</div> </div>
@ -65,11 +67,11 @@ import Layout from "../layouts/Layout.astro";
fill="#fff"></path> fill="#fff"></path>
</svg> </svg>
</div> </div>
<div id="website-icon" class="icon-box"> <div id="website-icon" class="icon-box w-12 h-12">
<svg <svg
fill="#fff" fill="#fff"
width="48px" width="26px"
height="48px" height="26px"
viewBox="0 0 32 32" viewBox="0 0 32 32"
version="1.1" version="1.1"
xmlns="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg"
@ -236,7 +238,8 @@ import Layout from "../layouts/Layout.astro";
width="48" width="48"
height="48" height="48"
rx="24" rx="24"
fill="url(#paint0_radial_973_2817)"></rect> fill="url(#paint0_radial_973_2817)"
></rect>
<path <path
d="M19.2632 12C15.263 12 12 15.263 12 19.2632V28.7368C12 32.7365 15.2629 36 19.2632 36H28.7368C32.7366 36 36 32.7366 36 28.7368V19.2632C36 15.2629 32.7365 12 28.7368 12H19.2632ZM19.2632 13.8947H28.7368C31.7124 13.8947 34.1053 16.287 34.1053 19.2632V28.7368C34.1053 31.7122 31.7122 34.1053 28.7368 34.1053H19.2632C16.287 34.1053 13.8947 31.7124 13.8947 28.7368V19.2632C13.8947 16.2869 16.2869 13.8947 19.2632 13.8947ZM30.3158 16.4211C29.6179 16.4211 29.0526 16.9863 29.0526 17.6842C29.0526 18.3821 29.6179 18.9474 30.3158 18.9474C31.0137 18.9474 31.5789 18.3821 31.5789 17.6842C31.5789 16.9863 31.0137 16.4211 30.3158 16.4211ZM24 17.6842C20.5233 17.6842 17.6842 20.5233 17.6842 24C17.6842 27.4767 20.5233 30.3158 24 30.3158C27.4767 30.3158 30.3158 27.4767 30.3158 24C30.3158 20.5233 27.4767 17.6842 24 17.6842ZM24 19.5789C26.4525 19.5789 28.4211 21.5475 28.4211 24C28.4211 26.4525 26.4525 28.4211 24 28.4211C21.5475 28.4211 19.5789 26.4525 19.5789 24C19.5789 21.5475 21.5475 19.5789 24 19.5789Z" d="M19.2632 12C15.263 12 12 15.263 12 19.2632V28.7368C12 32.7365 15.2629 36 19.2632 36H28.7368C32.7366 36 36 32.7366 36 28.7368V19.2632C36 15.2629 32.7365 12 28.7368 12H19.2632ZM19.2632 13.8947H28.7368C31.7124 13.8947 34.1053 16.287 34.1053 19.2632V28.7368C34.1053 31.7122 31.7122 34.1053 28.7368 34.1053H19.2632C16.287 34.1053 13.8947 31.7124 13.8947 28.7368V19.2632C13.8947 16.2869 16.2869 13.8947 19.2632 13.8947ZM30.3158 16.4211C29.6179 16.4211 29.0526 16.9863 29.0526 17.6842C29.0526 18.3821 29.6179 18.9474 30.3158 18.9474C31.0137 18.9474 31.5789 18.3821 31.5789 17.6842C31.5789 16.9863 31.0137 16.4211 30.3158 16.4211ZM24 17.6842C20.5233 17.6842 17.6842 20.5233 17.6842 24C17.6842 27.4767 20.5233 30.3158 24 30.3158C27.4767 30.3158 30.3158 27.4767 30.3158 24C30.3158 20.5233 27.4767 17.6842 24 17.6842ZM24 19.5789C26.4525 19.5789 28.4211 21.5475 28.4211 24C28.4211 26.4525 26.4525 28.4211 24 28.4211C21.5475 28.4211 19.5789 26.4525 19.5789 24C19.5789 21.5475 21.5475 19.5789 24 19.5789Z"
fill="white"></path> fill="white"></path>
@ -304,20 +307,40 @@ import Layout from "../layouts/Layout.astro";
fill="#fff"></path> fill="#fff"></path>
</svg> </svg>
</div> </div>
<div id="github-icon" class="icon-box"> <div
id="github-icon"
class="icon-box w-12 h-12 bg-white rounded-full flex justify-center items-center"
>
<svg <svg
version="1.1" width="42px"
height="42px"
viewBox="0 0 48 48"
fill="none"
xmlns="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg"
><g id="SVGRepo_bgCarrier" stroke-width="0"
></g><g
id="SVGRepo_tracerCarrier"
stroke-linecap="round"
stroke-linejoin="round"></g><g
id="SVGRepo_iconCarrier"
>
<rect
width="48" width="48"
height="48" height="48"
viewBox="0 0 32 32" fill="white"
fill="#fff" fill-opacity="0.01"></rect>
>
<title>github</title>
<path <path
d="M0 15.968q0-3.264 1.28-6.208 2.528-5.952 8.48-8.48 2.944-1.28 6.208-1.28t6.208 1.28q5.888 2.496 8.48 8.48 1.28 3.040 1.28 6.208t-1.28 6.208q-2.592 6.016-8.48 8.544-2.944 1.28-6.208 1.28t-6.208-1.28q-5.952-2.56-8.48-8.544-1.28-2.944-1.28-6.208zM2.496 15.968q0 4.512 2.688 8.064 2.656 3.488 6.944 4.96v-2.56q0-1.92 1.28-2.784-0.64-0.032-1.504-0.224-1.632-0.288-2.784-1.024-2.912-1.76-2.912-6.368 0-2.4 1.6-4.096-0.736-1.888 0.16-4.096h0.64q0.32 0 0.8 0.16 1.248 0.384 2.784 1.408 1.952-0.512 3.84-0.512t3.872 0.512q1.248-0.832 2.336-1.28 1.024-0.384 1.472-0.32l0.384 0.032q0.864 2.208 0.16 4.096 1.6 1.696 1.6 4.096 0 3.584-1.76 5.408-0.96 1.024-2.528 1.6-1.312 0.48-2.912 0.608 1.312 0.928 1.312 2.784v2.56q4.128-1.472 6.816-5.024 2.624-3.52 2.624-8 0-2.72-1.056-5.248-1.024-2.432-2.88-4.288-1.792-1.792-4.288-2.848-2.56-1.088-5.216-1.088-2.624 0-5.248 1.088-2.4 1.024-4.288 2.848-1.792 1.856-2.88 4.288-1.056 2.528-1.056 5.248z" fill-rule="evenodd"
></path> clip-rule="evenodd"
</svg> d="M24 4C12.9543 4 4 12.9543 4 24C4 35.0457 12.9543 44 24 44C35.0457 44 44 35.0457 44 24C44 12.9543 35.0457 4 24 4ZM0 24C0 10.7452 10.7452 0 24 0C37.2548 0 48 10.7452 48 24C48 37.2548 37.2548 48 24 48C10.7452 48 0 37.2548 0 24Z"
fill="#000000"></path>
<path
fill-rule="evenodd"
clip-rule="evenodd"
d="M19.183 45.4715C18.9896 45.2218 18.9896 42.9972 19.183 38.798C17.1112 38.8695 15.8022 38.7257 15.256 38.3666C14.4368 37.8279 13.6166 36.1666 12.8889 34.9958C12.1612 33.825 10.546 33.6399 9.8938 33.3782C9.24158 33.1164 9.07785 32.0495 11.691 32.8564C14.3042 33.6633 14.4316 35.8606 15.256 36.3744C16.0804 36.8882 18.0512 36.6634 18.9446 36.2518C19.8379 35.8402 19.7722 34.3077 19.9315 33.7006C20.1329 33.1339 19.423 33.0082 19.4074 33.0036C18.5353 33.0036 13.9537 32.0072 12.6952 27.5705C11.4368 23.1339 13.0579 20.234 13.9227 18.9874C14.4992 18.1563 14.4482 16.3851 13.7697 13.6736C16.2333 13.3588 18.1344 14.1342 19.4732 16C19.4745 16.0107 21.2283 14.9571 24 14.9571C26.7718 14.9571 27.7551 15.8153 28.514 16C29.2728 16.1847 29.8798 12.734 34.5666 13.6736C33.5881 15.5968 32.7686 18 33.3941 18.9874C34.0195 19.9748 36.4742 23.1146 34.9664 27.5705C33.9611 30.5412 31.9851 32.3522 29.0382 33.0036C28.7002 33.1114 28.5313 33.2854 28.5313 33.5254C28.5313 33.8855 28.9881 33.9248 29.6463 35.6116C30.085 36.7361 30.1167 39.9479 29.7413 45.2469C28.7904 45.489 28.0506 45.6515 27.5219 45.7346C26.5845 45.8819 25.5667 45.9645 24.5666 45.9964C23.5666 46.0283 23.2193 46.0247 21.8368 45.896C20.9151 45.8102 20.0305 45.6687 19.183 45.4715Z"
fill="#000000"></path>
</g></svg
>
</div> </div>
<div> <div>
<h2 class="font-bold text-xl">Github</h2> <h2 class="font-bold text-xl">Github</h2>
@ -380,8 +403,8 @@ import Layout from "../layouts/Layout.astro";
></path> ></path>
</g> </g>
<g> </g><g> </g><g> </g><g> </g><g> </g><g> <g> </g><g> </g><g> </g><g> </g><g> </g><g>
</g><g> </g><g> </g><g> </g><g> </g><g> </g><g> </g><g> </g><g> </g><g> </g><g> </g><g>
</g><g> </g><g> </g><g> </g> </g><g> </g><g> </g><g> </g><g> </g>
</svg> </svg>
</div> </div>
<div> <div>
@ -447,7 +470,8 @@ import Layout from "../layouts/Layout.astro";
<h2 class="font-bold text-xl">Date & Time</h2> <h2 class="font-bold text-xl">Date & Time</h2>
<p class="text-[#ccc]"> <p class="text-[#ccc]">
<div id="display-date"></div> <div id="display-date"></div>
<span id="time-in-aus" class="uppercase"></span> <span id="time-in-aus" class="uppercase"
></span>
<span id="time-difference"> </span> <span id="time-difference"> </span>
</p> </p>
</div> </div>
@ -656,7 +680,7 @@ import Layout from "../layouts/Layout.astro";
</div> </div>
</a> </a>
</div> </div>
<div class="ml-auto mr-[calc((100vw-1024px)/2)] mt-10"> <div class="ml-auto mt-10 w-fit">
Hover Light effect by Hover Light effect by
<a <a
class="underline text-white hover:text-blue-500" class="underline text-white hover:text-blue-500"
@ -667,6 +691,7 @@ import Layout from "../layouts/Layout.astro";
</a> </a>
</div> </div>
</div> </div>
</div>
</Layout> </Layout>
<style> <style>