Slovand commited on
Commit
2c1ca9e
·
verified ·
1 Parent(s): 5005bf9

Update templates/splash.html

Browse files
Files changed (1) hide show
  1. templates/splash.html +8 -32
templates/splash.html CHANGED
@@ -15,19 +15,16 @@
15
  align-items: center;
16
  justify-content: center;
17
  z-index: 9999;
18
- transition: opacity 1s ease, visibility 1s ease;
19
  }
20
-
21
  .splash-logo {
22
  text-align: center;
23
  animation: float 2s ease-in-out infinite;
24
  }
25
-
26
  @keyframes float {
27
- 0%, 100% { transform: translateY(0px); }
28
  50% { transform: translateY(-10px); }
29
  }
30
-
31
  .splash-logo-icon {
32
  width: 120px;
33
  height: 120px;
@@ -39,33 +36,19 @@
39
  margin: 0 auto 2rem;
40
  animation: pulse 1.5s ease-in-out infinite;
41
  }
42
-
43
  @keyframes pulse {
44
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 #3b82f640; }
45
  50% { transform: scale(1.05); box-shadow: 0 0 0 20px #3b82f600; }
46
  }
47
-
48
- .splash-logo-icon i {
49
- font-size: 4rem;
50
- color: white;
51
- }
52
-
53
  .splash-title {
54
  font-size: 3rem;
55
  font-weight: 800;
56
  background: linear-gradient(135deg, #60a5fa, #c084fc);
57
  -webkit-background-clip: text;
58
  -webkit-text-fill-color: transparent;
59
- letter-spacing: 2px;
60
- margin-bottom: 0.5rem;
61
- }
62
-
63
- .splash-subtitle {
64
- color: #94a3b8;
65
- font-size: 0.875rem;
66
- letter-spacing: 2px;
67
  }
68
-
69
  .progress-bar {
70
  width: 200px;
71
  height: 2px;
@@ -74,17 +57,14 @@
74
  margin: 2rem auto 0;
75
  overflow: hidden;
76
  }
77
-
78
  .progress-fill {
79
  width: 0%;
80
  height: 100%;
81
  background: linear-gradient(90deg, #3b82f6, #8b5cf6);
82
  animation: loading 2s ease-out forwards;
83
  }
84
-
85
  @keyframes loading {
86
  0% { width: 0%; }
87
- 50% { width: 70%; }
88
  100% { width: 100%; }
89
  }
90
  </style>
@@ -93,14 +73,10 @@
93
  {% block content %}
94
  <div class="splash-screen" id="splashScreen">
95
  <div class="splash-logo">
96
- <div class="splash-logo-icon">
97
- <i class="fas fa-shield-alt"></i>
98
- </div>
99
  <h1 class="splash-title">D'TECTOR.AI</h1>
100
  <p class="splash-subtitle">AI CONTENT DETECTOR</p>
101
- <div class="progress-bar">
102
- <div class="progress-fill"></div>
103
- </div>
104
  </div>
105
  </div>
106
 
@@ -108,10 +84,10 @@
108
  setTimeout(() => {
109
  const splash = document.getElementById('splashScreen');
110
  splash.style.opacity = '0';
111
- splash.style.visibility = 'hidden';
112
  setTimeout(() => {
 
113
  window.location.href = '/landing';
114
- }, 500);
115
  }, 2000);
116
  </script>
117
  {% endblock %}
 
15
  align-items: center;
16
  justify-content: center;
17
  z-index: 9999;
18
+ transition: opacity 1s ease;
19
  }
 
20
  .splash-logo {
21
  text-align: center;
22
  animation: float 2s ease-in-out infinite;
23
  }
 
24
  @keyframes float {
25
+ 0%, 100% { transform: translateY(0); }
26
  50% { transform: translateY(-10px); }
27
  }
 
28
  .splash-logo-icon {
29
  width: 120px;
30
  height: 120px;
 
36
  margin: 0 auto 2rem;
37
  animation: pulse 1.5s ease-in-out infinite;
38
  }
 
39
  @keyframes pulse {
40
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 #3b82f640; }
41
  50% { transform: scale(1.05); box-shadow: 0 0 0 20px #3b82f600; }
42
  }
43
+ .splash-logo-icon i { font-size: 4rem; color: white; }
 
 
 
 
 
44
  .splash-title {
45
  font-size: 3rem;
46
  font-weight: 800;
47
  background: linear-gradient(135deg, #60a5fa, #c084fc);
48
  -webkit-background-clip: text;
49
  -webkit-text-fill-color: transparent;
 
 
 
 
 
 
 
 
50
  }
51
+ .splash-subtitle { color: #94a3b8; font-size: 0.875rem; letter-spacing: 2px; margin-top: 0.5rem; }
52
  .progress-bar {
53
  width: 200px;
54
  height: 2px;
 
57
  margin: 2rem auto 0;
58
  overflow: hidden;
59
  }
 
60
  .progress-fill {
61
  width: 0%;
62
  height: 100%;
63
  background: linear-gradient(90deg, #3b82f6, #8b5cf6);
64
  animation: loading 2s ease-out forwards;
65
  }
 
66
  @keyframes loading {
67
  0% { width: 0%; }
 
68
  100% { width: 100%; }
69
  }
70
  </style>
 
73
  {% block content %}
74
  <div class="splash-screen" id="splashScreen">
75
  <div class="splash-logo">
76
+ <div class="splash-logo-icon"><i class="fas fa-shield-alt"></i></div>
 
 
77
  <h1 class="splash-title">D'TECTOR.AI</h1>
78
  <p class="splash-subtitle">AI CONTENT DETECTOR</p>
79
+ <div class="progress-bar"><div class="progress-fill"></div></div>
 
 
80
  </div>
81
  </div>
82
 
 
84
  setTimeout(() => {
85
  const splash = document.getElementById('splashScreen');
86
  splash.style.opacity = '0';
 
87
  setTimeout(() => {
88
+ splash.style.display = 'none';
89
  window.location.href = '/landing';
90
+ }, 1000);
91
  }, 2000);
92
  </script>
93
  {% endblock %}