-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathindex.html
123 lines (115 loc) · 5.16 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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
<!doctype html>
<html lang="zh-TW" class="h-100">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="">
<meta name="author" content="heitang512">
<title>ShortYou ฅ•ω•ฅ</title>
<link rel="icon" href="img/favicon.ico" type="image/x-icon" />
<!-- <link rel="canonical" href="https://getbootstrap.com/docs/5.0/examples/cover/"> -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.3.1/dist/css/bootstrap.min.css" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">
<link href="css/bootstrap.min.css" rel="stylesheet">
<link href="css/cover.css" rel="stylesheet">
<link href="css/main.css" rel="stylesheet">
<link href="css/load.css" rel="stylesheet">
<style>
.bd-placeholder-img {
font-size: 1.125rem;
text-anchor: middle;
-webkit-user-select: none;
-moz-user-select: none;
user-select: none;
}
@media (min-width: 768px) {
.bd-placeholder-img-lg {
font-size: 3.5rem;
}
}
</style>
</head>
<body class="d-flex h-100 text-center text-white bg-dark">
<div class="cover-container d-flex w-100 h-100 p-3 mx-auto flex-column">
<!-- header -->
<header class="mb-auto">
<div style="font-family: 'Changa', sans-serif;">
<h3 class="float-md-start mb-0">ShortYou</h3>
<nav class="nav nav-masthead justify-content-center float-md-end">
<a class="nav-link active" aria-current="page" href="https://purr.tw">URL</a>
<a class="nav-link" href="https://github.com/HeiTang">Github</a>
</nav>
</div>
</header>
<!-- content -->
<!-- <div class="flex-center position-ref full-height"> -->
<div class="flex-center full-height">
<div class="mask load" id="loader">
<div class="a" style="--n: 5">
<div class="dot" style="--i: 0"></div>
<div class="dot" style="--i: 1"></div>
<div class="dot" style="--i: 2"></div>
<div class="dot" style="--i: 3"></div>
<div class="dot" style="--i: 4"></div>
</div>
</div>
<div class="content">
<div class="title hide-in-mobile" style="font-family: 'Indie Flower', cursive;">
Just Shorten It ヽ(‘ ∇‘ )ノ
</div>
<div class="subtitle m-b-md">
<p class="mfc-title-center" style="font-family: 'Indie Flower', cursive;">
<span class="txt-rotate hide-in-mobile" data-period="1000"
data-rotate="["Too Long ? ", "Too Height ? ", "Too Fat ? ", "Too Ugly ? ", "30cm ? "]">
<span class="wrap">You</span>
</span>
Shorten it !
</p>
</div>
<div class="form-group">
<input id="url" type="text" class="form-control inputStyle" style="text-align: center;"
placeholder="Begin with 'http'" autocomplete="off" />
</div>
<div class="form-group">
<input id="alias" type="text" class="form-control inputStyle" style="text-align: center; display: none;"
placeholder="Customize link (Select)" autocomplete="off" />
</div>
<div class="form-group">
<div id="recaptcha" style="display: none;" class="g-recaptcha"
data-sitekey="6Lfj9-UbAAAAAJwP01RGsOE8h1R91m4yh5AqdU6e" data-theme="dark" data-size="normal"
data-callback="verifyCallback">
</div>
</div>
<div class="form-group">
<button id="btn" class="btn btn-primary btn-block none">Shorten URL</button>
</div>
<div class="form-group">
<p id="result"></p>
</div>
</div>
</div>
<div class="alert alert-danger" role="alert">
Starting today, ShortYou will no longer be providing short URL services.
</div>
<!-- footer -->
<footer class="mt-auto text-white-50">
<p class="text">Copyright © 2023 <a href="https://github.com/HeiTang" class="text-white-50">黑糖不是炭</a>. All
rights reserved.</p>
</footer>
</div>
<script src="javascript/main.js"></script>
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/popper.js@1.14.7/dist/umd/popper.min.js" integrity="sha384-UO2eT0CpHqdSJQ6hJty5KVphtPhzWj9WO1clHTMGa3JDZwrnQq4sF86dIHNDz0W1" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@4.3.1/dist/js/bootstrap.min.js" integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM" crossorigin="anonymous"></script>
<!-- Google reCAPTCHA -->
<script src="https://www.google.com/recaptcha/api.js" async defer></script>
<!-- Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-S5PPZHQ0HJ"></script>
<script>
// Google Analytics
window.dataLayer = window.dataLayer || [];
function gtag() { dataLayer.push(arguments); }
gtag('js', new Date());
gtag('config', 'G-S5PPZHQ0HJ');
</script>
</body>
</html>