新增縮網址服務

This commit is contained in:
2021-08-02 01:27:24 +08:00
parent c9b18b2ed4
commit 9205528f97
3 changed files with 98 additions and 10 deletions

View File

@ -7,11 +7,10 @@
<title>我們都是企業家!</title>
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css" integrity="sha384-MCw98/SFnGE8fJT3GXwEOngsV7Zt27NXFoaoApmYm81iuXoPkFOJwJ8ERdknLPMO" crossorigin="anonymous">
<link rel="stylesheet" href="css/style.css" type="text/css">
<script src="https://code.jquery.com/jquery-3.3.1.min.js" integrity="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8=" crossorigin="anonymous"></script>
</head>
<body>
<div id="content" class="container">
<header>
<h1 class="text-center">工業推手一世紀,企業搖籃一百年</h1>
<marquee scrollamount="12">北科畢業人才企業最愛用!!!</marquee>
@ -26,6 +25,27 @@
<hr>
<h2 class="text-center"><code>縮網址服務</code></h2>
<div id="urlBox" class="container">
<div class="urls"></div>
<div class="url row">
<p class="col-md-4 col-6">
<input class="text-center short-code" name="short-code" type="text" placeholder="別名,可留空">
</p>
<p class="col-md-8 col-6">
<input class="text-center target-url" name="target-url" type="text" placeholder="網址例如https://www.ntut.edu.tw/">
</p>
<p class="col-12"></p>
<p class="col-md-4 col-sm-2"></p>
<p class="col-md-4 col-sm-8 col-12">
<a class="btn btn-primary" style="width: 100%;" href="javascript:" onclick="shortenUrl()">縮起來!</a>
</p>
<p class="col-md-4 col-sm-2"></p>
</div>
</div>
<div class="row">
<div class="websites col-lg-6">
<h2 class="text-center"><code>好玩ㄉ網站</code></h2>
@ -35,11 +55,6 @@
<br>
<span>程式碼託管平台</span>
</li>
<li class="list-group-item list-group-item-action">
<a href="https://ntut.com.tw/url" target="_blank">NTUT URL Shortener</a>
<br>
<span>縮網址服務</span>
</li>
<li class="list-group-item list-group-item-action">
<a href="https://yuren-tw.github.io/textRevealer/" target="_blank">Text Revealer</a>
<br>
@ -54,7 +69,7 @@
</div>
<div class="gist col-lg-6">
<h2 class="text-center"><code>好用 Script</code></h2>
<h2 class="text-center"><code>好用 Script</code></h2>
<script src="https://gist.github.com/PinLin/3f6c1885d3c22d9fbf6a726788778112.js"></script>
</div>
@ -71,7 +86,7 @@
<footer>
<p class="text-center">(ˊ・ω・ˋ)(ˊ・ω・ˋ)(ˊ・ω・ˋ)(ˊ・ω・ˋ)(ˊ・ω・ˋ)(ˊ・ω・ˋ)</p>
</footer>
</div>
<script src="js/main.js"></script>
</body>
</html>