-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
34 lines (31 loc) · 1.6 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
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- UIkit CSS -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/uikit.min.css" />
<!-- UIkit JS -->
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/uikit.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/uikit-icons.min.js"></script>
<title>svg-to-image-converter - Example</title>
</head>
<body>
<div class="uk-container uk-width-1-1 uk-height-1-1">
<div class=" uk-flex uk-flex-middle uk-flex-center">
<div class="uk-flex uk-flex-between uk-flex-middle uk-padding uk-width-1-2 uk-flex-column uk-flex-row@m" style="gap: 10px;">
<div class="" uk-margin>
<div uk-form-custom="target: true">
<input type="file" aria-label="Custom controls" accept=".svg" id="svgFileInput" multiple>
<input class="uk-input uk-form-width-medium uk-form-small" type="text" placeholder="Select file" aria-label="Custom controls" disabled>
</div>
<button class="uk-button uk-button-default uk-button-small">Upload</button>
</div>
<button class="uk-button uk-button-primary uk-button-small" id="download">Download</button>
</div>
</div>
<img src="" style="width: 300px;height: auto;" id="preview">
<div id="previewContainer"></div>
</div>
</body>
<script type="module" src="index.js"></script>
</html>