diff options
author | Kristóf Marussy <kristof@marussy.com> | 2024-03-15 19:44:45 +0100 |
---|---|---|
committer | Kristóf Marussy <kristof@marussy.com> | 2024-03-15 19:44:45 +0100 |
commit | bc00740c0462063a3ccd64ef5d874b3cc59c5640 (patch) | |
tree | d7dff7ab9fe2341f35256fbb6fd4b69be1b988d6 /src/components/landing/sections/Hero.tsx | |
parent | Move third-party content to private submodule (diff) | |
download | blog-bc00740c0462063a3ccd64ef5d874b3cc59c5640.tar.gz blog-bc00740c0462063a3ccd64ef5d874b3cc59c5640.tar.zst blog-bc00740c0462063a3ccd64ef5d874b3cc59c5640.zip |
Prefer <Link> over <a>
See
https://docusaurus.io/docs/api/misc/@docusaurus/eslint-plugin/no-html-links
Diffstat (limited to 'src/components/landing/sections/Hero.tsx')
-rw-r--r-- | src/components/landing/sections/Hero.tsx | 55 |
1 files changed, 28 insertions, 27 deletions
diff --git a/src/components/landing/sections/Hero.tsx b/src/components/landing/sections/Hero.tsx index 35f5bd9..b12e56a 100644 --- a/src/components/landing/sections/Hero.tsx +++ b/src/components/landing/sections/Hero.tsx | |||
@@ -4,6 +4,7 @@ | |||
4 | * SPDX-License-Identifier: MIT | 4 | * SPDX-License-Identifier: MIT |
5 | */ | 5 | */ |
6 | 6 | ||
7 | import Link from '@docusaurus/Link'; | ||
7 | import clsx from 'clsx'; | 8 | import clsx from 'clsx'; |
8 | 9 | ||
9 | import { | 10 | import { |
@@ -33,20 +34,20 @@ export default function Hero({ avatar }: { avatar: string }) { | |||
33 | </h1> | 34 | </h1> |
34 | <p> | 35 | <p> |
35 | I’m a research fellow working at the{' '} | 36 | I’m a research fellow working at the{' '} |
36 | <a href="https://ftsrg.mit.bme.hu"> | 37 | <Link to="https://ftsrg.mit.bme.hu"> |
37 | 🔬 Critical Systems Research Group ( | 38 | 🔬 Critical Systems Research Group ( |
38 | <abbr>ftsrg</abbr>) | 39 | <abbr>ftsrg</abbr>) |
39 | </a>{' '} | 40 | </Link>{' '} |
40 | at the{' '} | 41 | at the{' '} |
41 | <a href="https://mit.bme.hu"> | 42 | <Link to="https://mit.bme.hu"> |
42 | 🏫 Department of Measurement and Information | 43 | 🏫 Department of Measurement and Information |
43 | Systems (MIT) | 44 | Systems (MIT) |
44 | </a>{' '} | 45 | </Link>{' '} |
45 | at{' '} | 46 | at{' '} |
46 | <a href="https://bme.hu"> | 47 | <Link to="https://bme.hu"> |
47 | 🏛️ Budapest University of Technology and | 48 | 🏛️ Budapest University of Technology and |
48 | Economics (BME) | 49 | Economics (BME) |
49 | </a> | 50 | </Link> |
50 | . My reasearch interests include graph generation, logic solvers, | 51 | . My reasearch interests include graph generation, logic solvers, |
51 | formal verification, and applying these techniques for ensuring | 52 | formal verification, and applying these techniques for ensuring |
52 | the safety and correcness of critical systems. | 53 | the safety and correcness of critical systems. |
@@ -56,8 +57,8 @@ export default function Hero({ avatar }: { avatar: string }) { | |||
56 | pronouns are he/him. | 57 | pronouns are he/him. |
57 | </p> | 58 | </p> |
58 | <div className={styles.cta}> | 59 | <div className={styles.cta}> |
59 | <a | 60 | <Link |
60 | href="/cv.pdf" | 61 | to="/cv.pdf" |
61 | className={clsx( | 62 | className={clsx( |
62 | 'button', | 63 | 'button', |
63 | 'button--lg', | 64 | 'button--lg', |
@@ -66,9 +67,9 @@ export default function Hero({ avatar }: { avatar: string }) { | |||
66 | )} | 67 | )} |
67 | > | 68 | > |
68 | Read my CV | 69 | Read my CV |
69 | </a>{' '} | 70 | </Link>{' '} |
70 | <a | 71 | <Link |
71 | href="#contact" | 72 | to="#contact" |
72 | className={clsx( | 73 | className={clsx( |
73 | 'button', | 74 | 'button', |
74 | 'button--lg', | 75 | 'button--lg', |
@@ -77,47 +78,47 @@ export default function Hero({ avatar }: { avatar: string }) { | |||
77 | )} | 78 | )} |
78 | > | 79 | > |
79 | Contact me | 80 | Contact me |
80 | </a> | 81 | </Link> |
81 | <ul className={styles.contacts}> | 82 | <ul className={styles.contacts}> |
82 | <li className={styles.contacts__item}> | 83 | <li className={styles.contacts__item}> |
83 | <a | 84 | <Link |
84 | href="https://orcid.org/0000-0002-9135-8256" | 85 | to="https://orcid.org/0000-0002-9135-8256" |
85 | className={styles.contacts__icon} | 86 | className={styles.contacts__icon} |
86 | > | 87 | > |
87 | <OrcidIcon /> | 88 | <OrcidIcon /> |
88 | </a> | 89 | </Link> |
89 | </li> | 90 | </li> |
90 | <li className={styles.contacts__item}> | 91 | <li className={styles.contacts__item}> |
91 | <a | 92 | <Link |
92 | href="https://scholar.google.com/citations?user=E9CKNYoAAAAJ" | 93 | to="https://scholar.google.com/citations?user=E9CKNYoAAAAJ" |
93 | className={styles.contacts__icon} | 94 | className={styles.contacts__icon} |
94 | > | 95 | > |
95 | <GoogleScholarIcon /> | 96 | <GoogleScholarIcon /> |
96 | </a> | 97 | </Link> |
97 | </li> | 98 | </li> |
98 | <li className={styles.contacts__item}> | 99 | <li className={styles.contacts__item}> |
99 | <a | 100 | <Link |
100 | href="https://github.com/kris7t/" | 101 | to="https://github.com/kris7t/" |
101 | className={styles.contacts__icon} | 102 | className={styles.contacts__icon} |
102 | > | 103 | > |
103 | <GithubIcon /> | 104 | <GithubIcon /> |
104 | </a> | 105 | </Link> |
105 | </li> | 106 | </li> |
106 | <li className={styles.contacts__item}> | 107 | <li className={styles.contacts__item}> |
107 | <a | 108 | <Link |
108 | href="https://pleroma.marussy.com/users/kristof" | 109 | to="https://pleroma.marussy.com/users/kristof" |
109 | className={styles.contacts__icon} | 110 | className={styles.contacts__icon} |
110 | > | 111 | > |
111 | <FediverseIcon /> | 112 | <FediverseIcon /> |
112 | </a> | 113 | </Link> |
113 | </li> | 114 | </li> |
114 | <li className={styles.contacts__item}> | 115 | <li className={styles.contacts__item}> |
115 | <a | 116 | <Link |
116 | href="https://www.linkedin.com/in/k-marussy" | 117 | to="https://www.linkedin.com/in/k-marussy" |
117 | className={styles.contacts__icon} | 118 | className={styles.contacts__icon} |
118 | > | 119 | > |
119 | <LinkedInIcon /> | 120 | <LinkedInIcon /> |
120 | </a> | 121 | </Link> |
121 | </li> | 122 | </li> |
122 | </ul> | 123 | </ul> |
123 | </div> | 124 | </div> |