Skip to content

Commit f2fc63d

Browse files
committedFeb 28, 2024
improve mobile UI minimally
1 parent 0bc09b6 commit f2fc63d

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed
 

‎src/pages/index.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import Link from '@docusaurus/Link';
33
import useDocusaurusContext from '@docusaurus/useDocusaurusContext';
44
import Layout from '@theme/Layout';
55
import HomepageFeatures from '@site/src/components/HomepageFeatures';
6-
import DocusaurusImageUrl from '@site/static/ui/openhouse_logo.png';
6+
import OpenHouseImageUrl from '@site/static/ui/openhouse_logo.png';
77

88
import Heading from '@theme/Heading';
99
import styles from './index.module.css';
@@ -26,7 +26,7 @@ function HomepageHeader() {
2626
</Link>
2727
</div>
2828
<div class="col col--4 col--offset-2">
29-
<img src={DocusaurusImageUrl} />
29+
<img className={styles.heroBannerImage} src={OpenHouseImageUrl} />
3030
</div>
3131
</div>
3232
</div>

‎src/pages/index.module.css

+5
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,11 @@
1616
@media screen and (max-width: 996px) {
1717
.heroBanner {
1818
padding: 2rem;
19+
text-align: center;
20+
}
21+
22+
.heroBannerImage {
23+
padding: 3rem;
1924
}
2025
}
2126

0 commit comments

Comments
 (0)
Please sign in to comment.