This repository has been archived by the owner on Mar 26, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
single-material.php
55 lines (52 loc) · 2.6 KB
/
single-material.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
<?php get_header(); ?>
<main>
<?php if(have_posts()): while(have_posts()): the_post(); ?>
<!-- Hero -->
<section class="text-gray-700 body-font">
<div class="container mx-auto flex px-5 py-24 md:flex-row flex-col items-center">
<div
class="lg:flex-grow lg:pr-24 md:pr-16 flex flex-col md:items-start md:text-left mb-16 md:mb-0 items-center text-center">
<h1 class="title-font sm:text-4xl text-3xl mb-4 font-medium text-gray-900"><?=the_title()?>
<!-- <br class="hidden lg:inline-block"> -->
</h1>
<p class="mb-8 leading-relaxed">ディスクリプション</p>
<div class="flex justify-center">
<span
class="inline-block py-1 px-3 mr-2 rounded bg-blue-100 text-blue-500 text-sm font-medium tracking-widest">CATEGORY</span>
<span
class="inline-block py-1 px-3 mr-2 rounded bg-blue-100 text-blue-500 text-sm font-medium tracking-widest">CATEGORY</span>
</div>
</div>
</div>
</section>
<!-- スライド? -->
<section class="text-gray-700 body-font"></section>
<section class="text-gray-700 body-font">
<div class="container mx-auto flex px-5 py-24 md:flex-row flex-col">
<div class="lg:flex-grow lg:pr-24 flex flex-col text-left mb-16 md:mb-0">
<h1 class="flex-grow sm:pr-16 text-2xl font-medium title-font text-gray-900">ココに本文タイトル</h1>
<p class="mt-4 mb-8 leading-relaxed"><?=the_content()?></p>
</div>
</div>
</section>
<!-- Quiz -->
<section class="text-gray-700 body-font">
<div class="container px-5 py-24 mx-auto">
<div class="flex flex-col text-left w-full mb-6">
<h1 class="sm:text-3xl text-2xl font-medium title-font mb-4 text-gray-900 ">クイズタイトル
</h1>
<p class="leading-relaxed text-base">クイズ本文
</p>
</div>
<div class="flex w-full sm:flex-row flex-col mx-auto px-0">
<input
class="flex-grow w-full bg-gray-100 rounded border border-gray-400 focus:outline-none focus:border-blue-500 text-base px-4 py-2 mr-4 mb-4 sm:mb-0"
placeholder="Email" type="email">
<button
class="text-white bg-blue-500 border-0 py-2 px-8 focus:outline-none hover:bg-blue-600 rounded text-lg">Button</button>
</div>
</div>
</section>
<?php endwhile; endif; ?>
</main>
<?php get_footer(); ?>