Skip to content

Commit

Permalink
refactor(overall): ✨ tweak overall
Browse files Browse the repository at this point in the history
  • Loading branch information
brklntmhwk committed Nov 12, 2024
1 parent 12fc4c5 commit 40b776c
Show file tree
Hide file tree
Showing 8 changed files with 24 additions and 14 deletions.
2 changes: 1 addition & 1 deletion astro.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,6 @@ export default defineConfig({
} satisfies RemarkVideoConfig,
],
remarkFootnote,
remarkLineBreaks,
[
remarkEmbed,
{
Expand All @@ -151,6 +150,7 @@ export default defineConfig({
} satisfies RemarkEmbedOptions,
],
remarkLinkCard,
remarkLineBreaks,
],
rehypePlugins: [
rehypeKatex,
Expand Down
4 changes: 2 additions & 2 deletions src/content/blog/en/astro-website.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
title: Build a Personal Website with Astro, Cloudflare Pages, D1, and Front Matter CMS
description: A quick tour of my personal blog built with Astro, Cloudflare Pages, D1, and Front Matter CMS.
publishedAt: 2024-07-13T00:34:54.000Z
modifiedAt: 2024-11-12T05:06:41.400Z
modifiedAt: 2024-11-12T05:52:59.352Z
draft: published
type: blog
category:
Expand Down Expand Up @@ -459,4 +459,4 @@ Styling:

https://nostalgic-css.github.io/NES.css/

https://vanilla-extract.style/
https://tailwindcss.com/
4 changes: 2 additions & 2 deletions src/content/blog/ja/astro-website.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
title: Astro + Cloudflare Pages + D1 + Front Matter CMS で個人ウェブサイトを作った
description: Astro + Cloudflare Pages + D1 + Front Matter CMSの構成で作った個人ウェブサイトの開発体験を簡単に紹介する
publishedAt: 2024-07-13T00:35:10.000Z
modifiedAt: 2024-11-12T05:06:19.722Z
modifiedAt: 2024-11-12T05:52:57.033Z
draft: published
type: blog
category:
Expand Down Expand Up @@ -458,4 +458,4 @@ https://route360.dev/ja/post/frontmatter-cms/

https://nostalgic-css.github.io/NES.css/

https://vanilla-extract.style/
https://tailwindcss.com/
7 changes: 6 additions & 1 deletion src/content/page/en/work.mdx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: Work
fmContentType: page
modifiedAt: 2024-09-13T08:29:31.690Z
modifiedAt: 2024-11-12T05:28:57.025Z
---

## Development
Expand All @@ -24,4 +24,9 @@ Nagi's Personal Knowledge Base built using Obsidian
**remark-card**
A remark plugin to parse card component(s) for Markdown content
:::
:::card
[![ remark-video ](../../../assets/images/plugin-image.png)](https://github.com/brklntmhwk/remark-video)
**remark-video**
A remark plugin to parse HTML5 video component(s) for Markdown content
:::
::::
7 changes: 6 additions & 1 deletion src/content/page/ja/work.mdx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: 作品
fmContentType: page
modifiedAt: 2024-09-13T08:28:07.458Z
modifiedAt: 2024-11-12T05:29:53.724Z
---

## 開発
Expand All @@ -24,4 +24,9 @@ Obsidian で作った個人ナレッジベース
**remark-card**
マークダウンをカードコンポーネントに変換する Remark プラグイン
:::
:::card
[![ remark-video ](../../../assets/images/plugin-image.png)](https://github.com/brklntmhwk/remark-video)
**remark-video**
マークダウンを HTML5 対応のビデオコンポーネントに変換する Remark プラグイン
:::
::::
2 changes: 1 addition & 1 deletion src/layouts/BlogLayout.astro
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ const tags = await getBlogTags(blogTags);
)
} -->
<h1 class="text-center text-3xl sm:text-4xl md:text-5xl font-extrabold leading-snug sm:leading-snug md:leading-snug">{title}</h1>
<div class="text-[0.825rem] sm:text-[1.045rem] pt-2.5 pb-3.5 flex flex-wrap justify-center items-center gap-y-4 gap-x-3">
<div class="text-[0.825rem] sm:text-[1.045rem] pt-2.5 pb-3.5 flex flex-wrap justify-center items-center gap-y-7 gap-x-3">
{
category && (
<Taxonomy
Expand Down
6 changes: 3 additions & 3 deletions src/pages/[locale]/index.astro
Original file line number Diff line number Diff line change
Expand Up @@ -39,23 +39,23 @@ const latestNews = newsList.slice(0, NEWS_LATEST_MAXIMUM_COUNT);
>
<main class="flex flex-col gap-5 xl:gap-9 xl:pt-10 xl:px-24 xl:pb-24" data-pagefind-ignore="all">
<BulletinBoard newsList={latestNews} />
<section class="py-3 px-4 border-2 border-solid border-line-solid rounded-sm flex flex-col gap-1.5 md:py-6 md:px-9">
<section class="py-3 px-4 border-2 border-solid border-line-solid rounded-sm flex flex-col gap-2 md:py-6 md:px-9">
<h2 class="text-3xl md:text-4xl font-bold">{t.data.pages.home.about_section.title}</h2>
<span>{t.data.pages.home.about_section.description}</span>
<a class="flex items-center gap-1 self-end text-lg md:text-xl text-blue-600 hover:text-blue-800 dark:text-blue-400 dark:hover:text-blue-500" href={translatePath('/about')}>
{t.data.pages.home.about_section.read_more}
<Icon iconName="right-arrow" width={18} height={18} />
</a>
</section>
<section class="py-3 px-4 border-2 border-solid border-line-solid rounded-sm flex flex-col gap-1.5 md:py-6 md:px-9">
<section class="py-3 px-4 border-2 border-solid border-line-solid rounded-sm flex flex-col gap-2 md:py-6 md:px-9">
<h2 class="text-3xl md:text-4xl font-bold">{t.data.pages.home.blog_section.title}</h2>
<BlogList taxonomies={{ show: true, shouldDisplay: ['category', 'tags'] }} entries={latestBlogEntries} />
<a class="flex items-center gap-1 self-end text-lg md:text-xl text-blue-600 hover:text-blue-800 dark:text-blue-400 dark:hover:text-blue-500" href={translatePath('/blog')}>
{t.data.pages.home.blog_section.read_more}
<Icon iconName="right-arrow" width={18} height={18} />
</a>
</section>
<section class="py-3 px-4 border-2 border-solid border-line-solid rounded-sm flex flex-col gap-1.5 md:py-6 md:px-9">
<section class="py-3 px-4 border-2 border-solid border-line-solid rounded-sm flex flex-col gap-2 md:py-6 md:px-9">
<h2 class="text-3xl md:text-4xl font-bold">{t.data.pages.home.photo_section.title}</h2>
<span>{t.data.pages.home.photo_section.description}</span>
<PhotoGallery {photos} />
Expand Down
6 changes: 3 additions & 3 deletions src/pages/index.astro
Original file line number Diff line number Diff line change
Expand Up @@ -33,23 +33,23 @@ const latestNews = newsList.slice(0, NEWS_LATEST_MAXIMUM_COUNT);
>
<main class="flex flex-col gap-5 xl:gap-9 xl:pt-10 xl:px-24 xl:pb-24" data-pagefind-ignore="all">
<BulletinBoard newsList={latestNews} />
<section class="py-3 px-4 border-2 border-solid border-line-solid rounded-sm flex flex-col gap-1.5 md:py-6 md:px-9">
<section class="py-3 px-4 border-2 border-solid border-line-solid rounded-sm flex flex-col gap-2 md:py-6 md:px-9">
<h2 class="text-3xl md:text-4xl font-bold">{t.data.pages.home.about_section.title}</h2>
<span>{t.data.pages.home.about_section.description}</span>
<a class="flex items-center gap-1 self-end text-lg md:text-xl text-blue-600 hover:text-blue-800 dark:text-blue-400 dark:hover:text-blue-500" href={translatePath('/about')}>
{t.data.pages.home.about_section.read_more}
<Icon iconName="right-arrow" width={18} height={18} />
</a>
</section>
<section class="py-3 px-4 border-2 border-solid border-line-solid rounded-sm flex flex-col gap-1.5 md:py-6 md:px-9">
<section class="py-3 px-4 border-2 border-solid border-line-solid rounded-sm flex flex-col gap-2 md:py-6 md:px-9">
<h2 class="text-3xl md:text-4xl font-bold">{t.data.pages.home.blog_section.title}</h2>
<BlogList taxonomies={{ show: true, shouldDisplay: ['category', 'tags'] }} entries={latestBlogEntries} />
<a class="flex items-center gap-1 self-end text-lg md:text-xl text-blue-600 hover:text-blue-800 dark:text-blue-400 dark:hover:text-blue-500" href={translatePath('/blog')}>
{t.data.pages.home.blog_section.read_more}
<Icon iconName="right-arrow" width={18} height={18} />
</a>
</section>
<section class="py-3 px-4 border-2 border-solid border-line-solid rounded-sm flex flex-col gap-1.5 md:py-6 md:px-9">
<section class="py-3 px-4 border-2 border-solid border-line-solid rounded-sm flex flex-col gap-2 md:py-6 md:px-9">
<h2 class="text-3xl md:text-4xl font-bold">{t.data.pages.home.photo_section.title}</h2>
<span>{t.data.pages.home.photo_section.description}</span>
<PhotoGallery {photos} />
Expand Down

0 comments on commit 40b776c

Please sign in to comment.