|
3 | 3 | import { Linkedin, Github } from 'lucide-svelte'; |
4 | 4 | import Routes from '$lib/contents/routes.json'; |
5 | 5 | import { resolve } from '$app/paths'; |
6 | | - export let subtitle: string; |
| 6 | +
|
| 7 | + let { subtitle }: { subtitle: string } = $props(); |
7 | 8 | </script> |
8 | 9 |
|
9 | 10 | <svelte:head> |
|
18 | 19 | <img |
19 | 20 | src="headshot.webp" |
20 | 21 | alt="Ruán Murgatroyd" |
21 | | - class="xs:w-2/3 aspect-square rounded-full p-10 sm:w-1/2 md:w-3/12" |
| 22 | + class="aspect-square w-3/4 rounded-full p-10 sm:w-1/2 md:w-3/12" |
22 | 23 | /> |
23 | 24 | <div class="items-left flex flex-col"> |
24 | | - <h1 class="pl-0 text-center text-4xl font-bold md:pl-10 md:text-left md:text-6xl"> |
| 25 | + <h1 class="pl-0 text-center text-4xl font-black md:pl-10 md:text-left md:text-6xl"> |
25 | 26 | Ruán Murgatroyd |
26 | 27 | </h1> |
27 | | - <div class="subtitle-container pl-0 md:pl-10" style="height: 4rem"> |
28 | | - <h2 class="text-center text-2xl font-medium md:text-left md:text-4xl">{subtitle}</h2> |
| 28 | + <div class="subtitle-container pl-0 md:pl-10"> |
| 29 | + <h2 class="text-center text-2xl font-light md:text-left md:text-4xl md:font-thin"> |
| 30 | + {subtitle} |
| 31 | + </h2> |
29 | 32 | <span class="flex flex-row items-center justify-center md:justify-start"> |
30 | | - <Button href="https://github.com/rjmurg" target="_blank" class="mt-5 mr-5"> |
| 33 | + <Button |
| 34 | + href="https://github.com/rjmurg" |
| 35 | + target="_blank" |
| 36 | + class="mt-5 mr-5 bg-red-500 font-bold text-white hover:bg-red-300" |
| 37 | + > |
31 | 38 | <Github class="mr-2 h-4 w-4" /> |
32 | 39 | GitHub |
33 | 40 | </Button> |
|
37 | 44 | variant="outline" |
38 | 45 | class="mt-5" |
39 | 46 | > |
40 | | - <Linkedin class="mr-2 h-4 w-4" /> |
| 47 | + <Linkedin class="mr-2 h-4 w-4 font-bold" /> |
41 | 48 | LinkedIn |
42 | 49 | </Button> |
43 | 50 | </span> |
44 | 51 | </div> |
45 | 52 | </div> |
46 | 53 | </div> |
47 | 54 |
|
48 | | - <h2 class="xs:text-3xl pt-10 text-center text-6xl">Find out more about</h2> |
| 55 | + <h2 class="pt-10 text-center text-3xl md:mb-4 md:text-4xl">Find out more about</h2> |
49 | 56 | <div |
50 | | - class="flex w-screen flex-row items-center justify-center p-2 text-center text-4xl text-gray-400 md:flex-row" |
| 57 | + class="items-between flex w-screen flex-col justify-center p-2 text-center text-4xl text-gray-400 md:flex-row md:items-center" |
51 | 58 | > |
52 | 59 | {#each Routes.routes as route (route.name)} |
53 | 60 | {#if route.name !== 'Home'} |
|
0 commit comments