/
link.php
108 lines (90 loc) · 5.87 KB
/
link.php
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
<!DOCTYPE html>
<!--Web Page Developed By Vinit Shahdeo -->
<!--Copyright 2017 | miTweet -->
<html lang="en-US">
<head>
<title>miTweet - Generate link to your tweet!</title>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="Generate link to your tweet and share with your loved ones!">
<meta name="author" content="Vinit Shahdeo">
<meta property="og:type" content="website" />
<meta property="og:title" content="miTweet - Get link to your tweet!" />
<meta property="og:description" content="Generate link to your tweet and share with your loved ones!" />
<meta property="og:image" content="http://www.vinitshahdeo.com/miTweet/img/bg.jpg" />
<meta property="og:url" content="http://www.vinitshahdeo.com/miTweet" />
<meta property="og:site_name" content="miTweet" />
<meta name="twitter:card" content="website">
<meta name="twitter:site" content="miTweet">
<meta name="twitter:title" content="miTweet - Get link to your tweet">
<meta name="twitter:description" content="Generate link to your tweet and share with your loved ones!">
<meta name="twitter:creator" content="@Vinit_Shahdeo">
<meta name="twitter:image" content="http://www.vinitshahdeo.com/miTweet/img/bg.jpg">
<meta itemprop="name" content="miTweet">
<meta itemprop="description" content="Generate link to your tweet and share with your loved ones!">
<meta itemprop="image" content="http://www.vinitshahdeo.com/miTweet/img/bg.jpg">
<link rel="shortcut icon" href="img/favicon.png" type="image/png" />
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js"></script>
<link href="https://fonts.googleapis.com/css?family=Amaranth" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Russo+One" rel="stylesheet">
<link rel="stylesheet" type="text/css" href="css/style1.css" />
<style>
</style>
<script>
var copyTextareaBtn = document.querySelector('copybtn');
copyTextareaBtn.addEventListener('click', function(event) {
var copyTextarea = document.querySelector('copytextarea');
copyTextarea.select();
try {
var successful = document.execCommand('copy');
var msg = successful ? 'successful' : 'unsuccessful';
console.log('Copying text command was ' + msg);
} catch (err) {
console.log('Oops, unable to copy');
}
});
</script>
</head>
<body>
<div class="top">
<a href="#"><span>mi</span>Tweet
<svg class="heart" viewBox="0 0 32 29.6">
<path d="M23.6,0c-3.4,0-6.3,2.7-7.6,5.6C14.7,2.7,11.8,0,8.4,0C3.8,0,0,3.8,0,8.4c0,9.4,9.5,11.9,16,21.2
c6.1-9.3,16-12.1,16-21.2C32,3.8,28.2,0,23.6,0z"/>
</svg>
</a>
</div>
<div class="container">
<center>
<h1 class="text1"><span>Thank You</span></h1>
<h2 id="tweetlink">The generated link for your tweet is<br/>
<span class="text">
<?php echo $_GET['q'] ?>
</span>
</h2>
</center>
</div>
<div class="result">
<button type="button" class="button button2" name="link" id="copybtn">Copy link</button><br/>
<h1 class="animate-bottom"><span class="logo">miTweet!</span></h1>
<p id="tagline" id=="copytextarea">Get link to your tweet!</p><br/>
<a href="https://twitter.com/intent/tweet?text=Get link to your tweet!&hashtags=miTweet&via=Vinit_Shahdeo">
<svg viewBox="0 0 512 512" class="icon heart2" >
<path d="M419.6 168.6c-11.7 5.2-24.2 8.7-37.4 10.2 13.4-8.1 23.8-20.8 28.6-36 -12.6 7.5-26.5 12.9-41.3 15.8 -11.9-12.6-28.8-20.6-47.5-20.6 -42 0-72.9 39.2-63.4 79.9 -54.1-2.7-102.1-28.6-134.2-68 -17 29.2-8.8 67.5 20.1 86.9 -10.7-0.3-20.7-3.3-29.5-8.1 -0.7 30.2 20.9 58.4 52.2 64.6 -9.2 2.5-19.2 3.1-29.4 1.1 8.3 25.9 32.3 44.7 60.8 45.2 -27.4 21.4-61.8 31-96.4 27 28.8 18.5 63 29.2 99.8 29.2 120.8 0 189.1-102.1 185-193.6C399.9 193.1 410.9 181.7 419.6 168.6z"/>
</svg>
</a>
<br/>
<a href="./home.php"><button type="submit" class="button button1">Back to home</button></a>
<footer class="footer">
<a href="http://vinitshahdeo.com/" target="_blank"><span>Developer</span><span class="developer">| Vinit Shahdeo</span></a>
<a href="https://www.facebook.com/vinit.shahdeo" target="_blank">
<svg viewBox="0 0 512 512" class="heart3"><path d="M211.9 197.4h-36.7v59.9h36.7V433.1h70.5V256.5h49.2l5.2-59.1h-54.4c0 0 0-22.1 0-33.7 0-13.9 2.8-19.5 16.3-19.5 10.9 0 38.2 0 38.2 0V82.9c0 0-40.2 0-48.8 0 -52.5 0-76.1 23.1-76.1 67.3C211.9 188.8 211.9 197.4 211.9 197.4z"/></svg></a>
<a href="https://github.com/vinitshahdeo" target="_blank">
<svg viewBox="0 0 512 512" class="heart3"><path d="M256 70.7c-102.6 0-185.9 83.2-185.9 185.9 0 82.1 53.3 151.8 127.1 176.4 9.3 1.7 12.3-4 12.3-8.9V389.4c-51.7 11.3-62.5-21.9-62.5-21.9 -8.4-21.5-20.6-27.2-20.6-27.2 -16.9-11.5 1.3-11.3 1.3-11.3 18.7 1.3 28.5 19.2 28.5 19.2 16.6 28.4 43.5 20.2 54.1 15.4 1.7-12 6.5-20.2 11.8-24.9 -41.3-4.7-84.7-20.6-84.7-91.9 0-20.3 7.3-36.9 19.2-49.9 -1.9-4.7-8.3-23.6 1.8-49.2 0 0 15.6-5 51.1 19.1 14.8-4.1 30.7-6.2 46.5-6.3 15.8 0.1 31.7 2.1 46.6 6.3 35.5-24 51.1-19.1 51.1-19.1 10.1 25.6 3.8 44.5 1.8 49.2 11.9 13 19.1 29.6 19.1 49.9 0 71.4-43.5 87.1-84.9 91.7 6.7 5.8 12.8 17.1 12.8 34.4 0 24.9 0 44.9 0 51 0 4.9 3 10.7 12.4 8.9 73.8-24.6 127-94.3 127-176.4C441.9 153.9 358.6 70.7 256 70.7z"/></svg></a>
<a href="https://www.linkedin.com/in/vinitshahdeo" target="_blank">
<svg viewBox="0 0 512 512" class="heart3"><path d="M186.4 142.4c0 19-15.3 34.5-34.2 34.5 -18.9 0-34.2-15.4-34.2-34.5 0-19 15.3-34.5 34.2-34.5C171.1 107.9 186.4 123.4 186.4 142.4zM181.4 201.3h-57.8V388.1h57.8V201.3zM273.8 201.3h-55.4V388.1h55.4c0 0 0-69.3 0-98 0-26.3 12.1-41.9 35.2-41.9 21.3 0 31.5 15 31.5 41.9 0 26.9 0 98 0 98h57.5c0 0 0-68.2 0-118.3 0-50-28.3-74.2-68-74.2 -39.6 0-56.3 30.9-56.3 30.9v-25.2H273.8z"/></svg></a>
<a href="#"><span>miTweet</span><span class="developer"> | Copyright © <?php echo date('2017'); ?></span></a>
</footer>
</body>
</html>