This repository has been archived by the owner on May 29, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
53 lines (44 loc) · 2.92 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
<!DOCTYPE html>
<html lang="en">
<head>
<title>Homepage - Terrific Tea Studios</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" type="text/css" href="styles/theme.css">
<link rel="icon" href="/src/images/favicon.png" sizes="16x16" type="image/png">
<!-- Metadata -->
<meta charset="UTF-8"> <!-- Just in case, it sets the charset to unicode -->
<meta http-equiv="X-UA-Compatible" content="ie=edge"> <!-- To work properly with old Edge/IE -->
<!-- Embed related stuff (still meta) -->
<meta property="og:url" content="https://terrific-tea.github.io"> <!-- I don't really know but that sets the URL somewhere -->
<meta property="og:type" content="article"> <!-- Again, I don't know, but it should be here -->
<meta property="og:title" content="Terrific Tea Studios"> <!-- Sets the title in the embed -->
<meta property="og:description" content="Terrific Tea Studio's main website, which has a lot of information about TTS!"> <!-- Sets the description on the embed -->
<meta property="og:image" content="https://terrific-tea.github.io/src/images/favicon.png"> <!-- Sets the image in the embed -->
</head>
<body>
<div class="container"></div>
<div class="content">
<script>
var userAgentVar = navigator.userAgent; // get useragent and assign to a variable
if (userAgentVar.includes("Mobile")) { // if the useragent has "Mobile" in it redirect to the mobile page
window.location.assign("https://terrific-tea.github.io/mobilepages/index.html") // redirect to mobile page
}
</script>
<!--Add the header and footer as iframes, copy them to the main html file, and self destruct on load-->
<!--Epic sauce: https://css-tricks.com/the-simplest-ways-to-handle-html-includes/ -->
<iframe src="/src/header.html" onload="this.before(this.contentDocument.body.children[0]);this.remove()"></iframe>
<div class="content">
<h3>Please note that we have now merged with <a href="https://neutrontech.tk">Neutron Technologies</a>. Thanks for supporting us.</h3>
<h1>Terrific Tea Studios</h1>
<h3>We code things.</h3>
<div class="center">
<button onclick="location.href = 'https://terrific-tea.github.io/links/discord';" id="DiscordSupportServerButton" class="terrific terrificbutton">Join our Discord server</button>
<button onclick="location.href = 'https://terrific-tea.github.io/links/ttsgithub';" id="GitHubOrgButton" class="terrific terrificbutton">Visit our GitHub</button>
<button onclick="location.href = 'https://terrific-tea.github.io/links/twitter';" id="TwitterButton" class="terrific terrificbutton">Follow us on Twitter</button>
</div>
<h2>The site is currently under construction. If you would like to contribute, please get in touch with us.</h2>
<iframe src="/src/footer.html" onload="this.before(this.contentDocument.body.children[0]);this.remove();"></iframe>
</div>
</div>
</body>
</html>