-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
100 lines (97 loc) · 4.03 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
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:fb="http://ogp.me/ns/fb#">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no">
<meta name="description" content="Official Website For Um Poema Errante / A Wandering Poem">
<meta name="keywords" content="Um Poema Errante, A Wandering Poem, Poetry, Poesia, Typography, Tipografia, Literature, Literatura, Book, Livro, Travel, Viagem, Iran, Irão, Pakistan, Paquistão, Turquia, Turkey, Georgia, Geórgia, Armenia, Arménia, India, Índia, Nepal, Backpacking, Mochileiro, Art, Arte">
<meta name="author" content="Christian Marques">
<meta name="google-site-verification" content="pQgZUFw0uld7_Putu_hboQL9qKNb-qn_0jqZz2c_vBI">
<meta property="og:title" content="Um Poema Errante / A Wandering Poem">
<meta property="og:type" content="website">
<meta property="og:url" content="http://www.wanderingpoem.com">
<meta property="og:image" content="http://www.wanderingpoem.com/temp/wandering.png">
<meta property="og:site_name" content="Um Poema Errante / A Wandering Poem">
<meta property="og:description" content="Official Website For Um Poema Errante / A Wandering Poem">
<title>Um Poema Errante / A Wandering Poem</title>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<!-- Facebook Pixel Code -->
<script>
!function(f,b,e,v,n,t,s)
{if(f.fbq)return;n=f.fbq=function(){n.callMethod?
n.callMethod.apply(n,arguments):n.queue.push(arguments)};
if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0';
n.queue=[];t=b.createElement(e);t.async=!0;
t.src=v;s=b.getElementsByTagName(e)[0];
s.parentNode.insertBefore(t,s)}(window, document,'script',
'https://connect.facebook.net/en_US/fbevents.js');
fbq('init', '300816907096452');
fbq('track', 'PageView');
</script>
<noscript><img height="1" width="1" style="display:none"
src="https://www.facebook.com/tr?id=300816907096452&ev=PageView&noscript=1"
/></noscript>
<!-- End Facebook Pixel Code -->
<!-- Firebase Analytics -->
<script type="module">
// Import the functions you need from the SDKs you need
import { initializeApp } from "https://www.gstatic.com/firebasejs/9.18.0/firebase-app.js";
import { getAnalytics } from "https://www.gstatic.com/firebasejs/9.18.0/firebase-analytics.js";
// TODO: Add SDKs for Firebase products that you want to use
// https://firebase.google.com/docs/web/setup#available-libraries
// Your web app's Firebase configuration
// For Firebase JS SDK v7.20.0 and later, measurementId is optional
const firebaseConfig = {
apiKey: "AIzaSyA_1sdamUBS83Ut0NG1WW02tUnJVQOaC9w",
authDomain: "wandering-16aa8.firebaseapp.com",
projectId: "wandering-16aa8",
storageBucket: "wandering-16aa8.appspot.com",
messagingSenderId: "109225615251",
appId: "1:109225615251:web:781ac91f4ff056741f1266",
measurementId: "G-2J4LWJG0GQ"
};
// Initialize Firebase
const app = initializeApp(firebaseConfig);
const analytics = getAnalytics(app);
</script>
<!-- End Firebase Analytics -->
</head>
<body>
<script type="text/javascript">
var userLang = navigator.language || navigator.userLanguage;
if(userLang.includes("pt"))
{
if(detectmob())
{
window.location.replace("mobile/pt/index.html");
}
else {
window.location.replace("desktop/pt/index.html");
}
}
else {
if(detectmob())
{
window.location.replace("mobile/en/index.html");
}
else {
window.location.replace("desktop/en/index.html");
}
}
function detectmob() {
if( navigator.userAgent.match(/Mobile|Android/i)
|| navigator.userAgent.match(/webOS/i)
|| navigator.userAgent.match(/iPhone/i)
|| navigator.userAgent.match(/iPod/i)
|| navigator.userAgent.match(/BlackBerry/i)
|| navigator.userAgent.match(/Windows Phone/i)
){
return true;
}
else {
return false;
}
}
</script>
</body>
</html>