2022-12-27 20:58:47 +05:30
|
|
|
<script lang="ts">
|
|
|
|
import type { PageData } from "./$types";
|
|
|
|
export let data: PageData;
|
2023-01-01 13:52:26 +05:30
|
|
|
|
|
|
|
import { PostsContainer, PostOuter, Title, Meta, ReadMore } from "$lib/BlogCard";
|
2022-12-27 20:58:47 +05:30
|
|
|
</script>
|
|
|
|
|
2023-01-01 13:52:26 +05:30
|
|
|
<svelte:head>
|
|
|
|
<title>Blog author {data.authorName} | Project Segfault Blog</title>
|
|
|
|
</svelte:head>
|
|
|
|
|
2023-01-02 00:20:51 +05:30
|
|
|
<h1>Blog author <span class="text-accent">{data.authorName}</span></h1>
|
2022-12-27 20:58:47 +05:30
|
|
|
|
2023-01-01 13:52:26 +05:30
|
|
|
<PostsContainer>
|
2022-12-27 20:58:47 +05:30
|
|
|
{#each data.posts as post}
|
2023-01-01 13:52:26 +05:30
|
|
|
<PostOuter>
|
|
|
|
<Title {post} />
|
|
|
|
<Meta {post} />
|
|
|
|
<ReadMore {post} />
|
|
|
|
</PostOuter>
|
2022-12-27 20:58:47 +05:30
|
|
|
{/each}
|
2023-01-01 13:52:26 +05:30
|
|
|
</PostsContainer>
|