Skip to content

Commit 04558be

Browse files
committed
feat: add header section
1 parent de746de commit 04558be

File tree

5 files changed

+23
-15
lines changed

5 files changed

+23
-15
lines changed

_includes/header.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
<h1 class="max-w-lg mx-auto pt-5 px-8">
2+
<img src="/img/2025/top/header-logo.png" alt="DojoCon Japan 2025 Inspire Next." />
3+
</h1>

_layouts/default.html

Lines changed: 16 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,24 @@
1-
{% if page_title or page_title =='' %}
2-
{% assign page_title = page.title %}
1+
{% if page_title or page_title == '' %}
2+
{% assign page_title = page.title %}
33
{% endif %}
4-
{% if page_subtitle or page_subtitle =='' %}
5-
{% assign page_subtitle = page.subtitle %}
4+
{% if page_subtitle or page_subtitle == '' %}
5+
{% assign page_subtitle = page.subtitle %}
66
{% endif %}
77
{% assign page_title = page.title %}
88
<!DOCTYPE html>
99
<html lang="ja" dir="ltr">
10-
{% include head.html %}
11-
<body>
12-
{% include navbar.html %}
13-
{{ content }}
10+
{% include head.html %}
11+
12+
<body class="bg-linear-106 from-[#9d1e29] to-[#d4932a] text-[#262626] font-bold tracking-wider min-h-screen p-4 flex">
13+
<div class="bg-white rounded-2xl min-h-full flex-1 flex flex-col">
14+
{% include header.html %}
15+
16+
<div class="flex-1">
17+
{{ content }}
18+
</div>
1419

15-
<div id="page-top"><a href="#top"><img src="/img/svg/up.svg" alt="Up" width="24px" /></a></div>
1620
{% include footer.html %}
17-
</body>
21+
</div>
22+
</body>
23+
1824
</html>

_sass/global/base.scss

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -418,7 +418,7 @@ table thead th {
418418
float: left;
419419
object-fit: contain;
420420
}
421-
421+
422422
.individual {
423423
text-align: center;
424424
list-style: none;
@@ -431,7 +431,7 @@ table thead th {
431431
content: ',';
432432
}
433433
}
434-
434+
435435
.sponsor-gold {
436436
padding: 4vw;
437437
width: calc(100% - 8vw);
@@ -581,7 +581,7 @@ table thead th {
581581
.table-timehead {
582582
width: calc(50px - 16px);
583583
}
584-
584+
585585
#radio-session:checked ~ .table-session,
586586
#radio-workshop:checked ~ .table-workshop {
587587
display: block;

_sass/includes/footer.scss

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33

44
.site-footer {
5-
background: #fff;
65
text-align: center;
76
padding: 40px 0 24px;
87

@@ -79,4 +78,4 @@
7978
font-size: 0.97rem;
8079
}
8180
}
82-
}
81+
}

img/2025/top/header-logo.png

44.4 KB
Loading

0 commit comments

Comments
 (0)