-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
78 lines (76 loc) · 2.14 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="description" content="Random dog images" />
<meta name="og:title" content="Random Dog Images" />
<meta name="og:url" content="https://kerolloz.me/random-dog-image" />
<meta
name="og:image"
content="https://images.dog.ceo/breeds/retriever-golden/n02099601_5452.jpg"
/>
<link
rel="apple-touch-icon"
sizes="180x180"
href="./apple-touch-icon.png"
/>
<link
rel="icon"
type="image/png"
sizes="32x32"
href="./favicon-32x32.png"
/>
<link
rel="icon"
type="image/png"
sizes="16x16"
href="./favicon-16x16.png"
/>
<link rel="icon" href="./favicon.ico" type="image/x-icon" />
<link rel="manifest" href="/site.webmanifest" />
<title>Random Dog Image</title>
<script
async
src="https://platform.twitter.com/widgets.js"
charset="utf-8"
></script>
<link rel="stylesheet" href="style.css" />
</head>
<body>
<div class="container text-center" id="loading">
<h1 class="loading">Loading</h1>
</div>
<div class="container" id="main-content">
<div class="img-container">
<img alt="Dog Pic" id="pic" src="" />
</div>
<div class="m-15 text-center">
Breed:
<span id="breed"> </span>
<br />
<a href="" id="perma-link">Sharable permanent link</a>
</div>
<button id="random-img-btn" onclick="onStart(true)">
Random Image
</button>
<div class="m-15">
<button id="fb-share-btn">
<img
alt="facebook share button"
src="https://cdn3.iconfinder.com/data/icons/capsocial-round/500/facebook-512.png"
/>
Share
</button>
<button id="tweet-btn">
<img
alt="tweet button"
src="https://cdn3.iconfinder.com/data/icons/capsocial-round/500/twitter-512.png"
/>
Tweet
</button>
</div>
</div>
<script src="script.js"></script>
</body>
</html>