Skip to content

Commit e2435bf

Browse files
authored
Merge pull request #5 from coderdojo-japan/create-contact-section
お問合せ欄を作成
2 parents ef1ea49 + 3826fa6 commit e2435bf

File tree

4 files changed

+34
-676
lines changed

4 files changed

+34
-676
lines changed

_config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# and they will be accessible like {{ site.your_variable }}.
44

55
timezone: Asia/Tokyo
6-
year: 2024
6+
year: 2025
77
title: DojoCon Japan
88
subtitle: "Inspire Next 〜好奇心に火をつけよう〜"
99
description: >-

_includes/top/sections/contact.html

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
<section id="contact">
2+
<div class="d-flex flex-column align-items-center text-center">
3+
<h2 class="header-letter-spacing">お問い合わせ</h2>
4+
<p class="fs-4 fw-bold lh-base mb-4">CONTACT</p>
5+
<p class="fs-6 fw-semibold letter-spacing lh-lg mb-5">DojoCon Japan {{ site.year }} についてのお問い合わせは<br>以下のリンク先(Googleフォーム)よりお願いいたします。</p>
6+
7+
<a href="{{ site.contact }}" class="btn-lg" target="_blank" rel="noopener">お問い合わせフォーム</a>
8+
</div>
9+
</section>

_sass/pages/index.scss

