forked from ArtridgeGames/artridge.ch
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
232 lines (193 loc) · 10.2 KB
/
Copy pathindex.html
File metadata and controls
232 lines (193 loc) · 10.2 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
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
<!DOCTYPE html>
<html lang="en">
<head>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-140808612-1"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-140808612-1');
</script>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<meta name="keywords" content="artridge, indie, games, studio">
<link rel="apple-touch-icon" href="/favicon.ico">
<link rel="stylesheet" href="style.css">
<script src="https://cdn.jsdelivr.net/npm/vue"></script>
<script src="https://kit.fontawesome.com/cbebc4ac70.js" crossorigin="anonymous"></script>
<!-- Primary Meta Tags -->
<title>Artridge</title>
<meta name="title" content="Artridge">
<meta name="description" content="Artridge is an indie game studio based in Zurich, Switzerland.">
<!-- Open Graph / Facebook -->
<meta property="og:type" content="website">
<meta property="og:url" content="https://artridge.ch/">
<meta property="og:title" content="Artridge">
<meta property="og:description" content="Artridge is an indie game studio based in Zurich, Switzerland.">
<meta property="og:image" content="https://artridge.ch/assets/images/Branding/Artridge%20Logo/JPG/02-Artridge-color-on-black-clipped.jpg">
<!-- Twitter -->
<meta property="twitter:card" content="https://artridge.ch/assets/images/Branding/Artridge%20Logo/JPG/02-Artridge-color-on-black-clipped.jpg">
<meta property="twitter:url" content="https://artridge.ch/">
<meta property="twitter:title" content="Artridge">
<meta property="twitter:description" content="Artridge is an indie game studio based in Zurich, Switzerland.">
<meta property="twitter:image" content="https://artridge.ch/assets/images/Branding/Artridge%20Logo/JPG/02-Artridge-color-on-black-clipped.jpg">
</head>
<body>
<div id="app">
<header>
<img src="assets/images/Branding/Artridge Logo/PNG/02 Artridge color on black.png" alt="Artridge Logo">
<div class="nav">
<button v-for="(g, i) in tabNames" @mousedown="tab = i" :class="tab === i ? 'active' : null">{{g}}</button>
</div>
</header>
<div id="content">
<div v-if="tab === 0" class="page">
<div id="game-grid">
<div class="game">
<a href="./Blockrush/"><img src="assets/images/GameLogos/Blockrush.png" class="PICO-8" alt="Block Rush"></a>
<p>Block Rush is a retro styled puzzle game where you can't stop moving until you hit something.</p>
</div>
<div class="game">
<a href="./Dodge/"><img src="assets/images/GameLogos/Dodge.png" class="PICO-8" alt="Dodge"></a>
<p>Dodge is a fast paced reflex game. Survive as long as possible by avoiding enemies, patterns, and boost your score using various powerups to obtain the highest highscore.</p>
</div>
<div class="game">
<a href="./ClickCorp/">
<span class="wip">W.I.P.</span>
<span class="pc">PC</span>
<img src="assets/images/GameLogos/ClickCorp.png" alt="ClickCorp">
</a>
<p>In ClickCorp. buy, click, and profit to grow your own empire from scratch.</p>
</div>
<div class="game">
<a href="./TileSwap/">
<span class="wip">W.I.P.</span>
<img src="assets/images/GameLogos/TileSwap.png" alt="TileSwap">
</a>
<p>TileSwap is a procedurally generated puzzle game, for an infinite amount of fun!</p>
</div>
<!--<div class="game">
<a href="./Citybuilder/"><img src="assets/images/GameLogos/CityBuilder.png" class="PICO-8" alt="City Builder"></a>
<p>Another prototype where you manage a city. It was never given a name and thus remained as City Builder.</p>
</div>-->
</div>
<p class="copyright">{{copyright}}</p>
</div>
<div v-if="tab === 1" class="page">
<div class="nav">
<button @mousedown="aboutTab = 0" :class="(aboutTab === 0 ? 'active' : 'null') + ' aboutBtn'">Info</button>
<button @mousedown="aboutTab = 1" :class="(aboutTab === 1 ? 'active' : 'null') + ' aboutBtn'">News</button>
</div>
<div v-if="aboutTab === 0">
<h1>About Artridge</h1>
We are two amateur game developers based in Zürich creating small indie games. Follow our journey on:
<ul>
<li><a href="https://twitter.com/artridgegames">Twitter</a></li>
<li><a href="https://instagram.com/artridgegames">Instagram</a></li>
</ul>
Or contact us for anything at:
<ul>
<li><a href="mailto:eddy.rashed@artridge.ch">eddy.rashed@artridge.ch</a> (game designer)</li>
<li><a href="mailto:oskar.zanota@artridge.ch">oskar.zanota@artridge.ch</a> (programmer)</li>
</ul>
Our games are mainly available on the following platforms:
<ul>
<li><a href="https://artridge.itch.io/">itch.io</a></li>
<li><a href="https://artridge.newgrounds.com/">Newgrounds</a></li>
</ul>
</div>
<div v-if="aboutTab === 1">
<h1>News</h1>
<div class="post">
<h3>Block Rush 1.0</h3>
<p class="date">April 04, 2021</p>
<p class="content">Almost two years after the launch of our first game Dodge, Block Rush is finally out! With 32 levels and an original soundtrack, we hope you enjoy it :)</p>
</div>
</div>
<p class="copyright">{{copyright}}</p>
</div>
<div v-if="tab === 2" class="page">
<h1>Account</h1>
<p>An Artridge account lets you save your progress in our games.</p>
<div v-if="!isSignedIn" class="card-container">
<div class="card">
<h2>Sign up</h2>
<input type="text" placeholder="Username">
<input type="email" placeholder="Email">
<input type="password" placeholder="Password">
<i onclick="togglePwd(this.previousElementSibling);" onmousedown="event.preventDefault();" class="fas fa-eye eye"></i>
<input type="password" placeholder="Confirm password">
<i onclick="togglePwd(this.previousElementSibling);" onmousedown="event.preventDefault();" class="fas fa-eye eye"></i>
<button onclick="signup(this.parentNode);">Sign up</button>
<p class="error-message"></p>
</div>
<div class="card">
<h2>Log in</h2>
<input type="email" placeholder="Email" onkeyup="if (event.key === 'Enter') login(this.parentNode);">
<input type="password" placeholder="Password">
<i onclick="togglePwd(this.previousElementSibling);" onmousedown="event.preventDefault();" class="fas fa-eye eye"></i>
<button onclick="login(this.parentNode);">Log in</button>
<p class="error-message"></p>
</div>
</div>
<div v-if="isSignedIn" class="card-container">
<div class="card">
<h2>Settings</h2>
<input class="settings-input" type="text" :value="usr().displayName" placeholder="Username">
<button onclick="changeUsername(this);">Change username</button><br>
<input class="settings-input" type="password" placeholder="Password">
<i onmousedown="event.preventDefault();" onclick="togglePwd(this.previousElementSibling);" class="fas fa-eye eye"></i>
<button onclick="changePassword(this);">Change password</button><br>
<label style="font-size: 14px;"></label>
</div>
<div class="card">
<h2>Game Saves</h2>
<div class="game-saves">
<p v-if="gameSaves.length === 0">You do not have any game saves.</p>
<div v-if="gameSaves.length !== 0">
<div v-for="game in gameSaves">
<span>{{game.title}}</span>
<button @click="removeGameSave(game.identifier)">✕</button>
</div>
</div>
</div>
</div>
</div>
<div class="center" v-if="isSignedIn">
<button onclick="firebase.auth().signOut();" style="background-color: #ed2941;">Sign out</button>
</div>
<p class="copyright">{{copyright}}</p>
</div>
</div>
</div>
<div class="popup-background"></div>
<div class="popup">
<h3>Are you sure you want to delete your game save?</h3>
<button onclick="cancelSaveRemoval();">Cancel</button>
<button onclick="confirmSaveRemoval();">Confirm</button>
</div>
<script src="https://www.gstatic.com/firebasejs/7.16.1/firebase-app.js"></script>
<script src="https://www.gstatic.com/firebasejs/7.16.1/firebase-analytics.js"></script>
<script src="https://www.gstatic.com/firebasejs/7.16.1/firebase-auth.js"></script>
<script src="https://www.gstatic.com/firebasejs/7.16.1/firebase-database.js"></script>
<script>
// Your web app's Firebase configuration
var firebaseConfig = {
apiKey: "AIzaSyAbUbveOjn6VMB1QaAZHIR2hYxFfEbQ2Qo",
authDomain: "artridge-website.firebaseapp.com",
databaseURL: "https://artridge-website.firebaseio.com",
projectId: "artridge-website",
storageBucket: "artridge-website.appspot.com",
messagingSenderId: "554359864126",
appId: "1:554359864126:web:56901925bba81278fb0a6f",
measurementId: "G-0KJBNGLJL4"
};
// Initialize Firebase
firebase.initializeApp(firebaseConfig);
firebase.analytics();
</script>
<script src="app.js"></script>
<script src="https://artridge.ch/icon.js"></script>
</body>
</html>