|
1 | 1 | import { ArrowUpRight } from "lucide-react"
|
2 | 2 |
|
| 3 | +function Highlight(text: string, color = "yellow") { |
| 4 | + var colorClassName: string = "bg-opacity-50 px-1 rounded "; |
| 5 | + if (color === "yellow") { |
| 6 | + colorClassName = colorClassName + "bg-[#ffff77]" |
| 7 | + } |
| 8 | + if (color === "cyan") { |
| 9 | + colorClassName = colorClassName + "bg-cyan-300 dark:bg-cyan-500/30" |
| 10 | + } |
| 11 | + if (color === "pink") { |
| 12 | + colorClassName = colorClassName + "bg-[#ff77e4]" |
| 13 | + } |
| 14 | + if (color === "slate-blue") { |
| 15 | + colorClassName = colorClassName + "bg-[#7777ff]" |
| 16 | + } |
| 17 | + if (color === "red") { |
| 18 | + colorClassName = colorClassName + "bg-[#ff7777]" |
| 19 | + } |
| 20 | + return ( |
| 21 | + <span className={colorClassName}>{text}</span> |
| 22 | + ) |
| 23 | +} |
| 24 | + |
3 | 25 | const About = () => {
|
4 | 26 | return (
|
5 | 27 | <section id="about" className="mb-12">
|
6 | 28 | <h2 className="text-2xl md:text-3xl lg:text-4xl font-section mb-4">About</h2>
|
7 | 29 | <p className="text-gray-700 dark:text-gray-300">
|
8 |
| - I am a junior at the University of Waterloo, pursuing a major in Computational Mathematics. |
9 |
| - With a passion for technology and innovation, I am constantly exploring new |
10 |
| - areas in software development and artificial intelligence. |
11 |
| - I am eager to work in areas that leverage the combined potential of machine learning and |
| 30 | + I am a {Highlight("junior")} at the {Highlight("University of Waterloo")}, pursuing a major in {Highlight("Computational Mathematics")}. |
| 31 | + With a {Highlight(`passion for technology and innovation`)}, I am constantly exploring new |
| 32 | + areas in {Highlight(`software development`)} and {Highlight(`artificial intelligence`)}. |
| 33 | + I am eager to work in areas that leverage the combined potential of {Highlight(`machine learning`)} and |
12 | 34 | software development, regardless of traditional boundaries. <br></br>
|
13 | 35 | Outside of academics and professional career, I enjoy contributing to open-source projects, working on side projects, participating in hackathons and playing
|
14 | 36 | table tennis, football, cricket and badminton. I also like to travel & explore new places, cuisines & restaurants.<br></br>
|
15 |
| - You can find me re-watching any one of these TV series: |
16 |
| - Suits, |
17 |
| - The Office, |
18 |
| - Brooklyn 9-9, |
19 |
| - How I Met Your Mother, |
20 |
| - The Big Bang Theory, |
21 |
| - South Park, |
22 |
| - Impractical Jokers. |
| 37 | + You can find me {Highlight(`re-watching`, "pink")} any one of these TV series: |
| 38 | + {Highlight(`Suits`, "pink")}, |
| 39 | + {Highlight(`The Office`, "pink")}, |
| 40 | + {Highlight(`Brooklyn 9-9`, "pink")}, |
| 41 | + {Highlight(`How I Met Your Mother`, "pink")}, |
| 42 | + {Highlight(`The Big Bang Theory`, "pink")}, |
| 43 | + {Highlight(`South Park`, "pink")}, |
| 44 | + {Highlight(`Impractical Jokers`, "pink")}. |
23 | 45 | <br></br>
|
24 |
| - For those of you curious, the favicon is a <span className="underline underline-offset-2">4-hypercube graph</span> made via Python, using NetworkX and Matplotlib. |
| 46 | + For those of you curious, the favicon is a {Highlight("4-hypercube graph", "cyan")} made via Python, using NetworkX and Matplotlib. |
25 | 47 | Check the <a
|
26 | 48 | href="/icon.ico" target="_blank"
|
27 | 49 | className="inline-flex items-center hover:underline hover:underline-offset-2 text-orange-500"
|
|
0 commit comments