diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/components/landing/sections/Hero.tsx | 6 | ||||
-rw-r--r-- | src/components/landing/sections/Publications.tsx | 13 | ||||
-rw-r--r-- | src/components/landing/sections/Resume.tsx | 16 |
3 files changed, 17 insertions, 18 deletions
diff --git a/src/components/landing/sections/Hero.tsx b/src/components/landing/sections/Hero.tsx index d9fe556..4974285 100644 --- a/src/components/landing/sections/Hero.tsx +++ b/src/components/landing/sections/Hero.tsx | |||
@@ -57,8 +57,8 @@ export default function Hero({ avatar }: { avatar: string }) { | |||
57 | pronouns are he/him. | 57 | pronouns are he/him. |
58 | </p> | 58 | </p> |
59 | <div className={styles.cta}> | 59 | <div className={styles.cta}> |
60 | <a | 60 | <Link |
61 | href="/cv.pdf" | 61 | to="pathname:///cv.pdf" |
62 | target="_blank" | 62 | target="_blank" |
63 | className={clsx( | 63 | className={clsx( |
64 | 'button', | 64 | 'button', |
@@ -68,7 +68,7 @@ export default function Hero({ avatar }: { avatar: string }) { | |||
68 | )} | 68 | )} |
69 | > | 69 | > |
70 | Read my CV | 70 | Read my CV |
71 | </a>{' '} | 71 | </Link>{' '} |
72 | <Link | 72 | <Link |
73 | to="#contact" | 73 | to="#contact" |
74 | className={clsx( | 74 | className={clsx( |
diff --git a/src/components/landing/sections/Publications.tsx b/src/components/landing/sections/Publications.tsx index a789245..90c058e 100644 --- a/src/components/landing/sections/Publications.tsx +++ b/src/components/landing/sections/Publications.tsx | |||
@@ -47,14 +47,14 @@ function DOILink({ doi }: { doi: string }) { | |||
47 | 47 | ||
48 | function PDFLink({ filename }: { filename: string }) { | 48 | function PDFLink({ filename }: { filename: string }) { |
49 | return ( | 49 | return ( |
50 | <a | 50 | <Link |
51 | href={`/papers/${filename}.pdf`} | 51 | to={`pathname:///papers/${filename}.pdf`} |
52 | target="_blank" | 52 | target="_blank" |
53 | className={clsx(styles.link, styles['link--lower'])} | 53 | className={clsx(styles.link, styles['link--lower'])} |
54 | > | 54 | > |
55 | <File weight="bold" aria-hidden="true" className={styles.link__icon} /> | 55 | <File weight="bold" aria-hidden="true" className={styles.link__icon} /> |
56 | 56 | ||
57 | </a> | 57 | </Link> |
58 | ); | 58 | ); |
59 | } | 59 | } |
60 | 60 | ||
@@ -111,15 +111,14 @@ function ClosedAccess({ | |||
111 | if (authorizedURL !== undefined) { | 111 | if (authorizedURL !== undefined) { |
112 | // Must allow referrer for the ACM Author-Izer to work. | 112 | // Must allow referrer for the ACM Author-Izer to work. |
113 | return ( | 113 | return ( |
114 | <a | 114 | <Link |
115 | href={authorizedURL} | 115 | to={authorizedURL} |
116 | target="_blank" | ||
117 | rel="nofollow noopener" | 116 | rel="nofollow noopener" |
118 | referrerPolicy="no-referrer-when-downgrade" | 117 | referrerPolicy="no-referrer-when-downgrade" |
119 | className={clsx(styles.link, styles['link--license'])} | 118 | className={clsx(styles.link, styles['link--license'])} |
120 | > | 119 | > |
121 | {label} | 120 | {label} |
122 | </a> | 121 | </Link> |
123 | ); | 122 | ); |
124 | } | 123 | } |
125 | return ( | 124 | return ( |
diff --git a/src/components/landing/sections/Resume.tsx b/src/components/landing/sections/Resume.tsx index 2ad05f1..6e2bc69 100644 --- a/src/components/landing/sections/Resume.tsx +++ b/src/components/landing/sections/Resume.tsx | |||
@@ -32,12 +32,12 @@ function Education() { | |||
32 | </p> | 32 | </p> |
33 | <p> | 33 | <p> |
34 | Thesis:{' '} | 34 | Thesis:{' '} |
35 | <a href="/phd-thesis.pdf" target="_blank"> | 35 | <Link to="pathname:///phd-thesis.pdf" target="_blank"> |
36 | <b> | 36 | <b> |
37 | Abstraction Techniques for the Analysis and Synthesis of | 37 | Abstraction Techniques for the Analysis and Synthesis of |
38 | Critical Cyber-Physical System Architectures | 38 | Critical Cyber-Physical System Architectures |
39 | </b> | 39 | </b> |
40 | </a> | 40 | </Link> |
41 | </p> | 41 | </p> |
42 | <p className={styles.cv__muted}> | 42 | <p className={styles.cv__muted}> |
43 | <Lock | 43 | <Lock |
@@ -49,8 +49,8 @@ function Education() { | |||
49 | publishers | 49 | publishers |
50 | </p> | 50 | </p> |
51 | <div className={styles['thesis-links']}> | 51 | <div className={styles['thesis-links']}> |
52 | <a | 52 | <Link |
53 | href="/phd-thesis.pdf" | 53 | to="pathname:///phd-thesis.pdf" |
54 | target="_blank" | 54 | target="_blank" |
55 | className={clsx( | 55 | className={clsx( |
56 | 'button', | 56 | 'button', |
@@ -59,9 +59,9 @@ function Education() { | |||
59 | )} | 59 | )} |
60 | > | 60 | > |
61 | Read now | 61 | Read now |
62 | </a> | 62 | </Link> |
63 | <a | 63 | <Link |
64 | href="/phd-thesis-booklet.pdf" | 64 | to="pathname:///phd-thesis-booklet.pdf" |
65 | target="_blank" | 65 | target="_blank" |
66 | className={clsx( | 66 | className={clsx( |
67 | 'button', | 67 | 'button', |
@@ -70,7 +70,7 @@ function Education() { | |||
70 | )} | 70 | )} |
71 | > | 71 | > |
72 | Extended abstract | 72 | Extended abstract |
73 | </a> | 73 | </Link> |
74 | <Link | 74 | <Link |
75 | to="http://hdl.handle.net/10890/41832" | 75 | to="http://hdl.handle.net/10890/41832" |
76 | className={styles['thesis-links__link']} | 76 | className={styles['thesis-links__link']} |