-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.php
101 lines (79 loc) · 3.37 KB
/
index.php
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
<?php
header("Access-Control-Allow-Origin: *");
header("Cache-Control: no-store, no-cache, must-revalidate, max-age=0");
header("Cache-Control: post-check=0, pre-check=0", false);
header("Pragma: no-cache");
?>
<!DOCTYPE html>
<html lang="en-US">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="keywords" content="Steam, Cover Maker, Custom covers, Games">
<meta name="description"
content="Create custom covers for your Steam games with Steam Cover Maker. Choose varied styles and easily download your creation.">
<link rel="stylesheet" href="assets/css/fonts.css?v=<?=date('YmdHis')?>">
<link rel="stylesheet" href="assets/css/components.css?v=<?=date('YmdHis')?>">
<link rel="stylesheet" href="assets/css/labels.css?v=<?=date('YmdHis')?>">
<link rel="stylesheet" href="assets/css/responsive.css?v=<?=date('YmdHis')?>">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css" />
<link rel="icon" href="assets/img/favicon.ico" type="image/x-icon" />
<title>Steam Cover Maker</title>
</head>
<body>
<div class="sidebar">
<h1>Steam Cover Maker</h1>
<h2>Select your label style</h2>
<div id="consoleOptions">
<!-- The consoles will showed here -->
</div>
<div class="created-by">
Created by <a href="https://twitter.com/realAfonso" target="_blank"
rel="noopener noreferrer">@realAfonso</a>
</div>
</div>
<div class="container">
<div class="header">
<button class="btn-toggle toggle-left">
<i class="fas fa-bars"></i>
</button>
<input type="file" id="imageUpload" accept="image/*" />
<button class="btn-toggle toggle-right">
<i class="fas fa-tags"></i>
</button>
</div>
<div class="preview-border">
<div class="preview-window" id="preview-window">
<div class="top-bar" id="topBar">
<div id="logo"></div>
<div class="text-container">
<span id="linef"></span>
<span id="lines"></span>
</div>
</div>
<div class="preview-container">
<!--The image will showed here-->
</div>
</div>
</div>
<div class="button-container">
<button id="zoomInButton">Zoom In</button>
<button id="zoomOutButton">Zoom Out</button>
<button id="downloadButton">Download</button>
</div>
</div>
<div class="sidebar-right" id="sidebarRight">
<div class="style-options" id="styleOptions">
<h1>Style Options</h1>
<div class="input-container menu-item">
<input type="text" id="customTextLabel" value="Your label here!" disabled />
</div>
<!-- The options will showed here -->
</div>
</div>
<script src="https://unpkg.com/[email protected]/dist/html-to-image.js"></script>
<script src="assets/js/consoles.js?v=<?=date('YmdHis')?>"></script>
<script src="assets/js/events.js?v=<?=date('YmdHis')?>"></script>
<script src="assets/js/labels.js?v=<?=date('YmdHis')?>"></script>
</body>
</html>