-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
155 lines (120 loc) · 6.65 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
<!doctype html><!-- simplified doctype works for all previous versions of HTML as well -->
<!-- Paul Irish's technique for targeting IE, modified to only target IE6, applied to the html element instead of body -->
<!--[if IE 6]><html lang="en" class="no-js ie6"><![endif]-->
<!--[if (gt IE 6)|!(IE)]><!--><html lang="en" class="no-js"><!--<![endif]-->
<head>
<!-- simplified character encoding -->
<meta charset="utf-8">
<title>Basic Test Page</title>
<meta name="description" content="Tester>
<meta name="author" content="">
<!-- Delete these two icon references once you've placed them in the root directory with these file names -->
<!-- favicon 16x16 -->
<!-- Main style sheet. Change version number in query string to force styles refresh -->
<!-- Link element no longer needs type attribute -->
<link rel="stylesheet" href="css/styles.css?v=1.0">
<!-- Modernizr for feature detection of CSS3 and HTML5; must be placed in the <head> -->
<!-- This is a *full-featured* version of Modernizr; you don't need all this -->
<!-- Go to Modernizr.com/download and build your own -->
<!-- In HTML5, script tag no longer needs type attribute -->
<script src="js/modernizr-2.0.6.min.js"></script>
<script>
!function(){var analytics=window.analytics=window.analytics||[];if(!analytics.initialize)if(analytics.invoked)window.console&&console.error&&console.error("Segment snippet included twice.");else{analytics.invoked=!0;analytics.methods=["trackSubmit","trackClick","trackLink","trackForm","pageview","identify","reset","group","track","ready","alias","debug","page","once","off","on","addSourceMiddleware","addIntegrationMiddleware","setAnonymousId","addDestinationMiddleware"];analytics.factory=function(e){return function(){if(window.analytics.initialized)return window.analytics[e].apply(window.analytics,arguments);var i=Array.prototype.slice.call(arguments);i.unshift(e);analytics.push(i);return analytics}};for(var i=0;i<analytics.methods.length;i++){var key=analytics.methods[i];analytics[key]=analytics.factory(key)}analytics.load=function(key,i){var t=document.createElement("script");t.type="text/javascript";t.async=!0;t.src="https://cdn.segment.com/analytics.js/v1/" + key + "/analytics.min.js";var n=document.getElementsByTagName("script")[0];n.parentNode.insertBefore(t,n);analytics._loadOptions=i};analytics._writeKey="58OptUcasBv0h7btWnQnfabuDzgV1wgl";;analytics.SNIPPET_VERSION="4.16.1";
analytics.load("Zm7fWyI2uovRED88CYbRFqCZsx912x3W");
analytics.page();
}}();
</script>
<!-- <script src="https://assets.adobedtm.com/05eee2681a65/d6ffef58657a/launch-8656f4457613-development.min.js" async></script> -->
</head>
<!-- If possible, use the body as the container -->
<!-- The "home" class is an example of a dynamic class created on the server for page-specific targeting -->
<body class="home">
<!-- ******************************************************************** -->
<!-- The content below is for demonstration of some common HTML5 elements -->
<!-- More than likely you'll rip out everything except header/section/footer and start fresh -->
<!-- First header has a unique class so you can give it individual styles -->
<header class="hd1">
<!-- "hgroup" is used to make two headings into one, to prevent a new document node from forming -->
<hgroup>
<h1>Basic Test Page</h1>
<h2>tagline</h2>
</hgroup>
<!-- Main nav; you can have more than one nav element per page -->
<nav>
<ul>
<li><a href="https://islegendary.github.io/">Home</a></li>
<li><a href="https://segment.io/">Segment</a></li>
<li><a href="https://twilio.com">Twilio</a></li>
<li><a href="#">Contact</a></li>
</ul>
</nav>
</header><!-- .hd1 -->
<!-- This is the main "div" that wraps the content generically; don't use "section" for this -->
<div class="main">
<!-- The first of two "section" elements for demo purposes; optional class added for styling (hs1 = "home section 1") -->
<section class="hs1">
<!-- Each section should begin with a new h1 (not h2), and optionally a header -->
<!-- You can have more than one header/footer pair on a page -->
<header>
<h1 id="Purchase Button">This is a Page Sub Title</h1>
</header>
<!--<button name="button_one" id="Purchase">Purchase</button>
<script type="text/javascript">
analytics.track("Button Clicked", {
name: "Purchase"
})
</script>-->
<p>Some content...</p>
<!-- The h2 below is a sub heading relative to the h1 in this section, not for the whole document -->
<h2>Demonstrating EM and STRONG</h2>
<!-- "strong" is used for SEO and contextual hierarchy -->
<p><strong>This text will have more importance (SEO-wise and contextually)</strong></p>
<!-- "b" is used for stylistic offset of text that's NOT important contextually -->
<p><b>This text has visual importance but has no contextual or SEO importance</b></p>
<!-- "em" is used for colloquial-style emphasis -->
<p>This is a <em>very</em> colloquial expression.</p>
<button id="webhookButton">Send Webhook</button>
<script>
document.getElementById('webhookButton').addEventListener('click', function() {
var myHeaders = new Headers();
myHeaders.append("Content-Type", "application/x-www-form-urlencoded");
var urlencoded = new URLSearchParams();
urlencoded.append("firstName", "Donnie");
urlencoded.append("userId", "393939");
var requestOptions = {
method: 'POST',
headers: myHeaders,
body: urlencoded,
redirect: 'follow',
mode: 'no-cors'
};
fetch("https://fn.segmentapis.com/?b=b2JhQ1pLQ29jTFVheUd0ekVrb25pQjo6eEV3T1plbTQxdzJlRjZ5VnEzRmJIQ0FTQ1cyTllsMm0=", requestOptions)
.then(response => response.text())
.then(result => console.log(result))
.catch(error => console.log('error', error));
});
</script>
<!-- There can be multiple footers on each page -->
<footer>
<p>Author: <cite>DW</cite></p>
</footer>
</section><!-- .hs1 -->
<!-- This is another section; doesn't have header/footer because it's not required -->
<section class="hs2">
<h1>This is another section</h1>
<p>This is some dummy content</p>
</section><!-- .hs2 -->
</div><!-- .main -->
<!-- The "aside" element could be a sidebar (outside an article or section) -->
<!-- Or it could reference other tangentially-related content within an article or section -->
<aside class="sidebar">
<p>Sidebar content</p>
</aside><!-- .sidebar -->
<!-- Like the main header, the main footer has a class for its own unique styles -->
<footer class="f1">
<p>copyright © year</p>
</footer><!-- .f1 -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
<script src="js/general.js"></script>
</body>
</html>