forked from cc-archive/cccatalog-frontend
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
45 lines (43 loc) · 2.91 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
<!DOCTYPE HTML>
<html lang=en>
<head>
<meta charset="utf-8">
<meta name=viewport content="width=device-width,initial-scale=1">
<meta name="twitter:card" content="summary_large_image">
<meta name=description content="A new Creative Commons search tool for creators seeking to discover and reuse free resources with greater ease.">
<meta name="twitter:site" content="@creativecommons">
<meta name="og:title" content="Creative Commons">
<meta name="og:image" content="{{ state.image && state.image.url ? state.image.url : 'https://ccsearch.creativecommons.org/static/img/cc-logo_large_black.png'}}">
<meta name="og:description" content="Empowering the world to share through 6 simple licenses + a global community of advocates for open. ">
<meta name="twitter:site" content="https://creativecommons.org">
<meta property="og:url" content="https://creativecommons.org">
<meta property="og:site_name" content="Creative Commons">
<% if (process.env.NODE_ENV == 'production') { %>
<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">
<% } %>
<title>CC Search</title>
<link rel="stylesheet" type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/foundation/6.4.3/css/foundation.min.css">
<link rel="icon" type="image/png" href="https://d15omoko64skxi.cloudfront.net/wp-content/uploads/2016/05/cc-site-icon-150x150.png" sizes="32x32">
<link rel="icon" type="image/png" href="https://d15omoko64skxi.cloudfront.net/wp-content/uploads/2016/05/cc-site-icon-300x300.png" sizes="192x192">
<link rel="apple-touch-icon-precomposed" href="https://d15omoko64skxi.cloudfront.net/wp-content/uploads/2016/05/cc-site-icon-300x300.png">
<link rel="stylesheet" href="//fonts.googleapis.com/css?family=Source+Sans+Pro%3A400%2C600%2C700%7CRoboto+Condensed&ver=4.9.8" type="text/css" media="all">
<link rel="search" type="application/opensearchdescription+xml" title="CC Search" href="https://ccsearch.creativecommons.org/static/opensearch.xml">
</head>
<body>
<div id="app">
</div>
<script>
// Use production Google Analytics ID if ccsearch is in the URL, otherwise use development/staging ID
// TODO: Refactor this to use environment variables instead of hardcoding IDs here.
var gaID = document.location.hostname.indexOf('ccsearch') >= 0 ? 'UA-2010376-36' : 'UA-2010376-33';
/* eslint-disable */
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
/* eslint-enable */
ga('create', gaID, 'auto');
ga('send', 'pageview');
</script>
</body>
</html>