|
5 | 5 | <meta charset="UTF-8">
|
6 | 6 | <meta http-equiv="X-UA-Compatible" content="IE=edge">
|
7 | 7 | <meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 8 | + <script> |
| 9 | + document.documentElement.lang = navigator.language.split('-').shift(); |
| 10 | + </script> |
8 | 11 | <!-- Bootstrap CSS -->
|
9 | 12 | <link href=" https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel=" stylesheet"
|
10 | 13 | integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3" crossorigin="anonymous">
|
| 14 | + <style> |
| 15 | + body{ |
| 16 | + height: 200vh |
| 17 | + } |
| 18 | + |
| 19 | + .divider{ |
| 20 | + margin-top: 3rem; |
| 21 | + height: 1em; |
| 22 | + } |
| 23 | + </style> |
11 | 24 | <link rel="stylesheet" href="tutorial.css">
|
12 | 25 | <title>Tutorial</title>
|
13 | 26 | </head>
|
14 | 27 |
|
15 | 28 | <body>
|
16 | 29 | <nav class="navbar navbar-expand-lg navbar-light bg-light">
|
17 | 30 | <div class="container-fluid">
|
18 |
| - <a class="navbar-brand" href="#">Navbar</a> |
| 31 | + <a class="navbar-brand" id="brand" href="#">Tutorial</a> |
19 | 32 | <button class="navbar-toggler" type="button" data-bs-toggle="collapse"
|
20 | 33 | data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent"
|
21 | 34 | aria-expanded="false" aria-label="Toggle navigation">
|
|
29 | 42 | <li class="nav-item">
|
30 | 43 | <a class="nav-link" href="#">Link</a>
|
31 | 44 | </li>
|
32 |
| - <li class="nav-item dropdown"> |
33 |
| - <a class="nav-link dropdown-toggle" href="#" id="navbarDropdown" role="button" |
34 |
| - data-bs-toggle="dropdown" aria-expanded="false"> |
35 |
| - Dropdown |
36 |
| - </a> |
37 |
| - <ul class="dropdown-menu" aria-labelledby="navbarDropdown"> |
38 |
| - <li><a class="dropdown-item" href="#">Action</a></li> |
39 |
| - <li><a class="dropdown-item" href="#">Another action</a></li> |
40 |
| - <li> |
41 |
| - <hr class="dropdown-divider"> |
42 |
| - </li> |
43 |
| - <li><a class="dropdown-item" href="#">Something else here</a></li> |
44 |
| - </ul> |
45 |
| - </li> |
46 |
| - <li class="nav-item"> |
47 |
| - <a class="nav-link disabled">Disabled</a> |
48 |
| - </li> |
49 | 45 | </ul>
|
50 |
| - <form class="d-flex"> |
51 |
| - <input class="form-control me-2" type="search" placeholder="Search" aria-label="Search"> |
52 |
| - <button class="btn btn-outline-success" type="submit">Search</button> |
53 |
| - </form> |
54 | 46 | </div>
|
55 | 47 | </div>
|
56 | 48 | </nav>
|
57 | 49 |
|
58 | 50 | <main class="container">
|
59 | 51 | <div class="divider"></div>
|
60 |
| - <div class="h1 fw-bold text-uppercase position-fixed top-25">tutorial test</div> |
| 52 | + <div id="tuto-0" class="h1 fw-bold border-start border-5 ps-3 border-success">Tutorials는</div> |
61 | 53 | <div class="bg-light p-3 border rounded-3 my-3">
|
62 |
| - Lorem ipsum dolor sit amet, consectetur adipisicing elit. Placeat nam est fugiat voluptatem sint. Vel |
63 |
| - ducimus qui ex, reiciendis ipsa, ut unde fugiat exercitationem obcaecati ab libero. Libero, iure ullam! |
| 54 | + <kbd>Tutorial JS</kbd>는 웹에서 쉽게 튜토리얼을 진행 할 수 있도록 도와주는 애플리케이션입니다. 현재 계속해서 업데이트 중이오니 많은 관심 바랍니다. |
| 55 | + <br> |
| 56 | + <div> |
| 57 | + <a class="badge text-muted" href="https://kkn1125.github.io/"> |
| 58 | + 개발자 블로그 |
| 59 | + </a> |
| 60 | + </div> |
64 | 61 | </div>
|
| 62 | + <div class="h2">버전</div> |
| 63 | + <div class="bg-light p-3 border rounded-3 my-3">v0.1.0 pre-release</div> |
65 | 64 |
|
66 |
| - <div class="d-flex card-wrap my-3"> |
67 |
| - <div class="card"> |
| 65 | + <div class="h2">이럴 때 사용합니다</div> |
| 66 | + <div id="tuto-1" class="row g-3 my-3"> |
| 67 | + <div class="card col-12 col-md-6 col-lg-4"> |
68 | 68 | <div class="card-body">
|
69 |
| - <h5 class="card-title">Card title</h5> |
70 |
| - <h6 class="card-subtitle mb-2 text-muted">Card subtitle</h6> |
71 |
| - <p class="card-text">Some quick example text to build on the card title and make up the bulk of |
72 |
| - the card's content.</p> |
73 |
| - <a href="#" class="card-link">Card link</a> |
| 69 | + <h5 class="card-title">다양한 기능 페이지에 있는 경우</h5> |
| 70 | + <h6 class="card-subtitle mb-2 text-muted">첫 번째</h6> |
| 71 | + <p class="card-text">많은 기능을 담은 페이지는 튜토리얼이 따로 필요 할 수도 있습니다. 그럴때 사용하면 좋을 것이라 생각합니다.</p> |
| 72 | + <a href="#" class="card-link">Your Link</a> |
74 | 73 | <a href="#" class="card-link">Another link</a>
|
75 | 74 | </div>
|
76 | 75 | </div>
|
77 |
| - <div class="card"> |
| 76 | + <div class="card col-12 col-md-6 col-lg-4"> |
78 | 77 | <div class="card-body">
|
79 |
| - <h5 class="card-title">Card title</h5> |
80 |
| - <h6 class="card-subtitle mb-2 text-muted">Card subtitle</h6> |
81 |
| - <p class="card-text">Some quick example text to build on the card title and make up the bulk of |
82 |
| - the card's content.</p> |
83 |
| - <a href="#" class="card-link">Card link</a> |
| 78 | + <h5 class="card-title">페이지에 안내가 필요한 경우</h5> |
| 79 | + <h6 class="card-subtitle mb-2 text-muted">두 번째</h6> |
| 80 | + <p class="card-text">혹은 페이지를 처음 접하는 사람에게 도움을 주기 위해 부분적으로 <kbd>on</kbd>, <kbd>off</kbd>기능으로 변경해서 활용가능합니다.</p> |
| 81 | + <a href="#" class="card-link">Your Link</a> |
84 | 82 | <a href="#" class="card-link">Another link</a>
|
85 | 83 | </div>
|
86 | 84 | </div>
|
87 |
| - <div class="card"> |
| 85 | + <div class="card col-12 col-md-6 col-lg-4"> |
88 | 86 | <div class="card-body">
|
89 |
| - <h5 class="card-title">Card title</h5> |
90 |
| - <h6 class="card-subtitle mb-2 text-muted">Card subtitle</h6> |
91 |
| - <p class="card-text">Some quick example text to build on the card title and make up the bulk of |
92 |
| - the card's content.</p> |
93 |
| - <a href="#" class="card-link">Card link</a> |
| 87 | + <h5 class="card-title">기타 특수한 경우</h5> |
| 88 | + <h6 class="card-subtitle mb-2 text-muted">세 번째</h6> |
| 89 | + <p class="card-text">일반적인 웹 디자인이 아니라면 사용자가 혼돈 할 수 있으니 없는 것 보다 낫겠죠!?</p> |
| 90 | + <a href="#" class="card-link">Your Link</a> |
| 91 | + <a href="#" class="card-link">Another link</a> |
| 92 | + </div> |
| 93 | + </div> |
| 94 | + </div> |
| 95 | + |
| 96 | + <div class="h2">사용법</div> |
| 97 | + <div id="tuto-2" class="bg-light p-3 border rounded-3 my-3"> |
| 98 | + 현재 유효한 속성은 크게 5가지입니다. <kbd>tutorial</kbd>, <kbd>style</kbd>, <kbd>naming</kbd>, <kbd>autoPlay</kbd>, <kbd>effect</kbd>입니다. |
| 99 | + </div> |
| 100 | + <div class="row g-3 my-3"> |
| 101 | + <div id="tuto-3" class="card col-12 col-md-6 col-lg-4"> |
| 102 | + <div class="card-body"> |
| 103 | + <h5 class="card-title">tutorial</h5> |
| 104 | + <h6 class="card-subtitle mb-2 text-muted">튜토리얼 박스 대상 설정</h6> |
| 105 | + <p class="card-text">튜토리얼을 진행 할 대상을 지정하는 리스트입니다. 이때 <kbd>name</kbd>속성에 이름을 지정하며, <kbd>id</kbd> > <kbd>class</kbd> > <kbd>tagName</kbd>순으로 대상을 찾습니다. 그리고 <kbd>message</kbd>속성에 대상의 설명을 적으면 자동으로 스토리보드가 생성되어 버튼으로 조정되는 튜토리얼이 진행됩니다.</p> |
| 106 | + <a href="#" class="card-link">Your Link</a> |
| 107 | + <a href="#" class="card-link">Another link</a> |
| 108 | + </div> |
| 109 | + </div> |
| 110 | + <div id="tuto-4" class="card col-12 col-md-6 col-lg-4"> |
| 111 | + <div class="card-body"> |
| 112 | + <h5 class="card-title">style</h5> |
| 113 | + <h6 class="card-subtitle mb-2 text-muted">튜토리얼 박스 스타일 설정</h6> |
| 114 | + <p class="card-text">지정된 대상에 스타일을 조정합니다. |
| 115 | + <br> |
| 116 | + <br> |
| 117 | + <kbd>shadowColor</kbd>는 대상을 가리키는 영역 외 가려지는 부분의 색상을 조정합니다. |
| 118 | + <kbd>padding</kbd>은 대상을 가리키는 영역의 여유공간을 조정합니다. |
| 119 | + <br> |
| 120 | + <br> |
| 121 | + <kbd>border</kbd>, |
| 122 | + <kbd>msgBox</kbd>, |
| 123 | + <kbd>btns</kbd>는 공통으로 <kbd>rounded</kbd>속성이 있고, 모서리를 둥글게 합니다. |
| 124 | + <br> |
| 125 | + 그 외 <kbd>border</kbd>와 <kbd>msgBox</kbd>는 <kbd>color</kbd>속성을 공통으로 가지고 텍스트 색상을 결정하며, <kbd>border</kbd>는 <kbd>width</kbd>속성으로 테두리 두께를, <kbd>msgBox</kbd>의 <kbd>bgColor</kbd>속성으로 메세지 박스의 배경색상을 조정합니다. |
| 126 | + </p> |
| 127 | + <a href="#" class="card-link">Your Link</a> |
| 128 | + <a href="#" class="card-link">Another link</a> |
| 129 | + </div> |
| 130 | + </div> |
| 131 | + <div id="tuto-5" class="card col-12 col-md-6 col-lg-4"> |
| 132 | + <div class="card-body"> |
| 133 | + <h5 class="card-title">naming</h5> |
| 134 | + <h6 class="card-subtitle mb-2 text-muted">튜토리얼 진행 버튼 명칭 설정</h6> |
| 135 | + <p class="card-text">버튼별로 이름을 세팅할 수 있도록 했습니다. 고정된 이름보다는 환경에 맞게 변해야 페이지에 조화 될 것이라 생각됩니다. <kbd>restart</kbd>는 재시작 버튼의 명칭, <kbd>prev</kbd>, <kbd>next</kbd>, <kbd>exit</kbd>의 버튼 명칭을 변경 할 수 있습니다.</p> |
| 136 | + <a href="#" class="card-link">Your Link</a> |
| 137 | + <a href="#" class="card-link">Another link</a> |
| 138 | + </div> |
| 139 | + </div> |
| 140 | + <div id="tuto-6" class="card col-12 col-md-6 col-lg-4"> |
| 141 | + <div class="card-body"> |
| 142 | + <h5 class="card-title">autoPlay</h5> |
| 143 | + <h6 class="card-subtitle mb-2 text-muted">튜토리얼 자동 진행 여부</h6> |
| 144 | + <p class="card-text">곧바로 실행되는 것보다 사용자가 언제든 켜고 끌 수 있도록 하는 것을 원하시면 <kbd>autoPlay</kbd>를 <kbd>false</kbd>로 두고 실행 할 수 있습니다. 반대로 <kbd>true</kbd>로 실행하시면 켜자마자 실행됩니다.</p> |
| 145 | + <a href="#" class="card-link">Your Link</a> |
94 | 146 | <a href="#" class="card-link">Another link</a>
|
95 | 147 | </div>
|
96 | 148 | </div>
|
97 | 149 | </div>
|
98 | 150 | </main>
|
99 | 151 |
|
| 152 | + <div class="divider"></div> |
| 153 | + <div class="divider"></div> |
| 154 | + <div class="divider"></div> |
| 155 | + |
100 | 156 | <footer class="pt-3 mt-4 fixed-bottom bg-white">
|
101 | 157 | <ul class="nav justify-content-center border-bottom pb-3 mb-3">
|
102 |
| - <li class="nav-item"><a href="#" class="nav-link px-2 text-muted">Home</a></li> |
103 |
| - <li class="nav-item"><a href="#" class="nav-link px-2 text-muted">Features</a></li> |
104 |
| - <li class="nav-item"><a href="#" class="nav-link px-2 text-muted">Pricing</a></li> |
105 |
| - <li class="nav-item"><a href="#" class="nav-link px-2 text-muted">FAQs</a></li> |
106 |
| - <li class="nav-item"><a href="#" class="nav-link px-2 text-muted">About</a></li> |
| 158 | + <li class="nav-item"> |
| 159 | + <a href="https://kkn1125.github.io/" class="nav-link px-2 text-muted">개발자 블로그</a> |
| 160 | + </li> |
| 161 | + <li class="nav-item"> |
| 162 | + <a href="https://kkn1125.github.io/contact" class="nav-link px-2 text-muted">문의</a> |
| 163 | + </li> |
| 164 | + <li class="nav-item"> |
| 165 | + <a href="https://github.com/kkn1125/tutorial" class="nav-link px-2 text-muted">깃허브</a> |
| 166 | + </li> |
107 | 167 | </ul>
|
108 | 168 | <p class="text-center text-muted">© 2021 Company, Inc</p>
|
109 | 169 | </footer>
|
|
0 commit comments