From 4a9d97bdf382b4f00a9723a30ff5d32a50be295c Mon Sep 17 00:00:00 2001
From: LSH
Date: 星期一, 16 十月 2023 17:02:36 +0800
Subject: [PATCH] #

---
 src/main/webapp/views/login.html        |   14 ++++++++++++--
 src/main/webapp/static/image/banner.mp4 |    0 
 2 files changed, 12 insertions(+), 2 deletions(-)

diff --git a/src/main/webapp/static/image/banner.mp4 b/src/main/webapp/static/image/banner.mp4
new file mode 100644
index 0000000..251d679
--- /dev/null
+++ b/src/main/webapp/static/image/banner.mp4
Binary files differ
diff --git a/src/main/webapp/views/login.html b/src/main/webapp/views/login.html
index 3fc78f5..5f1c567 100644
--- a/src/main/webapp/views/login.html
+++ b/src/main/webapp/views/login.html
@@ -12,7 +12,7 @@
     <meta name="msapplication-TileColor" content="#111111">
     <link rel="icon" type="image/x-icon" href="../static/image/favicon.ico" />
     <link rel="stylesheet" href="../static/css/font/font-awesome-4.7.0/css/font-awesome.css">
-    <link rel="stylesheet" href="../static/css/main.min.css">
+<!--    <link rel="stylesheet" href="../static/css/main.min.css">-->
     <link rel="stylesheet" href="../static/css/login.css">
     <style>
       #sidebar{
@@ -45,9 +45,20 @@
         text-align: center;
       }
 
+      #background_video {
+        position: absolute;
+
+        top: 50%; left: 50%;
+        transform: translate(-50%, -50%);
+
+        object-fit: cover;
+        height: 100%; width: 100%;
+      }
+
     </style>
   </head>
   <body>
+    <video id="background_video" src="../static/image/banner.mp4" height="100%" loop autoplay muted="false" controlslist="nodownload" disablepictureinpicture></video>
     <div class="l-page l-page--white" data-id="easy_glitch">
       <div style="position: fixed;
                     z-index: 100;
@@ -66,7 +77,6 @@
         </p>
         <p class="p-sketch-outline__description">crm made with various simple objects.</p>
       </div>
-      <canvas class="p-canvas-webgl" id="canvas-webgl"></canvas>
 
     </div>
     <!-- 渚ц竟鏍� -->

--
Gitblit v1.9.1