Skip to content

Commit f41177d

Browse files
Center all resume section headers
Add text-align: center to h1, h2, and h3 within #locked-resume. Tag the section with data-contribution-id for hover attribution. Co-authored-by: parse-nip <parse-nip@users.noreply.github.com>
1 parent a6aea03 commit f41177d

2 files changed

Lines changed: 7 additions & 1 deletion

File tree

src/app/globals.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -972,6 +972,7 @@
972972
#locked-resume h3 {
973973
font: inherit;
974974
font-weight: bold;
975+
text-align: center;
975976
}
976977

977978
#locked-resume h1 {

src/components/locked/LockedResume.tsx

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,12 @@ export function LockedResume() {
99
const data = getExperience();
1010

1111
return (
12-
<section id="locked-resume" data-facts="true" aria-label="Portfolio facts">
12+
<section
13+
id="locked-resume"
14+
data-facts="true"
15+
data-contribution-id="centered-resume-headers"
16+
aria-label="Portfolio facts"
17+
>
1318
<article className="locked-resume">
1419
<header className="locked-resume-header">
1520
<h1 data-fact-id="profile-name">{data.profile.name}</h1>

0 commit comments

Comments
 (0)