aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/landing/sections/Hero.tsx
blob: 10026a14b56a0f30c8172220f7a36985ea5120d8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
/*
 * SPDX-FileCopyrightText: 2023-2024 Kristóf Marussy
 *
 * SPDX-License-Identifier: MIT AND CC-BY-4.0
 *
 * Code in this file is MIT licensed, while content is CC-BY-4.0 licensed.
 */

import Link from '@docusaurus/Link';
import clsx from 'clsx';

import {
  FediverseIcon,
  GithubIcon,
  GoogleScholarIcon,
  LinkedInIcon,
  OrcidIcon,
} from '@site/src/components/icons';
import avatar from '@site/src/pages/avatar.jpg?placeholder=true&sizes[]=149&sizes[]=298&sizes[]=596&rl';

import styles from './Hero.module.css';

export default function Hero() {
  return (
    <header className={clsx('hero', 'hero--dark', styles.hero)}>
      <div className="container">
        <div className="row">
          <div
            className={clsx('col', 'col--3', styles.hero__col, styles.avatar)}
          >
            <div
              className={styles.avatar__holder}
              style={{
                backgroundImage: `url("${avatar.placeholder}")`,
                backgroundSize: 'cover',
              }}
            >
              <img
                src={avatar.src}
                srcSet={avatar.srcSet}
                width={avatar.width}
                height={avatar.height}
                sizes="(min-width: 1384px) 298px, (min-width: 996px) calc(25vw - 48px), (min-width: 300px) 298px, calc(100vw - 32px)"
                // @ts-expect-error See https://github.com/vercel/next.js/pull/65235#issue-2273613138
                fetchpriority="high"
                alt="My photo"
                className={styles.avatar__image}
              />
            </div>
          </div>
          <div className={clsx('col', 'col--9', styles.hero__col)}>
            <h1 className={clsx('hero__title', styles.introduction)}>
              Hi! 👋 I&rsquo;m{' '}
              <span className={styles.introduction__name}>Kristóf Marussy</span>
            </h1>
            <p>
              I&rsquo;m a research fellow working at the{' '}
              <Link to="https://ftsrg.mit.bme.hu">
                🔬&nbsp;Critical Systems Research Group&nbsp;(
                <abbr>ftsrg</abbr>)
              </Link>{' '}
              at the{' '}
              <Link to="https://www.mit.bme.hu">
                🏫&nbsp;Department of Artificial Intelligence and Systems
                Engineering&nbsp;(MIT)
              </Link>{' '}
              at{' '}
              <Link to="https://bme.hu">
                🏛️&nbsp;Budapest University of Technology and
                Economics&nbsp;(BME)
              </Link>
              . My research interests include graph generation, logic solvers,
              formal verification, and applying these techniques for ensuring
              the safety and correctness of critical systems.
            </p>
            <p>
              I also like free (as in liberty) and open-source software. My
              pronouns are he/him.
            </p>
            <div className={styles.cta}>
              <Link
                to="pathname:///cv.pdf"
                target="_blank"
                className={clsx(
                  'button',
                  'button--lg',
                  'button--primary',
                  styles.cta__button,
                )}
              >
                Read my CV
              </Link>{' '}
              <Link
                to="#contact"
                className={clsx(
                  'button',
                  'button--lg',
                  'button--secondary',
                  styles.cta__button,
                )}
              >
                Contact me
              </Link>
              <ul className={styles.contacts}>
                <li className={styles.contacts__item}>
                  <Link
                    to="https://orcid.org/0000-0002-9135-8256"
                    className={styles.contacts__icon}
                  >
                    <OrcidIcon />
                  </Link>
                </li>
                <li className={styles.contacts__item}>
                  <Link
                    to="https://scholar.google.com/citations?user=E9CKNYoAAAAJ"
                    className={styles.contacts__icon}
                  >
                    <GoogleScholarIcon />
                  </Link>
                </li>
                <li className={styles.contacts__item}>
                  <Link
                    to="https://github.com/kris7t/"
                    className={styles.contacts__icon}
                  >
                    <GithubIcon />
                  </Link>
                </li>
                <li className={styles.contacts__item}>
                  <Link
                    to="https://pleroma.marussy.com/users/kristof"
                    className={styles.contacts__icon}
                  >
                    <FediverseIcon />
                  </Link>
                </li>
                <li className={styles.contacts__item}>
                  <Link
                    to="https://www.linkedin.com/in/k-marussy"
                    className={styles.contacts__icon}
                  >
                    <LinkedInIcon />
                  </Link>
                </li>
              </ul>
            </div>
          </div>
        </div>
      </div>
    </header>
  );
}