Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 3ce2549

Browse files
chore(website): put logo on the homepage (typescript-eslint#6202)
1 parent c3cfe22 commit 3ce2549

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

packages/website/src/pages/index.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,7 @@ function Home(): JSX.Element {
136136
<Layout description={`${siteConfig.tagline}`}>
137137
<header className={clsx('hero hero--dark', styles.hero)}>
138138
<div className="container">
139+
<img alt="" className={styles.hero__logo} src="/img/logo.svg" />
139140
<h1 className="hero__title">{siteConfig.title}</h1>
140141
<p className="hero__subtitle">{siteConfig.tagline}</p>
141142
<div className={styles.buttons}>

packages/website/src/pages/styles.module.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,11 @@
1717
text-align: center;
1818
}
1919

20+
.hero__logo {
21+
height: 10rem;
22+
width: 10rem;
23+
}
24+
2025
.hero__subtitle {
2126
margin-bottom: 24px;
2227
}

0 commit comments

Comments
 (0)