-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathindex.html
More file actions
184 lines (168 loc) · 8.25 KB
/
index.html
File metadata and controls
184 lines (168 loc) · 8.25 KB
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
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
<!-- © KDippan Short URL Generator-->
<!DOCTYPE html>
<html lang="en">
<head>
<meta name="google-adsense-account" content="ca-pub-8902112112178746">
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="IE=7,8,edge" />
<link rel="stylesheet" href="style.css" type="text/css" media="all" />
<script src="main.js" type="text/javascript" charset="utf-8"></script>
<title>ShortURL - Professional URL Shortener & Link Management Tool | Dippan Bhusal</title>
<meta name="title" content="ShortURL - Professional URL Shortener & Link Management Tool | Dippan Bhusal">
<meta name="description" content="Create short links, QR codes, and trackable URLs for free. Our secure URL shortener helps you share links easily across platforms. | Dippan Bhusal">
<meta name="keywords" content="URL shortener, link shortener, Dippan, Dippan Bhusal, Bhusal, Bhusal Dippan, Dippan Projects, Dippan Bhusal Projects, shorten URL, free URL shortener, link management, QR code generator, shareable links">
<meta name="author" content="Dippan Bhusal">
<meta name="robots" content="index, follow">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- Open Graph / Facebook Meta Tags -->
<meta property="og:type" content="website">
<meta property="og:url" content="https://shorturlgeneratorapp.netlify.app/">
<meta property="og:title" content="ShortURL - Professional URL Shortener & Link Management Tool">
<meta property="og:description" content="Create short links, QR codes, and trackable URLs for free. Our secure URL shortener helps you share links easily across platforms.">
<meta property="og:image" content="https://i.postimg.cc/B62CVNKd/images.png">
<meta property="og:image:width" content="1200">
<meta property="og:image:height" content="630">
<meta property="og:site_name" content="ShortURL">
<!-- Twitter Meta Tags -->
<meta property="twitter:card" content="summary_large_image">
<meta property="twitter:url" content="https://shorturlgeneratorapp.netlify.app/">
<meta property="twitter:title" content="ShortURL - Professional URL Shortener & Link Management Tool">
<meta property="twitter:description" content="Create short links, QR codes, and trackable URLs for free. Our secure URL shortener helps you share links easily across platforms.">
<meta property="twitter:image" content="https://i.postimg.cc/B62CVNKd/images.png">
<!-- Favicon -->
<link rel="icon" type="image/png" href="https://i.postimg.cc/B62CVNKd/images.png">
<!-- Canonical URL -->
<link rel="canonical" href="https://shorturlgeneratorapp.netlify.app/">
<!-- Theme Color (for mobile browsers) -->
<meta name="theme-color" content="#4361ee">
<script src="https://cdn.tailwindcss.com"></script>
<!-- Apple Touch Icon -->
<link rel="apple-touch-icon" href="https://i.postimg.cc/B62CVNKd/images.png">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
<link rel="stylesheet" href="styles.css">
<link rel="icon" href="favicon.ico" type="image/x-icon">
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-8902112112178746"
crossorigin="anonymous"></script>
</head>
<body>
<div class="container">
<header>
<div class="logo">
<i class="fas fa-link"></i>
<h1>ShortURL</h1>
</div>
<p class="tagline">Create short links, QR codes, and shareable URLs</p>
</header>
<main>
<div class="url-form">
<div class="input-group">
<input type="url" id="url-input" placeholder="Paste your long URL here..." required>
<button id="shorten-btn">Shorten</button>
</div>
<div class="features">
<span><i class="fas fa-lock"></i> Secure</span>
<span><i class="fas fa-bolt"></i> Fast</span>
<span><i class="fas fa-infinity"></i> Reliable</span>
</div>
</div>
<div class="url-form">
<h3 class="ad-txt"> Advertisement</h3>
<script async="async" data-cfasync="false" src="//pl27383076.profitableratecpm.com/4ae8b43cee09031bb8d84edfa5d641e4/invoke.js"></script>
<div id="container-4ae8b43cee09031bb8d84edfa5d641e4"></div>
</div>
<div class="result-container hidden">
<div class="result-box">
<div class="original-url">
<span id="original-url-text"></span>
</div>
<div class="shortened-url">
<input type="text" id="shortened-url" readonly>
<button id="copy-btn">Copy</button>
</div>
<div class="share-options">
<button class="share-btn" data-platform="facebook"><i class="fab fa-facebook-f"></i></button>
<button class="share-btn" data-platform="twitter"><i class="fab fa-twitter"></i></button>
<button class="share-btn" data-platform="linkedin"><i class="fab fa-linkedin-in"></i></button>
<button class="share-btn" data-platform="whatsapp"><i class="fab fa-whatsapp"></i></button>
<button class="share-btn" id="qr-btn"><i class="fas fa-qrcode"></i></button>
</div>
</div>
</div>
<div class="qr-modal hidden">
<div class="qr-content">
<span class="close-btn">×</span>
<h3>QR Code</h3>
<div id="qr-code"></div>
<div class="qr-download">
<button id="download-png">Download PNG</button>
<button id="download-svg">Download SVG</button>
</div>
</div>
</div>
</main>
<!-- Cookie Consent Banner -->
<div id="cookie-banner"
class="hidden fixed bottom-5 left-1/2 -translate-x-1/2 w-11/12 md:w-2/3 lg:w-1/2
bg-white shadow-xl rounded-2xl p-5 flex flex-col md:flex-row
items-center justify-between gap-4 animate-slideUp z-50">
<p class="text-gray-700 text-center md:text-left text-sm">
We use cookies to improve your experience and share information using
<span class="font-semibold">Google Analytics</span>. By clicking OK, you consent.
</p>
<button id="cookie-accept"
class="bg-indigo-600 hover:bg-indigo-700 text-white px-6 py-2
rounded-xl shadow-md transition transform hover:scale-105">
OK
</button>
</div>
<script>
// Check if consent already given
if (!localStorage.getItem("cookieConsent")) {
document.getElementById("cookie-banner").classList.remove("hidden");
}
// Handle Accept button click
document.getElementById("cookie-accept").addEventListener("click", () => {
localStorage.setItem("cookieConsent", "true");
const banner = document.getElementById("cookie-banner");
banner.classList.add("animate-fadeOut");
setTimeout(() => banner.remove(), 500);
});
</script>
<!-- Animations -->
<style>
@keyframes slideUp {
from { transform: translate(-50%, 100%); opacity: 0; }
to { transform: translate(-50%, 0); opacity: 1; }
}
@keyframes fadeOut {
from { opacity: 1; transform: translate(-50%, 0); }
to { opacity: 0; transform: translate(-50%, 50%); }
}
.animate-slideUp {
animation: slideUp 0.6s ease-out forwards;
}
.animate-fadeOut {
animation: fadeOut 0.5s ease-in forwards;
}
.ad-txt {
text-align: center;
}
</style>
<footer>
<div class="footer-content">
<div class="footer-links">
<a href="#">Terms</a>
<a href="#">Privacy</a>
<a href="#">Contact</a>
</div>
<div class="copyright">
© 2025 Dippan Bhusal. All rights reserved.
</div>
</div>
</footer>
</div>
<div class="notification hidden"></div>
<script src="https://cdn.jsdelivr.net/npm/qrcode@1.5.1/build/qrcode.min.js"></script>
</body>
</html>