Skip to content

Commit

Permalink
chore(website): put logo on the homepage (#6202)
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshuaKGoldberg committed Dec 13, 2022
1 parent c3cfe22 commit 3ce2549
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/website/src/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ function Home(): JSX.Element {
<Layout description={`${siteConfig.tagline}`}>
<header className={clsx('hero hero--dark', styles.hero)}>
<div className="container">
<img alt="" className={styles.hero__logo} src="/img/logo.svg" />
<h1 className="hero__title">{siteConfig.title}</h1>
<p className="hero__subtitle">{siteConfig.tagline}</p>
<div className={styles.buttons}>
Expand Down
5 changes: 5 additions & 0 deletions packages/website/src/pages/styles.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,11 @@
text-align: center;
}

.hero__logo {
height: 10rem;
width: 10rem;
}

.hero__subtitle {
margin-bottom: 24px;
}
Expand Down

0 comments on commit 3ce2549

Please sign in to comment.