Skip to content

Commit

Permalink
js: removed featured block
Browse files Browse the repository at this point in the history
  • Loading branch information
gorenburg committed Dec 29, 2024
1 parent 1431d1d commit b5617fe
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
12 changes: 9 additions & 3 deletions src/components/featured.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,15 @@

<style>
.items-list {
display: flex;
gap: 1rem 1.5rem;
margin-bottom: 2.5rem;
display: none;
}
@media (min-width: 64rem) {
.items-list {
display: flex;
gap: 1rem 1.5rem;
margin-bottom: 2.5rem;
}
}
.item {
Expand Down
3 changes: 0 additions & 3 deletions src/routes/+page.svelte
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<script lang="ts">
import * as config from '$lib/config'
import Featured from '../components/featured.svelte'
import Pagination from '../components/pagination.svelte'
import PostsList from '../components/posts_list.svelte'
Expand All @@ -12,8 +11,6 @@
</svelte:head>

<section>
<Featured />

<PostsList items={data.posts.items} />

<Pagination page={1} totalItemsCount={data.posts.totalCount} />
Expand Down

0 comments on commit b5617fe

Please sign in to comment.