-
-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathindex.html
178 lines (167 loc) · 7.62 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
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta http-equiv="x-ua-compatible" content="ie=edge" />
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:site" content="@cc_opensource" />
<meta property="og:site_name" content="CC Open Graph Image as a Service" />
<meta property="og:type" content="website" />
<meta property="og:title" content="Open Graph Image as a Service" />
<meta property="og:locale" content="en" />
<meta property="og:url" content="https://cc-og-image.vercel.app" />
<link rel="icon" href="favicon.png">
<link rel="canonical" href="https://cc-og-image.vercel.app" />
<meta name="description"
content="A service to generate dynamic Open Graph images on-the-fly for the purpose of sharing a website to social media." />
<meta property="og:description"
content="A service to generate dynamic Open Graph images on-the-fly for the purpose of sharing a website to social media." />
<meta property="og:image"
content="https://cc-og-image.vercel.app/Open%20Graph%20Image%20Generator.png?theme=light&md=1&fontSize=100px&images=https%3A%2F%2Fcc-vocabulary.netlify.app%2Flogos%2Fproducts%2Fopen_source.svg%23opensource" />
<title>Creative Commons Open Graph Image Generator</title>
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="stylesheet" href="style.css" />
<link rel="stylesheet" href="https://unpkg.com/@creativecommons/vocabulary/css/vocabulary.css">
<script src="https://unpkg.com/@creativecommons/vocabulary/js/vocabulary.js"></script>
</head>
<body>
<div class="navbar">
<div class="navbar-brand">
<div>
<h1 class="title is-2">CC Open Graph Image Generator</h1>
<p>Generate share images for social media, powered by <a
href="https://cc-vocabulary.netlify.app">Vocabulary.</a>
</p>
</div>
</div>
<div class="navbar-menu">
<!-- <div class="navbar-end">
<a class="navbar-item" href="">
CC Open Source
</a>
</div> -->
</div>
</div>
<div class="has-background-grey-lighter">
<div id="app" class="container">
<em>Loading...</em>
</div>
</div>
<div class="section">
<div class="container">
<div class="margin-top-large margin-bottom-large">
<h2 class="title is-3">What is this?</h2>
<p>This is a service that generates dynamic <a href="http://ogp.me">Open Graph</a> images that you can
embed in your <code><meta></code> tags.</p>
<p>For each keystroke, headless chromium is used to render an HTML page and take a screenshot of the
result which gets cached.</p>
</div>
</div>
</div>
</div>
<!-- Footer -->
<footer class="main-footer">
<div class="container">
<div class="columns">
<div class="column is-one-quarter">
<a href="https://creativecommons.org" class="main-logo margin-bottom-bigger">
<span class="has-text-white">
<svg xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="xMidYMid meet" viewBox="0 0 304 73">
<use href="#logomark"></use>
</svg>
</span>
</a>
<div>
<address class="margin-bottom-normal">Creative Commons<br />PO Box 1866, Mountain View CA 94042
</address>
<a href="mailto:info@creativecommons.org" class="mail">info@creativecommons.org</a><br />
<a href="tel://+1-415-429-6753" class="phone">+1-415-429-6753</a>
</div>
<div class="margin-vertical-large">
<a href="https://www.instagram.com/creativecommons" class="social has-text-white" target="_blank"
rel="noopener">
<i class="icon margin-right-small is-size-4">instagram</i>
</a>
<a href="https://www.twitter.com/creativecommons" class="social has-text-white" target="_blank"
rel="noopener">
<i class="icon margin-right-small is-size-4">twitter</i>
</a>
<a href="https://www.facebook.com/creativecommons" class="social has-text-white" target="_blank"
rel="noopener">
<i class="icon margin-right-small is-size-4">facebook</i>
</a>
<a href="https://www.linkedin.com/company/creative-commons/" class="social has-text-white" target="_blank"
rel="noopener">
<i class="icon margin-right-small is-size-4">linkedin</i>
</a>
</div>
</div>
<div class="column is-three-quarters">
<div class="columns">
<div class="column is-full">
<nav class="footer-navigation">
<ul class="menu">
<li>
<a href="https://github.com/creativecommons/og-image-generator" class="menu-item">GitHub
Repository</a>
</li>
<li>
<a href="https://opensource.creativecommons.org/blog" class="menu-item">Open Source Blog</a>
</li>
<li>
<a href="https://opensource.creativecommons.org/projects" class="menu-item">Project
List</a>
</li>
</ul>
</nav>
</div>
</div>
<div class="columns">
<div class="column is-two-thirds">
<div class="subscription">
<h5 class="b-header">Subscribe to our newsletter</h5>
<form class="newsletter">
<input type="text" class="input" placeholder="Your email">
<input type="submit" value="subscribe" class="button small">
</form>
</div>
<div class="attribution margin-top-bigger">
<p class="caption">
Except where otherwise
<a href="https://creativecommons.org/policies#license" target="_blank" rel="noopener">noted</a>,
content on this site is licensed under a
<a href="https://creativecommons.org/licenses/by/4.0/" target="_blank" rel="noopener">Creative Commons
Attribution 4.0 International license</a>.
<a href="https://creativecommons.org/website-icons" target="_blank" rel="noopener">Icons</a>
by
<a href="https://fontawesome.com/" target="_blank" rel="noopener">Font Awesome</a>.
</p>
<div class="margin-top-smaller">
<i class="icon margin-right-small is-size-4">cclogo</i>
<i class="icon margin-right-small is-size-4">ccby</i>
</div>
</div>
</div>
<div class="column is-one-third">
<aside class="donate-section">
<h5>Our work relies on you!</h5>
<p>Help us keep the internet free and open.</p>
<a class="button small donate" href="http://creativecommons.org/donate">
<i class="icon cc-letterheart margin-right-small is-size-5 padding-top-smaller"></i>
Donate now
</a>
</aside>
</div>
</div>
</div>
</div>
</div>
</footer>
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/dot-dom@0.3.0/dotdom.min.js"></script>
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/copee@1.0.6/dist/copee.umd.js"></script>
<script type="text/javascript" src="dist/web/index.js"></script>
<script>
const globalHeaderInstance = vocabulary.createGlobalHeader()
</script>
</body>
</html>