Skip to content

Commit 38e554d

Browse files
u
1 parent 9754fd0 commit 38e554d

File tree

9 files changed

+64
-41
lines changed

9 files changed

+64
-41
lines changed

SECURITY.md

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# Security Policy
2+
3+
## Supported Versions
4+
5+
| Version | Supported |
6+
| ------- | ------------------ |
7+
| 2.0.x | :white_check_mark: |
8+
| < 1.0 | :white_check_mark: |
9+
10+
## Reporting a Vulnerability
11+
12+
Report a vulnerability <a href='https://github.com/enterheadlines/Starlight/security/advisories/new'>here</a>

api/apikey.js

-10
This file was deleted.

assets/css/index.css

+25
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,32 @@ display: none;
281281
color: #aaaaaa;
282282
font-family: 'Montserrat', sans-serif;
283283
}
284+
.search-bar {
285+
display: flex;
286+
justify-content: center;
287+
padding: 20px;
288+
}
284289

290+
.search input {
291+
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
292+
outline: none;
293+
background-color: #1d1d1d; /* Dark background */
294+
width: 50%;
295+
padding: 20px;
296+
border: none;
297+
border-radius: 10px;
298+
font-size: 16px;
299+
color: #ffffff;
300+
transition: all 0.3s ease;
301+
}
302+
.search input:focus{
303+
background-color:rgba(74, 74, 74, 0.2); /* Dark background */
304+
box-shadow: 0 2px 10px rgba(74, 74, 74, 0.2);
305+
}
306+
.search input::placeholder {
307+
color: #aaaaaa;
308+
font-family: 'Montserrat', sans-serif;
309+
}
285310
.search-bar button {
286311
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
287312
font-family: 'Montserrat', sans-serif;

assets/html/search.html

+7-8
Original file line numberDiff line numberDiff line change
@@ -100,14 +100,13 @@
100100
</a>
101101
</div>
102102
</body>
103-
104-
<script src="/general/js/cloak.js"></script>
105-
<script src="/static/uv/uv.bundle.js" defer></script>
106-
<script src="/static/uv/uv.config.js" defer></script>
107-
<script src="/static/register-sw.js" defer></script>
108-
<script src="/static/search.js" defer></script>
109-
<script src="/static/index.js" defer></script>
110-
<script src="/static/error.js" defer></script>
103+
<script src="/assets/js/cloak.js"></script>
104+
<script src="/assets/uv/uv/uv.bundle.js" defer></script>
105+
<script src="/assets/uv/uv/uv.config.js" defer></script>
106+
<script src="/assets/uv/register-sw.js" defer></script>
107+
<script src="/assets/uv/search.js" defer></script>
108+
<script src="/assets/uv/index.js" defer></script>
109+
<script src="/assers/uv/error.js" defer></script>
111110
</html>
112111

113112

assets/js/ai.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ const chatBox = document.getElementById('chat-box');
22
const userInput = document.getElementById('user-input');
33
const sendButton = document.getElementById('send-button');
44

5-
const apiKey = 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;
5+
const apiKey = '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';
66

77
async function sendMessage() {
88
const userMessage = userInput.value.trim();

assets/js/moviesembed.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ const creatorElement = document.getElementById('desc-creator');
1111
async function fetchMediaDetails() {
1212
let detailsResponse;
1313
if (type === 'TV Show') {
14-
detailsResponse = await fetch(`https://api.themoviedb.org/3/tv/${tmdbId}?api_key=${apiKey}`);
14+
detailsResponse = await fetch(`https://api.themoviedb.org/3/tv/${tmdbId}?api_key=1070730380f5fee0d87cf0382670b255`);
1515
} else {
16-
detailsResponse = await fetch(`https://api.themoviedb.org/3/movie/${tmdbId}?api_key=${apiKey}`);
16+
detailsResponse = await fetch(`https://api.themoviedb.org/3/movie/${tmdbId}?api_key=1070730380f5fee0d87cf0382670b255`);
1717
}
1818

1919
const detailsData = await detailsResponse.json();

assets/misc/movies/movies.html

+16-15
Original file line numberDiff line numberDiff line change
@@ -213,22 +213,23 @@
213213

214214
</div>
215215

216-
<div class="desc">
217-
<h2 class="desc-title">Title</h2>
218-
<p>Unknown</p>
219-
<h2 class="desc-desc">Description</h2>
220-
<p>Unknown</p>
221-
<h2 class="desc-creator">Creator</h2>
222-
<p>Unknown<p>
223-
<h2>Keybinds</h2>
224-
<p>W,A,S,D, Custom Keys, Arrow keys</p>
225-
<h2>Devices</h2>
226-
<p>Desktop, Mobile</p>
227-
<h2>Latest Update</h2>
228-
<p>Oct 12th, 2024</p>
229-
</div>
230-
231216
</div>
217+
218+
<div class="desc">
219+
<h2 class="desc-title">Title</h2>
220+
<p>Unknown</p>
221+
<h2 class="desc-desc">Description</h2>
222+
<p>Unknown</p>
223+
<h2 class="desc-creator">Creator</h2>
224+
<p>Unknown<p>
225+
<h2>Keybinds</h2>
226+
<p>W,A,S,D, Custom Keys, Arrow keys</p>
227+
<h2>Devices</h2>
228+
<p>Desktop, Mobile</p>
229+
<h2>Latest Update</h2>
230+
<p>Oct 12th, 2024</p>
231+
</div>
232+
232233
</div>
233234
</body>
234235
</html><script src="/general/js/cloak.js"></script>

config.js

-4
This file was deleted.

index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<meta charset="UTF-8">
66
<meta name="viewport" content="width=device-width, initial-scale=1.0">
77
<title>Redirecting...</title>
8-
<link rel="icon" href="/img/starlight.png">
8+
<link rel="icon" href="/assets/images/offical/starlight.png">
99
<style>
1010
body {
1111
display: flex;

0 commit comments

Comments
 (0)