1- import type { Component } from 'solid-js' ;
2- import { GITHUB } from "./constants" ;
1+ import { JSX } from 'solid-js' ;
2+ import { GITHUB_PROFILE_URL } from "./constants" ;
33import { Link } from "./Link" ;
4- import { OcMarkgithub2 } from "solid-icons/oc " ;
4+ import { Socials } from "./Socials " ;
55
6- const App : Component = ( ) => {
6+ function App ( ) : JSX . Element {
77 return < >
88 < div class = "w-screen h-screen flex flex-col pt-16 pl-16 pr-16 site-background" >
9- < div class = "flex flex-col space-y-5 grow pt-[5%] pl-[25%] pr-[25 %] text-gray-200 text-base" >
10- < div class = "flex justify-between align-top" >
9+ < div class = "flex flex-col space-y-10 h-full pt-[2 %] text-gray-200 text-base" >
10+ < div class = "flex justify-between align-top pl-[25%] pr-[25%] " >
1111 < div class = "grow" >
1212 < Bio />
1313 </ div >
1414 < Socials />
1515 </ div >
16+
1617 < Divider />
18+
19+ < div class = "flex justify-evenly space-x-20 h-full pl-5 pr-5" >
20+
21+ < div class = "backdrop-brightness-[1.8] w-full rounded-md hover-offset hover:backdrop-brightness-[1.9]" />
22+ < div class = "backdrop-brightness-[1.8] w-full rounded-md hover-offset hover:backdrop-brightness-[1.9]" />
23+ < div class = "backdrop-brightness-[1.8] w-full rounded-md hover-offset hover:backdrop-brightness-[1.9]" />
24+ </ div >
1725 </ div >
1826 < Footer />
1927 </ div >
2028 </ > ;
21- } ;
22-
23- const Socials : Component = ( ) => {
24- return < >
25- < div class = "flex flex-col w-1/6 justify-evenly items-end pe-8" >
26- < a href = { GITHUB } rel = "noopener" referrerPolicy = "strict-origin" >
27- < div class = "group flex space-x-3 text-lg
28- transition hover:-translate-y-0.5 hover:translate-x-0.5" >
29- < OcMarkgithub2 size = { 32 } color = "#FFFFFF" />
30- < p class = "pt-1 underline-offset-2 text-pink-100 group-hover:underline group-hover:text-pink-300" > GitHub</ p >
31- </ div >
32- </ a >
33- </ div >
34- </ >
35- } ;
29+ }
3630
37- const Divider : Component = ( ) => {
31+ function Divider ( ) : JSX . Element {
3832 return < div class = "h-[1px] bg-white opacity-30" /> ;
39- } ;
33+ }
4034
41- const Bio : Component = ( ) => {
35+ function Bio ( ) : JSX . Element {
4236 return < div >
4337 < div class = "flex space-x-8 items-center mb-5" >
4438 < p class = "text-5xl font-semibold" > Hi, I'm { " " }
4539 < span class = "text-pink-300 font-bold" > rushii</ span > !</ p >
46- < Link secure url = "http://ipa-reader.xyz/?text=%2Fru%CB%90%CA%83i%2F" >
47- < span
48- class = "text-xl text-gray-300 font-semibold hover:text-pink-100 transition-colors no-underline" > /ruːʃi/</ span >
40+ < Link secure noReferrer
41+ url = "http://ipa-reader.xyz/?text=%2Fru%CB%90%CA%83i%2F"
42+ class = "text-nowrap text-2xl font-semibold text-gray-300
43+ transition-colors hover:text-pink-100
44+ no-underline hover-offset" >
45+ /ruːʃi/
4946 </ Link >
5047 </ div >
5148 < p > I'm a self-taught student developer living on the US west coast.</ p >
@@ -56,15 +53,16 @@ const Bio: Component = () => {
5653 < p class = "mt-3.5" > You can find me in various communities you've probably never heard of.</ p >
5754 < p class = "mt-3.5" > I am available for freelance work/jobs/internships.</ p >
5855 </ div >
59- } ;
56+ }
6057
61- const Footer : Component = ( ) => {
58+ function Footer ( ) : JSX . Element {
6259 return < >
6360 < div class = "h-20 w-full flex flex-col justify-center items-center text-center text-xs text-gray-300 font-bold" >
6461 < p > rushii © All rights reserved</ p >
65- < Link url = { `${ GITHUB } /rushii.dev` } > Source Code < span class = "text-red-500" > ❤️</ span > GitHub</ Link >
62+ < Link url = { `${ GITHUB_PROFILE_URL } /rushii.dev` } > Source Code < span
63+ class = "text-red-500" > ❤️</ span > GitHub</ Link >
6664 </ div >
6765 </ >
68- } ;
66+ }
6967
7068export default App ;
0 commit comments