Lines changed: 23 additions & 340 deletions
Original file line numberDiff line numberDiff line change
@@ -1,347 +1,30 @@
1-
@use '../global/variables' as *;
2-
3-
/* stylesheet for `index.md` */
4-
.top {
5-
position: relative;
6-
&-information {
7-
height: 60vh;
8-
height: 60dvh;
9-
min-height: 600px;
10-
text-align: left;
11-
color: $white;
12-
@media screen and (max-width: 992px) {
13-
height: 75vh;
14-
height: 75dvh;
15-
}
16-
17-
&_date {
18-
font-size: 48px;
19-
font-family: "Poppins", sans-serif;
20-
font-weight: 900;
21-
font-style: normal;
22-
@media screen and (max-width: 992px) {
23-
font-size: 22px;
24-
}
25-
}
26-
&_leadcopy {
27-
font-size: 32px;
28-
font-weight: bold;
29-
@media screen and (max-width: 992px) {
30-
font-size: 20px;
31-
}
32-
}
33-
&_theme {
34-
font-size: 150px;
35-
font-family: "Poppins", sans-serif;
36-
font-weight: 900;
37-
font-style: normal;
38-
line-height: 1.4;
39-
@media screen and (max-width: 992px) {
40-
font-size: 56px;
41-
}
42-
}
1+
#contact {
2+
.header-letter-spacing {
3+
letter-spacing: 0.2em;
434
}
44-
&-videowrap {
45-
position: absolute;
46-
z-index: -1;/*最背面に設定*/
47-
top: 0;
48-
right:0;
49-
left:0;
50-
bottom:0;
51-
overflow: hidden;
52-
.video {
53-
/*天地中央配置*/
54-
position: absolute;
55-
top: 50%;
56-
left: 50%;
57-
transform: translate(-50%, -50%);
58-
/*縦横幅指定*/
59-
width: 177.77777778vh; /* 16:9 の幅→16 ÷ 9= 177.77% */
60-
height: 56.25vw; /* 16:9の幅 → 9 ÷ 16 = 56.25% */
61-
min-height: 100%;
62-
min-width: 100%;
63-
}
5+
.letter-spacing {
6+
letter-spacing: 0.17em;
647
}
65-
}
668

67-
section#contact {
68-
color: #ffffff;
69-
}
70-
71-
div#about {
72-
h2 {
73-
color: $secondary-color;
9+
.btn-lg {
10+
display: block;
11+
box-sizing: border-box;
12+
width: 50%;
13+
min-width: fit-content;
14+
padding: 0.8rem 1.5rem;
15+
font-size: 1.5rem;
7416
font-weight: bold;
75-
text-transform: uppercase;
76-
}
77-
78-
.wrapper-block {
79-
display: grid;
80-
grid-template-rows: auto auto auto;
81-
82-
color: #ffffff;
83-
background: linear-gradient(to right, white 25%, white 25%, $secondary-color 25%, $secondary-color 100%);
84-
85-
h3 {
86-
font-size: 1.65em;
87-
line-height: 1em;
88-
}
89-
90-
.description {
91-
p {
92-
font-size: 0.85em;
93-
line-height: 1.5em;
94-
}
95-
}
96-
97-
img {
98-
max-width: 50vw;
99-
}
100-
101-
section.first-section {
102-
grid-row: 1;
103-
104-
display: grid;
105-
grid-template-columns: 1fr 3fr 2fr 2fr;
106-
column-gap: 20px;
107-
108-
img {
109-
grid-column: 2;
110-
width: 100%;
111-
height: auto;
112-
}
113-
114-
.description {
115-
grid-column: 3;
116-
}
117-
}
118-
119-
section.second-section {
120-
grid-row: 2;
121-
122-
display: grid;
123-
grid-template-columns: 2fr 3fr 1fr 2fr;
124-
column-gap: 20px;
125-
126-
.description {
127-
grid-column: 2;
128-
}
129-
130-
img {
131-
grid-column: 3;
132-
width: 100%;
133-
height: auto;
134-
border-radius: 10px;
135-
}
136-
}
137-
138-
section.third-section {
139-
grid-row: 3;
140-
141-
display: grid;
142-
grid-template-columns: 1fr 2fr 1fr;
143-
column-gap: 20px;
144-
145-
.description {
146-
grid-column: 2;
147-
}
148-
}
149-
}
150-
}
151-
152-
.map {
153-
margin-bottom: 30px;
154-
}
155-
156-
157-
158-
159-
160-
// タブレット
161-
@media screen and (max-width: 800px) {
162-
#colored_zone {
163-
.title-welcome {
164-
font-size: 6vw;
165-
grid-column: 2 / span 10;
166-
}
167-
.dojocon-image {
168-
grid-column: 2 / span 12;
169-
img {
170-
width: 80%;
171-
margin-left: -5%
172-
}
173-
}
174-
.about-dojocon {
175-
grid-column: 2 / span 12;
176-
padding-left: 30px;
177-
padding-right: 30px;
178-
}
179-
180-
.about-coderdojo {
181-
grid-column: 2 / span 7;
182-
padding-right: 0;
183-
}
184-
.coderdojo-logo {
185-
grid-column: 9 / span 4;
186-
text-align: center;
187-
img {
188-
width: 60%;
189-
}
190-
}
191-
.about-dojocon-this-year {
192-
grid-column: 2 / span 12;
193-
}
17+
color: #0e0e0e;
18+
background-color: #efefef;
19+
border-radius: 999px;
20+
text-decoration: none;
21+
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2), 0 1.5px 0 #fff inset;
22+
border: none;
23+
transition: background-color 0.2s ease-in-out;
19424
}
195-
}
196-
197-
@media screen and (max-width: 640px) {
198-
.ignore-pc {
199-
display: inline;
200-
}
201-
.ignore-sp {
202-
display: none;
203-
}
204-
205-
206-
#colored_zone {
207-
.about-dojocon {
208-
padding: 60px 30px 60px 30px;
209-
.short {
210-
font-size: 1.5em;
211-
}
212-
}
213-
.coderdojo-logo {
214-
grid-column: 2 / span 12;
215-
text-align: center;
216-
order: 5;
217-
padding-top: 0;
218-
padding-bottom: 60px;
219-
img {
220-
width: 60%;
221-
}
222-
}
223-
.about-coderdojo {
224-
grid-column: 2 / span 12;
225-
padding: 0 30px;
226-
order: 6;
227-
.short {
228-
font-size: 1.5em;
229-
}
230-
}
231-
.about-dojocon-this-year {
232-
grid-column: 2 / span 12;
233-
padding: 60px 30px 60px 30px;
234-
.short {
235-
font-size: 1.5em;
236-
}
237-
}
238-
}
239-
}
240-
241-
242-
#sponsors_index {
243-
display: flex;
244-
text-align: center;
245-
flex-direction: column;
246-
justify-content: center;
247-
margin: 2em auto;
248-
max-width: 1000px;
249-
250-
.sponsors-container {
251-
margin-top: 70px;
252-
margin-bottom: 70px;
253-
h3 { font-weight: 700; }
254-
.sponsor-logo-container {
255-
display: flex;
256-
flex-wrap: wrap;
257-
justify-content: space-evenly;
258-
align-items: center;
259-
260-
img.sponsor-logo {
261-
transition: 0.5s;
262-
object-fit: contain;
263-
264-
&:hover {
265-
transform: scale(1.1);
266-
opacity: 0.8;
267-
}
268-
}
269-
270-
#platinum-sponsors > a {
271-
img.sponsor-logo {
272-
margin: 0.5em 0;
273-
max-width: 85%;
274-
}
275-
}
276-
277-
#gold-sponsors > a {
278-
img.sponsor-logo {
279-
margin: 0.2em 0;
280-
max-width: 60%;
281-
282-
@media screen and (max-width: 640px) {
283-
max-width: 65%;
284-
}
285-
}
286-
}
287-
288-
#silver-sponsors > a {
289-
img.sponsor-logo {
290-
margin: 0 1em;
291-
max-width: 40%;
292-
293-
@media screen and (max-width: 640px) {
294-
margin: 0 0.6em;
295-
max-width: 42%;
296-
}
297-
}
298-
}
299-
300-
#bronze-sponsors > a {
301-
img.sponsor-logo {
302-
margin: 0.8em 0.5em;
303-
max-width: 30%;
304-
305-
@media screen and (max-width: 640px) {
306-
margin: 0.4em 1em;
307-
max-width: 33%;
308-
}
309-
}
310-
}
311-
312-
#in-kind-sponsors {
313-
display: flex;
314-
flex-wrap: wrap;
315-
justify-content: space-evenly;
316-
317-
div {
318-
margin: 0.8em 0.5em;
319-
max-width: 30%;
320-
321-
img.sponsor-logo {
322-
max-width: 90%;
323-
}
324-
}
325-
}
326-
327-
#individual-sponsors {
328-
display: flex;
329-
flex-wrap: wrap;
330-
justify-content: space-evenly;
331-
align-items: center;
33225

333-
div.individual-sponsor-name {
334-
margin: 1em 2em;
335-
font-size: 1.2rem;
336-
a {
337-
&:hover {
338-
opacity: 0.8;
339-
color: var(--gray-dark);
340-
text-decoration: none;
341-
}
342-
}
343-
}
344-
}
345-
}
26+
.btn-lg:hover {
27+
background-color: #e0e0e0;
28+
color: #0e0e0e;
34629
}
347-
}
30+
}

0 commit comments

Comments
 (0)