Skip to content

Commit

Permalink
Add latest news title
Browse files Browse the repository at this point in the history
  • Loading branch information
smrtrfszm committed Jan 6, 2024
1 parent fa4f25c commit c4d184f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/pages/Home.module.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
.container {
width: min(var(--page-width), 100% - 2 * var(--page-padding));
margin-inline: auto;

> p {
font-size: 2.4rem;
font-weight: 500;
margin-block: 2rem;
}
}
1 change: 1 addition & 0 deletions src/pages/Home.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ const HomePage: Component<RouteSectionProps> = () => {
<Meta name="twitter:card" content="summary" />

<div class={styles.container}>
<p>Legfrissebb hírek</p>
<CardGrid posts={data()?.posts} />
<Banners />
</div>
Expand Down

0 comments on commit c4d184f

Please sign in to comment.