Skip to content

Commit ee526af

Browse files
Merge pull request #21 from RubyCamp/modify-rubycamp2025
トップページ修正2
2 parents 3892fb7 + 9451bd9 commit ee526af

5 files changed

Lines changed: 13 additions & 12 deletions

File tree

_data/navigation.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
link: /news/
33
- name: 応募・開催概要
44
link: /info/
5-
- name: 過去の合宿の様子
6-
link: /reports/
75
- name: お問い合わせ
86
link: /contact/
97
- name: 旧サイト

_includes/hero.html

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,17 @@
11
<section class="hero {% if page.hero_height %} {{ page.hero_height }} {% else %} is-medium {% endif %} is-bold is-primary" {% if page.hero_image %} style="background: url('{{ page.hero_image }}') no-repeat center center; background-size: cover;" {% endif %}>
22
<div class="hero-body {% if page.hero_darken %} hero-darken {% endif %}">
33
<div class="container">
4-
{% if page.article %}
5-
<h1 class="title article is-2">{{ page.title }}</h1>
4+
{% if page.no_title %}
65
{% else %}
7-
<h1 class="title is-2">{{ page.title }}</h1>
8-
{% endif %}
9-
<p class="subtitle is-3">{{ page.subtitle }}</p>
10-
{% if page.hero_link %}
11-
<a href="{{ page.hero_link | relative_url }}" class="button is-info is-large">{{ page.hero_link_text }}</a>
6+
{% if page.article %}
7+
<h1 class="title article is-2">{{ page.title }}</h1>
8+
{% else %}
9+
<h1 class="title is-2">{{ page.title }}</h1>
10+
{% endif %}
11+
<p class="subtitle is-3">{{ page.subtitle }}</p>
12+
{% if page.hero_link %}
13+
<a href="{{ page.hero_link | relative_url }}" class="button is-info is-large">{{ page.hero_link_text }}</a>
14+
{% endif %}
1215
{% endif %}
1316
</div>
1417
</div>

image/2025/rubycamp2025_a.pdf

-322 KB
Binary file not shown.

image/2025/rubycamp2025_b.pdf

-173 KB
Binary file not shown.

index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
show_sidebar: false
66
hero_image: /image/banners/banner_home.png
77
hero_height: is-fullheight
8+
no_title: true
89
---
910

1011
<div class="tile is-ancestor">
@@ -37,11 +38,10 @@ <h3>
3738
<div class="card">
3839
<div class="card-content grey lighten-5">
3940
<h5 class="red-text center-align">
40-
<i class="fa fa-file-image-o" aria-hidden="true"></i>
41-
Ruby合宿2025
41+
<i class="fa fa-images" aria-hidden="true"></i>
42+
Ruby合宿2025 ダウンロード
4243
</h5>
4344
<div class="center-align">
44-
<img class="responsive-img" src="/image/2025/rubycamp2025.png"/>
4545
<ul>
4646
<li>
4747
<a href="/image/2025/rubycamp2025_a.pdf" download="Ruby合宿2025チラシ_表面.pdf">

0 commit comments

Comments
 (0)