|
2 | 2 | import Typewriter from "typewriter-effect"; |
3 | 3 |
|
4 | 4 | import LinkItem from "next/link"; |
5 | | -import { FaCompass, FaPenNib, FaYoutube } from "react-icons/fa"; |
| 5 | +import { FaGithub, FaLinkedin, FaYoutube } from "react-icons/fa"; |
| 6 | +import { SiSubstack } from "react-icons/si"; |
6 | 7 |
|
7 | 8 | import { useState, useEffect } from "react"; |
8 | | -import { TiSocialLinkedin } from "react-icons/ti"; |
| 9 | + |
| 10 | +const linkRowClass = |
| 11 | + "group flex items-center space-x-2 text-warm-700 transition-colors duration-200 hover:text-red-900"; |
| 12 | + |
| 13 | +const linkLabelClass = "font-bold transition-[font-weight] duration-200 group-hover:font-extrabold"; |
9 | 14 |
|
10 | 15 | export default function LandingPage() { |
11 | 16 | const [mounted, setMounted] = useState(false); |
@@ -40,68 +45,48 @@ export default function LandingPage() { |
40 | 45 | <LinkItem |
41 | 46 | href="https://www.youtube.com/@tylerdane-com" |
42 | 47 | target="_blank" |
43 | | - className="flex items-center space-x-2 text-warm-700 transition-colors hover:text-warm-900" |
| 48 | + className={linkRowClass} |
44 | 49 | > |
45 | 50 | <FaYoutube size="1.4em" /> |
46 | | - <u> |
47 | | - <span>@tylerdane-com</span> |
48 | | - </u> |
49 | | - <span> |
50 | | - <em>Casual tech videos</em> |
51 | | - </span> |
| 51 | + <span className={linkLabelClass}>@tylerdane-com • </span> |
| 52 | + <span>Casual tech videos</span> |
52 | 53 | </LinkItem> |
53 | 54 | <LinkItem |
54 | 55 | href="https://www.youtube.com/@fullstack-zip" |
55 | 56 | target="_blank" |
56 | | - className="flex items-center space-x-2 text-warm-700 transition-colors hover:text-warm-900" |
| 57 | + className={linkRowClass} |
57 | 58 | > |
58 | 59 | <FaYoutube size="1.4em" /> |
59 | | - <u> |
60 | | - <span>@fullstack-zip</span> |
61 | | - </u> |
62 | | - <span> |
63 | | - <em>Hardcore tech videos</em> |
64 | | - </span> |
| 60 | + <span className={linkLabelClass}>@fullstack-zip • </span> |
| 61 | + <span>Hardcore tech videos</span> |
65 | 62 | </LinkItem> |
66 | 63 | <LinkItem |
67 | 64 | href="https://github.com/SwitchbackTech/compass" |
68 | 65 | target="_blank" |
69 | | - className="flex items-center space-x-2 text-warm-700 transition-colors hover:text-warm-900" |
| 66 | + className={linkRowClass} |
70 | 67 | > |
71 | | - <FaCompass size="1.4em" /> |
72 | | - <u> |
73 | | - <span>Compass:</span> |
74 | | - </u> |
75 | | - <span> |
76 | | - <em>My calendar app</em> |
77 | | - </span> |
| 68 | + <FaGithub size="1.4em" /> |
| 69 | + <span className={linkLabelClass}>Compass • </span> |
| 70 | + <span>My calendar app</span> |
78 | 71 | </LinkItem> |
79 | 72 |
|
80 | 73 | <LinkItem |
81 | 74 | href="https://newsletter.fullstack.zip/" |
82 | 75 | target="_blank" |
83 | | - className="flex items-center space-x-2 text-warm-700 transition-colors hover:text-warm-900" |
| 76 | + className={linkRowClass} |
84 | 77 | > |
85 | | - <FaPenNib size="1.4em" /> |
86 | | - <u> |
87 | | - <span>Blog:</span> |
88 | | - </u> |
89 | | - <span> |
90 | | - <em>Sane system design</em> |
91 | | - </span> |
| 78 | + <SiSubstack size="1.4em" /> |
| 79 | + <span className={linkLabelClass}>Blog • </span> |
| 80 | + <span>Sane system design</span> |
92 | 81 | </LinkItem> |
93 | 82 | <LinkItem |
94 | 83 | href="https://www.linkedin.com/in/tyler-dane/" |
95 | 84 | target="_blank" |
96 | | - className="flex items-center space-x-2 text-warm-700 transition-colors hover:text-warm-900" |
| 85 | + className={linkRowClass} |
97 | 86 | > |
98 | | - <TiSocialLinkedin size="1.4em" /> |
99 | | - <u> |
100 | | - <span>LinkedIn:</span> |
101 | | - </u> |
102 | | - <span> |
103 | | - <em>Humble brags</em> |
104 | | - </span> |
| 87 | + <FaLinkedin size="1.55em" /> |
| 88 | + <span className={linkLabelClass}>LinkedIn • </span> |
| 89 | + <span>Humble brags</span> |
105 | 90 | </LinkItem> |
106 | 91 | </div> |
107 | 92 | </div> |
|
0 commit comments