-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
101 lines (95 loc) · 4.69 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
<!DOCTYPE html>
<html lang="ja">
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-78315006-7"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-78315006-7');
</script>
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta property="og:title" content="Zoom名札ジェネレーター" />
<meta property="og:description" content="自分のプロフィールを載せたZoom背景を作成できます。">
<meta name="twitter:card" content="summary_large_image">
<meta property="og:image" content="https://asukaokochi.github.io/zoom-bg-namecard/imgs/ogp.png" />
<title>Zoom名札ジェネレーター</title>
<link href="./style.css" rel="stylesheet" />
<link href="https://fonts.googleapis.com/css?family=Noto+Sans+JP:700&display=swap" rel="stylesheet">
<link rel="icon" type="image/x-icon" href="imgs/favicon.ico">
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-78315006-7"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-78315006-7');
</script>
</head>
<body>
<div class=" wrapper">
<header class="header content-width">
<img class="header__img--logo" src="imgs/logo.svg" alt="Zoom名札ジェネレーター">
</header>
<div class="main-content">
<div class="preview-area">
<canvas id="preview" class="preview" width="1920px" height="1080px">
ブラウザを変えてお試しください。
</canvas>
<div class="preview__zoom">
<img class="preview__zoom--icon" src="imgs/keyboard_voice.svg" alt="🎤">
<img class="preview__zoom--icon" src="imgs/videocam.svg" alt="🎥">
<img class="preview__zoom--icon zoom__icon--call_end" src="imgs/call_end.svg" alt="📞">
</div>
</div>
<div class="config-area">
<h2>背景を設定しよう</h2>
<div class="bg__config--label">
<label class="config-label config__label--img">背景画像<input id="input-image" type="file" accept="image/*"/></label>
<span>OR</span>
<label class="config-label config__label--color">背景色<input id="top-color" type="color" name="color" value="#418FFE"/></label>
<div class="config__img-annotation">
※ 画像の推奨アスペクト比は、16:9です。
</div>
</div>
<h2>あなたについて書いてみよう</h2>
<div class="about__config--label">
<textarea id="textarea" class="textarea" rows="5" placeholder="エンジニア WEB太郎"></textarea>
<div class="config-properties">
<div class="config-properties--top">
<label class="config-label">文字サイズ
<select id="fontsize-select">
<option value="28">28px</option>
<option value="32">32px</option>
<option value="36">36px</option>
<option value="40" selected>40px</option>
<option value="44">44px</option>
<option value="48">48px</option>
</select>
</label>
<label class="config-label">文字色<input id="txt-color" type="color" name="color" value="#444444"/></label>
<label class="config-label">名札色<input id="bg-color" type="color" name="color" value="#FFFFFF"/></label>
</div>
<div class="config-properties--bottom">
<label class="config-label"><input id="right-checkbox" class="checkbox" type="checkbox" />名札を右側に表示</label>
<label class="config-label"><input id="mirror-checkbox" class="checkbox" type="checkbox" />ミラー表示にする</label>
</div>
</div>
<!--<label class="config-label">枠線色:
<input id="frame-color" type="color" name="color" value="#444444"/></label> -->
</div>
<h2>画像をダウンロードしよう</h2>
<div class="output-wrapper">
<button id="generate-button" class="generate-button">🎉 画像を生成</button>
<div class="output-arrow">⏩</div>
<div id="output" class="output"></div>
</div>
</div>
</div>
</div>
<script src="./constants.js"></script>
<script src="./main.js"></script>
</body>
</html>