Skip to content

Commit

Permalink
fix: linting errors
Browse files Browse the repository at this point in the history
  • Loading branch information
bliutech committed Aug 26, 2023
1 parent 8a8bd93 commit 05713d3
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 5 deletions.
5 changes: 4 additions & 1 deletion components/CyberWordmark.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,10 @@ export default function CyberWordmark({
}) {
return (
<>
<span className={className ?? ""} style={{ fontSize: fontSize, lineHeight: lineHeight, ...style }}>
<span
className={className ?? ""}
style={{ fontSize: fontSize, lineHeight: lineHeight, ...style }}
>
<span className={styles.cyberLogoWordmark}>
acm<span className={styles.cyberLogoWordmarkPeriod}>.</span>
cyber
Expand Down
3 changes: 2 additions & 1 deletion pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ export default function HomePage() {
<CyberWordmark className={styles.acmCyber1} />
<div className={styles.elevatorPitchWrap}>
<p className={styles.elevatorPitch}>
We’re a student-run organization on a mission to <b>make cybersecurity simple and accessible to everyone</b>.
We’re a student-run organization on a mission to{" "}
<b>make cybersecurity simple and accessible to everyone</b>.
</p>
</div>
</div>
Expand Down
10 changes: 7 additions & 3 deletions styles/Home.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,11 @@
position: absolute;
width: var(--diamond-length);
height: var(--diamond-length);
transform: translate(var(--diamond-x), max(var(--diamond-y), -3rem)) rotate(45deg);
transform: translate(var(--diamond-x), max(var(--diamond-y), -3rem))
rotate(45deg);
border: 12px solid var(--cyber-gold);
border-radius: 40px;
background: radial-gradient(#FFBA4400, #FFBA4414);
background: radial-gradient(#ffba4400, #ffba4414);
}
}

Expand All @@ -44,7 +45,10 @@
display: block;
width: 100vw;
font-size: calc(0.1 * min(var(--diamond-length), 90vw));
transform: translate(-0.2em, max(calc(var(--diamond-center-y) - 4rem), 8rem));
transform: translate(
-0.2em,
max(calc(var(--diamond-center-y) - 4rem), 8rem)
);

& > span::after {
content: "!";
Expand Down

0 comments on commit 05713d3

Please sign in to comment.