From 345d3fba7c4ce83b054a8abbaef2c1d0276e6ab7 Mon Sep 17 00:00:00 2001
From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com>
Date: Thu, 19 Mar 2026 00:12:39 +0000
Subject: [PATCH 01/13] Initial plan
From 1bbe69f0972208f0d1c54c8f786e276973913817 Mon Sep 17 00:00:00 2001
From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com>
Date: Thu, 19 Mar 2026 00:20:45 +0000
Subject: [PATCH 02/13] Add MakamujoBanner component and place it on all
required pages
Co-authored-by: nahcnuj <2093896+nahcnuj@users.noreply.github.com>
---
app/components/Article.tsx | 2 ++
app/components/MakamujoBanner.tsx | 40 +++++++++++++++++++++++++++++++
app/routes/diary/index.tsx | 2 ++
app/routes/essays/index.tsx | 2 ++
app/routes/index.tsx | 2 ++
app/routes/works/index.tsx | 2 ++
6 files changed, 50 insertions(+)
create mode 100644 app/components/MakamujoBanner.tsx
diff --git a/app/components/Article.tsx b/app/components/Article.tsx
index bdf92e5..af519da 100644
--- a/app/components/Article.tsx
+++ b/app/components/Article.tsx
@@ -2,6 +2,7 @@ import { css } from 'hono/css'
import { html } from 'hono/html'
import type { ArticleLink } from '../lib/articles'
import AdMax from './AdMax'
+import MakamujoBanner from './MakamujoBanner'
import RelatedArticles from './RelatedArticles'
const articleClass = css`
@@ -161,6 +162,7 @@ ${'' /*
+
+
+ )
+}
diff --git a/app/routes/diary/index.tsx b/app/routes/diary/index.tsx
index a51a8f9..b2a147e 100644
--- a/app/routes/diary/index.tsx
+++ b/app/routes/diary/index.tsx
@@ -3,6 +3,7 @@
import { type Context, Hono } from 'hono'
import { redirectTo } from '../../../renderers'
import { articlesByDirectory } from '../../lib/articles'
+import MakamujoBanner from '../../components/MakamujoBanner'
import DiaryList from '../../islands/DiaryList'
const app = new Hono()
@@ -16,6 +17,7 @@ app.get('/index.html', (c: Context) => {
return c.render(
<>
日記
+
>,
{ frontmatter: { title, description, published: '2020-01-01' } },
diff --git a/app/routes/essays/index.tsx b/app/routes/essays/index.tsx
index ee1cc99..cb64020 100644
--- a/app/routes/essays/index.tsx
+++ b/app/routes/essays/index.tsx
@@ -1,6 +1,7 @@
import { type Context, Hono } from 'hono'
import { redirectTo } from '../../../renderers'
import { articlesByDirectory } from '../../lib/articles'
+import MakamujoBanner from '../../components/MakamujoBanner'
import EssayList from '../../islands/EssayList'
const app = new Hono()
@@ -14,6 +15,7 @@ app.get('/index.html', (c: Context) => {
return c.render(
<>
エッセイ
+
何かしらに言及したくなったときに取り留めもないままに書き連ねます。
>,
diff --git a/app/routes/index.tsx b/app/routes/index.tsx
index 0bebdeb..d2ae954 100644
--- a/app/routes/index.tsx
+++ b/app/routes/index.tsx
@@ -5,6 +5,7 @@ import Headline from '../components/Headline'
import Icon from '../components/Icon'
import LinkRow from '../components/LinkRow'
import LinkRowItem from '../components/LinkRowItem'
+import MakamujoBanner from '../components/MakamujoBanner'
import RelatedArticles from '../components/RelatedArticles'
function _pickRandom(arr: T[]): T | undefined {
@@ -113,6 +114,7 @@ export default createRoute((c) => {
+
diff --git a/app/routes/works/index.tsx b/app/routes/works/index.tsx
index b000baa..73c34bf 100644
--- a/app/routes/works/index.tsx
+++ b/app/routes/works/index.tsx
@@ -1,4 +1,5 @@
import { type Context, Hono } from 'hono'
+import MakamujoBanner from '../../components/MakamujoBanner'
import WorkList from '../../components/WorkList'
interface Frontmatter {
@@ -28,6 +29,7 @@ app.get('/index.html', (c: Context) => {
return c.render(
<>
Works
+
私が制作したモノの一覧です。
From a332fe116369c0843b6290853d62c0a84eca3246 Mon Sep 17 00:00:00 2001
From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com>
Date: Thu, 19 Mar 2026 00:26:27 +0000
Subject: [PATCH 03/13] Always show MakamujoBanner in articles; add
MakamujoBanner behavior tests
Co-authored-by: nahcnuj <2093896+nahcnuj@users.noreply.github.com>
---
app/components/Article.tsx | 2 +-
app/components/MakamujoBanner.test.tsx | 42 ++++++++++++++++++++++++++
2 files changed, 43 insertions(+), 1 deletion(-)
create mode 100644 app/components/MakamujoBanner.test.tsx
diff --git a/app/components/Article.tsx b/app/components/Article.tsx
index af519da..1345b7a 100644
--- a/app/components/Article.tsx
+++ b/app/components/Article.tsx
@@ -160,9 +160,9 @@ ${'' /*