Skip to content

Commit ad094b8

Browse files
committed
feat: ✨ improve layout
1 parent 7702287 commit ad094b8

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

apps/cookbook/src/pages/index.module.css

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,13 @@
2121
}
2222

2323
.heroBanner {
24+
display: flex;
25+
padding: 2rem 0 8rem 0;
26+
min-height: calc(100vh - 160px);
27+
2428
background: #eed9ff;
2529
color: var(--marmicode-primary);
2630
font-family: Roboto;
27-
padding: 2rem 0;
2831
text-align: center;
2932
position: relative;
3033
overflow: hidden;

apps/cookbook/src/pages/index.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,13 @@ export default function Home(): JSX.Element {
1818
'Ingredients & Recipes for Cooking Delicious Apps with Angular & Nx'
1919
}
2020
>
21-
<HomepageHeader />
21+
<HeroBanner />
2222
<Authors />
2323
</Layout>
2424
);
2525
}
2626

27-
function HomepageHeader() {
27+
function HeroBanner() {
2828
return (
2929
<header className={styles.heroBanner}>
3030
<div className={clsx('container', styles.container)}>

0 commit comments

Comments
 (0)