Skip to content

Commit

Permalink
slight homepage tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
fabiankaegy committed Jan 7, 2025
1 parent 6ee17df commit 34d4496
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ export default function Home() {
>
<main>
<header className={`${styles.heroBanner} home__heroBanner`}>
<h1>Welcome to the 10up Gutenberg Best Practices!</h1>
<p>Tutorials, resources, references and example code for all things Gutenberg.</p>
<h1 style={{maxWidth: '30ch', textWrap: 'pretty', marginInline: 'auto'}}>Welcome to the 10up WordPress Block Editor Best Practices!</h1>
<p>Tutorials, resources, references and example code for all things WordPress Block Editor.</p>
<SearchBar className={styles.searchBar} />
</header>
<section className={`${styles.grid} content-wrapper`}>
Expand Down Expand Up @@ -79,7 +79,7 @@ export default function Home() {
</Link>
<h2>Guides</h2>
<p>
This section of the Gutenberg Best Practices is meant as a
This section of the WordPress Block Editor Best Practices is meant as a
collection of individual deep dive articles. You are also welcome
to contribute articles to this guide!
</p>
Expand Down
8 changes: 8 additions & 0 deletions src/pages/index.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,14 @@
align-items: center;
min-height: 300px;
position: relative;

& h2 {
text-wrap: pretty;
}

& p {
text-wrap: balance;
}
}

.gridItem img {
Expand Down

0 comments on commit 34d4496

Please sign in to comment.