Advertisement
Guest User

Untitled

a guest
Jun 23rd, 2018
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.63 KB | None | 0 0
  1. <template>
  2. <div class="home-page">
  3. <div class="call-us-div unselectable">
  4. Call us! 123-456-7890
  5. </div>
  6. <topBar></topBar>
  7. <div class="video-div">
  8. <video class="homepage-video" type="video/mp4" ref="video" autoplay loop>
  9. <source src="https://www.w3schools.com/html/mov_bbb.mp4">
  10. </video>
  11. <router-link to="/about-us"><button type="button" class="learn-more-btn">Learn more!</button></router-link>
  12. </div>
  13. <div class="">
  14. <p>TEST</p>
  15. </div>
  16.  
  17. <!--This is suppost to have testimonials but the buttons currently don't work-->
  18.  
  19. <div class="slideshow-container">
  20.  
  21. <div class="mySlides">
  22. <blockqoute>I love you the more in that I believe you had liked me for my own sake and for nothing else</blockqoute>
  23. <p class="author">- John Keats</p>
  24. </div>
  25.  
  26. <div class="mySlides">
  27. <blockqoute>But man is not made for defeat. A man can be destroyed but not defeated.</blockqoute>
  28. <p class="author">- Ernest Hemingway</p>
  29. </div>
  30.  
  31. <div class="mySlides">
  32. <blockqoute>I have not failed. I've just found 10,000 ways that won't work.</blockqoute>
  33. <p class="author">- Thomas A. Edison</p>
  34. </div>
  35.  
  36. <a class="prev" onclick="plusSlides(-1)">❮</a>
  37. <a class="next" onclick="plusSlides(1)">❯</a>
  38.  
  39. </div>
  40.  
  41. <div class = "container">
  42. <h2>Meet Our Founders</h2>
  43. <p>As college applicants ourselves, we recently went through the process and have spent hundreds and hundreds of hours researching top colleges and how to get through their admissions processes. Admissions Elite was founded in Central Jersey by Rahul Khatti, attending University of Michigan and Trishiet Ray, attending Stanford University. Trishiet among others, Trishiet was also accepted into Harvard College, the University of Pennsylvania for the prestigious Jerome Fisher Program in Management and Technology, Cornell University, Carnegie Mellon University, and Vanderbilt University. Since then, we have hired a number of talented admissions consultants, ranging from MIT, Harvard, UPenn, and more.</p>
  44. <br>
  45. </div>
  46. <Footer></Footer>
  47. </div>
  48. </template>
  49.  
  50. <script>
  51. import TopBar from "../TopBar.vue";
  52. import Footer from "../Footer.vue";
  53.  
  54. export default {
  55. name: "HomePage",
  56. components: {
  57. "topBar": TopBar,
  58. "Footer": Footer
  59. },
  60. data () {
  61. return {
  62. }
  63. },
  64. mounted() {
  65. this.$refs.video.volume = 0;
  66. }
  67. }
  68.  
  69. //slides
  70. $( document ).ready({
  71. let slideIndex = 1;
  72. showSlides(slideIndex);
  73.  
  74. function plusSlides(n) {
  75. showSlides(slideIndex += n);
  76. }
  77.  
  78. function currentSlide(n) {
  79. showSlides(slideIndex = n);
  80. }
  81.  
  82. function showSlides(n) {
  83. var i;
  84. var slides = document.getElementsByClassName("mySlides");
  85. if (n > slides.length) {slideIndex = 1}
  86. if (n < 1) {slideIndex = slides.length}
  87. for (i = 0; i < slides.length; i++) {
  88. slides[i].style.display = "none";
  89. }
  90. slides[slideIndex-1].style.display = "block";
  91. }
  92. });
  93. </script>
  94.  
  95. <style scoped>
  96. h3,h2,p{
  97. color:white;
  98. }
  99. .home-page {
  100. --learn-more-btn-color: #00A000;
  101. --learn-more-btn-hover-color: #00C000;
  102. --learn-more-font-family: "Georgia";
  103. }
  104.  
  105. .video-div {
  106. //position: absolute;
  107. margin-top: 0px;
  108. width: 100%;
  109. height: 650px;
  110. overflow: hidden;
  111. display:block;
  112. }
  113.  
  114. .homepage-video {
  115. width: 100%;
  116. }
  117.  
  118. .learn-more-btn {
  119. position: absolute;
  120. display: inline-block;
  121. left: 50%;
  122. transform: translate(-50%, 0);
  123. bottom: 75px;
  124. background-color: var(--learn-more-btn-color);
  125. border: none;
  126. color: white;
  127. padding: 13px 20px;
  128. font-family: var(--learn-more-font-family);
  129. font-size: 18px;
  130. cursor: pointer;
  131. box-shadow: 0px 0px 75px 10px #000000;
  132. }
  133.  
  134. .learn-more-btn:hover {
  135. background-color: var(--learn-more-btn-hover-color);
  136. }
  137.  
  138. .call-us-div {
  139. background-color: #e5e5e5;
  140. //padding-bottom: 15px;
  141. //padding-top: 10px;
  142. padding-right: 10px;
  143. text-align: right;
  144. text-decoration: none;
  145. font-size: 22px;
  146. //float: right;
  147. }
  148.  
  149. .tab{
  150. display:inline-block;
  151. width:20px;
  152. }
  153.  
  154. * {box-sizing: border-box}
  155.  
  156. .slideshow-container {
  157. margin:0;
  158. font-family: Verdana, sans-serif;
  159. position: relative;
  160. background: #f1f1f1f1;
  161. }
  162.  
  163. .mySlides {
  164. display: none;
  165. padding: 80px;
  166. text-align: center;
  167. }
  168.  
  169. .prev, .next {
  170. cursor: pointer;
  171. position: absolute;
  172. top: 50%;
  173. width: auto;
  174. margin-top: -30px;
  175. padding: 16px;
  176. color: #888;
  177. font-weight: bold;
  178. font-size: 20px;
  179. border-radius: 0 3px 3px 0;
  180. user-select: none;
  181. }
  182.  
  183. .next {
  184. position: absolute;
  185. right: 0;
  186. border-radius: 3px 0 0 3px;
  187. }
  188.  
  189. .prev:hover, .next:hover {
  190. background-color: grey;
  191. color: white;
  192. }
  193.  
  194. blockqoute {font-style: italic;}
  195.  
  196. .author {color: cornflowerblue;}
  197.  
  198. </style>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement