-
Notifications
You must be signed in to change notification settings - Fork 11
/
index.html
211 lines (208 loc) · 6.5 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
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
<html>
<head>
<meta charset="UTF-8" />
<meta
name="viewport"
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0"
/>
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<title>Wave Generator - CSS Clip Path Generator for Beautiful Waves</title>
<meta
name="description"
content="Generate beautiful CSS clip path waves effortlessly with Wave Generator. Perfect for web designers and developers looking to add dynamic shapes to their projects."
/>
<meta
name="keywords"
content="CSS clip path, wave generator, CSS shapes, web design, CSS tools, front-end development, web development, UI design, UX design"
/>
<link rel="canonical" href="https://wavegenerator.app/" />
<!-- Open Graph Tags -->
<meta
property="og:title"
content="Wave Generator - CSS Clip Path Generator for Beautiful Waves"
/>
<meta
property="og:description"
content="Generate beautiful CSS clip path waves effortlessly with Wave Generator. Perfect for web designers and developers looking to add dynamic shapes to their projects."
/>
<meta
property="og:image"
content="https://wavegenerator.app/path/to/your-image.jpg"
/>
<meta property="og:url" content="https://wavegenerator.app/" />
<meta property="og:type" content="website" />
<!-- Twitter Card Tags -->
<meta name="twitter:card" content="summary_large_image" />
<meta
name="twitter:title"
content="Wave Generator - CSS Clip Path Generator for Beautiful Waves"
/>
<meta
name="twitter:description"
content="Generate beautiful CSS clip path waves effortlessly with Wave Generator. Perfect for web designers and developers looking to add dynamic shapes to their projects."
/>
<meta
name="twitter:image"
content="https://wavegenerator.app/path/to/your-image.jpg"
/>
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.1/css/all.min.css"
integrity="sha512-+4zCK9k+qNFUR5X+cKL9EIR+ZOhtIloNl9GIKS57V1MyNsYpYcUrUeQc9vNfzsWfV28IaLL3i96P9sdNyeRssA=="
crossorigin="anonymous"
/>
<link rel="stylesheet" href="./style.css" type="text/css" />
<link rel="icon" type="image/png" href="/favicon.png" />
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-1653596795899638"
crossorigin="anonymous"></script>
</head>
<body>
<header>
<img src="/logo.png" alt="Wave Generator Logo" class="logo" />
<h1>Wave Generator</h1>
</header>
<h1>
<a
class="producthunt"
href="https://www.producthunt.com/posts/wave-generator?embed=true&utm_source=badge-featured&utm_medium=badge&utm_souce=badge-wave-generator"
target="_blank"
><img
src="https://api.producthunt.com/widgets/embed-image/v1/featured.svg?post_id=464820&theme=neutral"
alt="Wave Generator - CSS Clip path for containers | Product Hunt"
style="width: 250px; height: 54px"
width="250"
height="54"
/></a>
</h1>
<main>
<div id="controls">
<div class="el-wrapper">
<p>Width:</p>
<input
type="number"
id="width"
value="700"
min="200"
max="950"
oninput="generateWave()"
/>
</div>
<div class="el-wrapper">
<p>Height:</p>
<input
type="number"
id="height"
value="300"
oninput="generateWave()"
/>
</div>
<div class="el-wrapper">
<p>Offset:</p>
<input
type="number"
id="offset"
value="150"
oninput="generateWave()"
/>
</div>
<div class="el-wrapper">
<p>Amplitude:</p>
<input
type="number"
id="amplitude"
value="140"
oninput="generateWave()"
/>
</div>
<div class="el-wrapper">
<p>Frequency:</p>
<input
type="number"
id="frequency"
value="1.50"
step="0.10"
min="0.10"
max="10"
oninput="generateWave()"
/>
</div>
<div class="el-wrapper">
<p>Phase (0-180º):</p>
<input
type="number"
id="phase"
value="0"
step="5"
oninput="generateWave()"
/>
</div>
<div class="el-wrapper">
<p>Points generated:</p>
<input
type="number"
id="points"
value="50"
min="5"
max="100"
step="5"
oninput="generateWave()"
/>
</div>
<div class="el-wrapper">
<p>Invert clip:</p>
<input type="checkbox" id="inverted" onchange="generateWave()" />
</div>
<div class="el-wrapper">
<button onclick="copyToClipBoard()" id="copyButton">
Copy to clipboard
</button>
</div>
</div>
<div id="display-area">
<div id="wave-container"></div>
<div>
<div id="message">Copied to clipboard!</div>
<div id="result"></div>
</div>
</div>
</main>
<footer class="footer">
<div class="footer-content">
<div class="app-info">
<img src="/logo.png" alt="Wave Generator Logo" class="logo" />
<h2 class="app-name">Wave Generator</h2>
</div>
<div class="links">
<a
href="https://github.com/Svetloslav15/wave-generator"
target="_blank"
rel="noopener noreferrer"
>
<i class="fab fa-github"></i>
</a>
<a
href="https://www.buymeacoffee.com/svetloslav"
target="_blank"
rel="noopener noreferrer"
>
<i class="fas fa-coffee"></i>
</a>
<a
href="https://novoselski.net/"
target="_blank"
rel="noopener noreferrer"
>
<i class="fas">SN</i>
</a>
</div>
</div>
<p class="motto">< Turning code into art /></p>
</footer>
</body>
<script src="./index.js"></script>
<script
defer
data-domain="wavegenerator.app"
src="https://plausible.io/js/script.js"
></script>
</html>