-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
144 lines (127 loc) · 4.38 KB
/
index.html
File metadata and controls
144 lines (127 loc) · 4.38 KB
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
<!DOCTYPE html>
<html>
<head>
<title>Freeside Inc.</title>
<!--script src="https://cdn.jsdelivr.net/gh/aframevr/aframe@df3e8672b77568845e5e360f54f4456fd4829a38/dist/aframe-master.min.js"></script-->
<script src="aframe-master.min.js"></script>
<!--script src="https://cdn.jsdelivr.net/gh/aframevr/aframe/dist/aframe-master.min.js"></script-->
<script src="https://unpkg.com/aframe-environment-component@1.1.0/dist/aframe-environment-component.min.js"></script>
<style>
html, body {
border:0;margin:0;padding:0;
xfont-family: Candara, Roboto, sans-serif;
font-family: monospace;
text-align: center;
}
h2 {font-weight: normal;}
.panel {
background: #efefef;
width: 100%;
height: 88vh;
text-align: center;
display: grid;
}
.contact {
height: auto;
min-height: 66vh;
font-size: 12pt;
}
form {margin-bottom: 16pt;}
input, textarea {
margin: 8pt;
font-size: 11pt;
padding: 3pt;
}
input, textarea, label {
font-family: courier new, courier, monospace;
min-width: 360px;
width: 50%;
}
textarea{
min-height: 72pt;
height: 30vh;
}
button {
border-style: none;
background: #d88;
padding: 5pt 8pt;
border-radius: 3pt;
color: #fff;
margin-bottom: 5pt;
}
.foot {
height: 60pt;
background: #fff;
}
.middle {
margin: auto;
}
.left {
text-align: left;
}
form label.left {
display: inline-block;
}
.logo {
width: 18vw; height: auto;
}
a-scene { width:100%; height: 80vh;}
</style>
</head>
<body>
<a-scene background="color: #fefefe" embedded>
<a-assets>
<img id="freesideimg" src="freeside.png">
</a-assets>
<a-entity environment="preset: checkerboard;
dressing:towers;
groundTexture: 'none';
grid: 2x2;
groundColor: #d0d0d0;
flatShading: false;
skyColor: #fff;
lighting: distant;
shadow: true;
ground:canyon;
dressing: none;
fog: 0;
dressingColor: #fff;
horizonColor: #f5f5f5" ></a-entity>
<a-image position="0 1.6 -2.8" src="#freesideimg" material="transparent: true" scale="1.6 1.1"></a-image>
<a-entity id="fsyear" text="value: Freeside Inc.; align:center; font: monoid; color: grey;" position="0 1.2 1" rotation="0 180 0"></a-entity>
<a-entity text="value: Creating new realities.; color: #d88; font:sourcecodepro; align:center" scale="5 5" position="0 1.6 2.8" rotation="-23 180 0"></a-entity>
<a-entity id="leftHand" hand-controls="left"></a-entity>
<a-entity id="rightHand" hand-controls="right"></a-entity>
</a-scene>
<div class="panel contact">
<h2>Contact Freeside</h2>
<form action="https://formspree.io/xqkpqlgy" method="POST">
<div><input type="text" name="name" placeholder="Your name"></div>
<div><input type="email" name="_replyto" placeholder="Your email"></div>
<div><input type="text" name="company" placeholder="Your company"></div>
<div>
<label class="left">Message:<br/></label>
<textarea name="message" placeholder="What would you like to talk about?"></textarea>
</div>
<input type="hidden" name="_subject" value="Free-side.com Contact Form" />
<button type="submit">Send it!</button>
</form>
</div>
<div class="panel foot">
<span class="middle">Freeside Inc. <script>document.write(new Date().getFullYear())</script></span>
</div>
<script>
var nowyear=new Date().getFullYear();
document.querySelector('#fsyear').addEventListener('loaded', function () {
document.querySelector("#fsyear").setAttribute("text", "value", "Freeside Inc. "+nowyear);
})
</script>
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-153492957-1"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-153492957-1');
</script>
</body>
</html>