Skip to content

[DCJ2025-115] デフォルトのレイアウトを作成 #14

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Aug 12, 2025

Conversation

mucho613
Copy link
Collaborator

@mucho613 mucho613 commented Aug 11, 2025

概要

  • サイト全体のベースとなるレイアウト(default)の HTML を作成しました
    • その下で使われる header と、footer についても準備
  • Tailwind class での記述に関して認知負荷が高ければコメントしてください 🙏 複雑な部分だけ .scss に切り出すなどの対応をとります
  • 不要な style の削除(base.scss, mobile.scss, tablet.scss)

default のレイアウト

  • 以下の3パーツから成る
    • ヘッダー(header.html)
    • レイアウト外から挿入されるコンテンツ
    • フッター(footer.html)
default.html の説明。ヘッダー、コンテンツ、フッターの3つの領域に分かれ、縦に並んでいる

@@ -2,7 +2,6 @@


.site-footer {
background: #fff;
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • フッターは背景色を持たない方針にする
  • 大元のレイアウト(default.html など)が背景色を持っているため

Comment on lines -7 to -8
@use 'global/tablet';
@use 'global/mobile';
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ファイルを削除したので、読み込みしないようにした

Copy link
Collaborator Author

@mucho613 mucho613 Aug 11, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • 不要と思われる style を削除
  • 2024年以前のページとパーツに適用されていた

@mucho613 mucho613 force-pushed the feature/default-layout branch from 87a9436 to 673db71 Compare August 11, 2025 19:09
@mucho613 mucho613 changed the title WIP [DCJ2025-115] デフォルトのレイアウトを作成 [DCJ2025-115] デフォルトのレイアウトを作成 Aug 11, 2025
Copy link
Collaborator

@Fukusan64 Fukusan64 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok

@Fukusan64
Copy link
Collaborator

あ、Draftだった
なんかあったら再レビュー依頼お願いします

@mucho613 mucho613 marked this pull request as ready for review August 12, 2025 05:44
@mucho613
Copy link
Collaborator Author

mucho613 commented Aug 12, 2025

@Fukusan64 間違えて Draft のままでした失礼🙏

@mucho613 mucho613 merged commit e13e65a into main Aug 12, 2025
2 checks passed
@mucho613 mucho613 deleted the feature/default-layout branch August 12, 2025 08:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants