ClavinJune

Untitled

Dec 18th, 2018
159
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.12 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <title> - </title>
  5. <meta charset="utf-8">
  6. <link rel="icon" type="image/x-icon" href="./assets/img/favicon.ico">
  7. <link rel="stylesheet" type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/bulma/0.7.2/css/bulma.min.css">
  8. <link rel="stylesheet" type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
  9. <link href="https://fonts.googleapis.com/css?family=Abel|Amatic+SC|Charm|Dancing+Script|Gloria+Hallelujah|Indie+Flower|Major+Mono+Display|Noto+Sans+JP|Open+Sans+Condensed:300|Pacifico|Quicksand|Raleway|Shadows+Into+Light|Source+Code+Pro" rel="stylesheet">
  10. <style type="text/css">
  11. body {
  12. font-family: 'Noto Sans JP', sans-serif;
  13. font-size: 15px;
  14. }
  15. .bg-image {
  16. background-image: url("http://orig14.deviantart.net/7584/f/2015/181/2/7/flat_mountains_landscape_by_ggiuliafilippini-d8zdbco.jpg");
  17. background-position: center center;
  18. background-repeat: no-repeat;
  19. background-attachment: fixed;
  20. background-size: cover;
  21. }
  22.  
  23. .title {
  24. font-family: 'Pacifico', cursive;
  25. font-size: 5rem;
  26. /*color: #fdded3;*/
  27. }
  28. /*
  29. imported font
  30. font-family: 'Major Mono Display', monospace;
  31. font-family: 'Charm', cursive;
  32. font-family: 'Raleway', sans-serif;
  33. font-family: 'Open Sans Condensed', sans-serif;
  34. font-family: 'Quicksand', sans-serif;
  35. font-family: 'Indie Flower', cursive;
  36. font-family: 'Dancing Script', cursive;
  37. font-family: 'Pacifico', cursive;
  38. font-family: 'Noto Sans JP', sans-serif;
  39. font-family: 'Abel', sans-serif;
  40. font-family: 'Shadows Into Light', cursive;
  41. font-family: 'Source Code Pro', monospace;
  42. font-family: 'Amatic SC', cursive;
  43. font-family: 'Gloria Hallelujah', cursive;
  44. */
  45.  
  46. </style>
  47. </head>
  48. <body class="has-navbar-fixed-top">
  49. <div id="app">
  50. <nav class="navbar is-fixed-top is-dark">
  51. <div class="container">
  52. <div class="navbar-brand">
  53. <a class="navbar-item">
  54. <img src="https://bulma.io/images/bulma-type-white.png" alt="Logo">
  55. </a>
  56. <span class="navbar-burger burger">
  57. <span></span>
  58. <span></span>
  59. <span></span>
  60. </span>
  61. </div>
  62. <div class="navbar-menu">
  63. <div class="navbar-end">
  64. <a
  65. class="navbar-item"
  66. @click="title = 'Mutsune'"
  67. :class="{'is-active': title === 'Mutsune'}"
  68. >
  69. Mutsune
  70. </a>
  71. <a
  72. class="navbar-item"
  73. @click="title = 'API'"
  74. :class="{'is-active': title === 'API'}"
  75. >
  76. API
  77. </a>
  78. <a
  79. class="navbar-item"
  80. @click="title = 'X'"
  81. :class="{'is-active': title === 'X'}"
  82. >
  83. X
  84. </a>
  85. <a
  86. class="navbar-item"
  87. @click="title = 'Y'"
  88. :class="{'is-active': title === 'Y'}"
  89. >
  90. Y
  91. </a>
  92. </div>
  93. </div>
  94. </div>
  95. </nav>
  96. <section class="hero is-fullheight-with-navbar bg-image">
  97. <div class="hero-head">
  98. </div>
  99.  
  100. <div class="hero-body">
  101. <div class="container has-text-centered">
  102. <h1 class="title has-text-warning is-size-1-mobile">
  103. {{ title }}
  104. </h1>
  105. <h2 class="subtitle is-size-7-mobile" v-html='subtitle'>
  106. {{ subtitle }}
  107. </h2>
  108. </div>
  109. </div>
  110.  
  111. <div class="hero-foot">
  112. <div class="container">
  113. <div class="tabs is-boxed is-fullwidth">
  114. <ul>
  115. <li class="is-active">
  116. <a>
  117. <span>a</span>
  118. </a>
  119. </li>
  120. <li>
  121. <a>
  122. <span>b</span>
  123. </a>
  124. </li>
  125. <li>
  126. <a>
  127. <span>c</span>
  128. </a>
  129. </li>
  130. </ul>
  131. </div>
  132. </div>
  133. </div>
  134. </section>
  135. </div>
  136. <script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>
  137. <script type="text/javascript">
  138. new Vue({
  139. el: '#app',
  140. data: {
  141. title: 'Mutsune',
  142. subtitle: '<a href="/">Something here Mutsune</a>'
  143. },
  144. watch: {
  145. title: function (value) {
  146. switch (this.title) {
  147. case 'Mutsune':
  148. this.subtitle = '<a href="/">Something here Mutsune</a>'
  149. break;
  150. case 'API':
  151. this.subtitle = '<a href="/">Something here API</a>'
  152. break;
  153. case 'X':
  154. this.subtitle = '<a href="/">Something here X</a>'
  155. break;
  156. case 'Y':
  157. this.subtitle = '<a href="/">Something here Y</a>'
  158. break;
  159. }
  160. }
  161. },
  162. methods: {
  163. }
  164. })
  165. </script>
  166. </body>
  167. </html>
Add Comment
Please, Sign In to add comment