-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathindex.html
More file actions
100 lines (84 loc) · 3.8 KB
/
index.html
File metadata and controls
100 lines (84 loc) · 3.8 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
<!DOCTYPE html>
<html lang="en">
<head>
<script async src="https://www.googletagmanager.com/gtag/js?id=G-6MTGVHPBL0"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-6MTGVHPBL0');
</script>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Steam Markup Generator</title>
<link href="https://fonts.googleapis.com/css2?family=Motiva+Sans:wght@400;700&display=swap" rel="stylesheet">
<link rel="stylesheet" href="styles.css">
<link rel="icon" type="image/png" href="steam.png">
</head>
<body>
<div class="container">
<div class="ribbon">
<span>BETA</span>
</div>
<header>
<img src="steam.png" alt="Steam Logo" class="header-logo">
<span class="header-text">Steam Markup Generator</span>
</header>
<div class="buttons">
<button data-tag="h1">H1<span class="tooltip">Ctrl + Shift + H</span></button>
<button data-tag="h2">H2</button>
<button data-tag="h3">H3</button>
<button data-tag="b">B<span class="tooltip">Ctrl + B</span></button>
<button data-tag="u">U<span class="tooltip">Ctrl + U</span></button>
<button data-tag="i">I<span class="tooltip">Ctrl + I</span></button>
<button data-tag="strike">Strike<span class="tooltip">Ctrl + Shift + X</span></button>
<button data-tag="spoiler">Spoiler</button>
<button data-tag="url">URL<span class="tooltip">Ctrl + K</span></button>
<button data-tag="img">Img<span class="tooltip">Insert Image</span></button>
<button data-tag="noparse">Noparse</button>
<button data-tag="hr">HR</button>
<button data-tag="code">Code</button>
<button data-tag="quote">Quote</button>
</div>
<div class="editor-preview-container">
<textarea id="editor"></textarea>
<div class="vertical-rule"></div>
<div id="preview"></div>
</div>
</div>
<div class="quote-modal modal" id="quoteModal">
<div class="modal-content">
<span class="modal-close" onclick="document.getElementById('quoteModal').style.display='none'">×</span>
<label for="author">Author:</label>
<input type="text" id="author" placeholder="Enter author name">
<label for="quoteText">Quote:</label>
<textarea id="quoteText" placeholder="Enter the text you want to quote"></textarea>
<button id="insertQuote">Insert</button>
</div>
</div>
<div class="modal" id="urlModal">
<div class="modal-content">
<span class="modal-close" onclick="document.getElementById('urlModal').style.display='none'">×</span>
<h2>Insert URL</h2>
<label for="urlInput">URL:</label>
<input type="url" id="urlInput" required>
<label for="urlText">Link Text:</label>
<textarea id="urlText" rows="4"></textarea>
<button id="insertUrl">Insert URL</button>
</div>
</div>
<div class="modal" id="imgModal">
<div class="modal-content">
<span class="modal-close" onclick="document.getElementById('imgModal').style.display='none'">×</span>
<h2>Insert Image</h2>
<label for="imgUrl">Image URL:</label>
<input type="url" id="imgUrl" required>
<button id="insertImg">Insert Image</button>
</div>
</div>
<footer>
♥️ H Y P E R S P C
</footer>
<script src="script.js"></script>
</body>
</html>