app.blade.php 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176
  1. <!doctype html>
  2. <html lang="zh">
  3. <head>
  4. <meta charset="utf-8" />
  5. <meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover" />
  6. <meta http-equiv="X-UA-Compatible" content="ie=edge" />
  7. <title>@yield('title', '巴利书库')</title>
  8. @stack('styles')
  9. <link href="https://cdn.jsdelivr.net/npm/@tabler/core@latest/dist/css/tabler.min.css" rel="stylesheet" />
  10. <link href="https://cdn.jsdelivr.net/npm/@tabler/icons@latest/icons-sprite.svg" rel="stylesheet" />
  11. <style>
  12. .book-card {
  13. transition: transform 0.2s;
  14. }
  15. .book-card:hover {
  16. transform: translateY(-2px);
  17. }
  18. .book-cover {
  19. height: 200px;
  20. object-fit: cover;
  21. }
  22. @media (max-width: 768px) {
  23. .book-cover {
  24. height: 150px;
  25. }
  26. }
  27. .hero-section {
  28. height: 250px;
  29. width: 100%;
  30. background-image: url('{{ URL::asset("assets/images/hero-2.jpg") }}');
  31. background-size: cover;
  32. background-position: center;
  33. background-repeat: no-repeat;
  34. position: relative;
  35. display: flex;
  36. align-items: center;
  37. justify-content: center;
  38. }
  39. .hero-overlay {
  40. position: absolute;
  41. top: 0;
  42. left: 0;
  43. right: 0;
  44. bottom: 0;
  45. background: rgba(0, 0, 0, 0.5);
  46. }
  47. .hero-content {
  48. position: relative;
  49. z-index: 2;
  50. text-align: center;
  51. color: white;
  52. max-width: 600px;
  53. padding: 0 1rem;
  54. }
  55. .hero-title {
  56. font-size: 2.5rem;
  57. font-weight: bold;
  58. margin-bottom: 1rem;
  59. text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  60. }
  61. .hero-subtitle {
  62. font-size: 1.2rem;
  63. margin-bottom: 2rem;
  64. text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
  65. }
  66. .search-box {
  67. background: white;
  68. border-radius: 0.5rem;
  69. padding: 0.5rem;
  70. box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  71. max-width: 500px;
  72. margin: 0 auto;
  73. }
  74. .feature-card {
  75. transition: transform 0.3s ease, box-shadow 0.3s ease;
  76. height: 100%;
  77. }
  78. .feature-card:hover {
  79. transform: translateY(-5px);
  80. box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  81. }
  82. .stats-section {
  83. background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  84. color: white;
  85. }
  86. .stat-item {
  87. text-align: center;
  88. padding: 2rem 1rem;
  89. }
  90. .stat-number {
  91. font-size: 2.5rem;
  92. font-weight: bold;
  93. display: block;
  94. }
  95. .stat-label {
  96. font-size: 1rem;
  97. opacity: 0.9;
  98. margin-top: 0.5rem;
  99. }
  100. @media (max-width: 768px) {
  101. .hero-title {
  102. font-size: 2rem;
  103. }
  104. .hero-subtitle {
  105. font-size: 1rem;
  106. }
  107. .hero-section {
  108. height: 250px;
  109. }
  110. .stat-number {
  111. font-size: 2rem;
  112. }
  113. }
  114. @media (max-width: 576px) {
  115. .hero-title {
  116. font-size: 1.5rem;
  117. }
  118. .hero-subtitle {
  119. font-size: 0.9rem;
  120. }
  121. }
  122. </style>
  123. </head>
  124. <body>
  125. <div class="page">
  126. <!-- Hero Section -->
  127. <section class="hero-section">
  128. <div class="hero-overlay"></div>
  129. <div class="hero-content">
  130. <h1 class="hero-title">巴利书库</h1>
  131. <p class="hero-subtitle">探索wikipali,开启智慧之门</p>
  132. <div class="search-box">
  133. <div class="input-group">
  134. <input type="text" class="form-control form-control-lg" placeholder="搜索图书、作者或主题...">
  135. <button class="btn btn-primary btn-lg" type="button">
  136. <i class="ti ti-search"></i>
  137. </button>
  138. </div>
  139. </div>
  140. </div>
  141. </section>
  142. <div class="page-wrapper">
  143. @yield('content')
  144. </div>
  145. </div>
  146. <script src="https://cdn.jsdelivr.net/npm/@tabler/core@latest/dist/js/tabler.min.js"></script>
  147. @stack('scripts')
  148. </body>
  149. </html>