Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
SaekiTominaga committed Aug 26, 2024
1 parent 6ee0165 commit 99b3e39
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
6 changes: 1 addition & 5 deletions astro/src/components/CodeBlock.astro
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,7 @@ const highlighted = registLanguageName !== undefined ? hljs.highlight(code, { la
---

<figure>
{
caption !== undefined && (
<figcaption class="c-caption">{caption}</figcaption>
)
}
{caption !== undefined && <figcaption class="c-caption">{caption}</figcaption>}
<div class="p-code">
<div class="p-code__clipboard">
<button type="button" class="p-code__clipboard-button js-button-clipboard" data-target={id}>
Expand Down
2 changes: 1 addition & 1 deletion astro/src/env.d.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
/// <reference types="astro/client" />
/// <reference path="../.astro/types.d.ts" />
/// <reference path="../.astro/types.d.ts" />
8 changes: 6 additions & 2 deletions astro/src/layouts/include/PageHeaderMadoka.astro
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@ const { top = false } = Astro.props;
top && (
<hgroup class="p-header-site">
<h1 class="p-header-site__name">まどか資料館</h1>
<p class="p-header-site__summary">『<cite>魔法少女まどか☆マギカ</cite>』の各種データやイベントレポートを紹介するサイト</p>
<p class="p-header-site__summary">
『<cite>魔法少女まどか☆マギカ</cite>』の各種データやイベントレポートを紹介するサイト
</p>
</hgroup>
)
}
Expand All @@ -25,7 +27,9 @@ const { top = false } = Astro.props;
<div class="p-header-site__name">
<a href="/madoka/">まどか資料館</a>
</div>
<p class="p-header-site__summary">『<cite>魔法少女まどか☆マギカ</cite>』の各種データやイベントレポートを紹介するサイト</p>
<p class="p-header-site__summary">
『<cite>魔法少女まどか☆マギカ</cite>』の各種データやイベントレポートを紹介するサイト
</p>
</div>
)
}
Expand Down

0 comments on commit 99b3e39

Please sign in to comment.