-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
46 lines (45 loc) · 2.09 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
<!DOCTYPE html>
<html lang="en">
<head>
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-4BZ76F3DCF"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-4BZ76F3DCF');
</script>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Hello torrent</title>
<link rel="stylesheet" href="style.css">
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-3507316425044293"
crossorigin="anonymous"></script>
</head>
<body>
<div id="app" :class="isDarkMode ? 'dark-mode' : 'light-mode'">
<div class="searchbar">
<input class="input-text" type="text" v-model="searchItem" :placeholder="messages.placeHolder" v-on:keyup.enter="search()">
<button @click="search()">Search</button>
<label for="input-cb">Dark Mode: </label>
<input id="input-cb" class="input-checkbox" type="checkbox" v-model="isDarkMode">
</div>
<div class="torrent" v-for="obj in data" :key="obj.id">
<h4>Title: {{obj.title}}</h4>
<p>Size: {{obj.size}}</p>
<p>Seeds: {{obj.seeds}}</p>
<p>Peers: {{obj.peers}}</p>
<button @click="copy(obj.magnet)">Magnet</button>
<a v-if="obj.imdb" :href="'https://www.imdb.com/title/' + obj.imdb + '/'" target="_blank">IMDB</a>
</div>
<div class="footer">
<a href="https://github.com/PAVANA809" target="_blank">Github</a>
<a href="https://www.youtube.com/channel/UCS1BF9FHLrj4PaaswoSLMpA" target="_blank">YouTube</a>
<a href="https://in.linkedin.com/in/pavana-h-a-332b09193" target="_blank">LinkedIn</a>
</div>
</div>
<script src="https://cdn.jsdelivr.net/npm/vue@2"></script>
<script src="https://cdn.jsdelivr.net/npm/sweetalert2@11"></script>
<script src="script.js"></script>
</body>
</html>