Skip to content

Commit

Permalink
feat: add subheading & meta data
Browse files Browse the repository at this point in the history
  • Loading branch information
DerStimmler committed Jul 22, 2024
1 parent 7726bc2 commit 43762e3
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 0 deletions.
27 changes: 27 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,24 @@
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta
content="Showcase website for converting video using ffmpeg.js and ffmpeg.wasm"
name="description"
/>
<meta
content="typescript, ffmpeg, service-worker, wasm, asmjs, webworker, vite, ffmpeg-wasm, ffmpeg-js, web-video-conversion"
name="keywords"
/>
<meta content="DerStimmler" name="author" />
<title>web-video-conversion</title>
</head>
<body>
<div class="app">
<header>
<h1>web-video-conversion</h1>
<p class="subheading">
Showcase website for converting video using ffmpeg.js and ffmpeg.wasm
</p>
</header>
<div class="cards">
<div class="card">
Expand All @@ -27,6 +39,21 @@ <h1>web-video-conversion</h1>
<div id="asm-state">Ready</div>
</div>

<div class="card">
<div class="card__header">ffmpeg.js (WW)</div>
<input type="file" id="asm-ww-file-input" accept="video/mp4" />
<select id="asm-ww-format-input">
<option value="audio/mp3">mp3</option>
<option value="video/mpeg">mpeg</option>
<option disabled value="video/webm">webm</option>
<option disabled value="video/mp4">mp4</option>
<option disabled value="video/mkv">mkv</option>
<option disabled value="video/mov">mov</option>
</select>
<button id="button-convert-asm-ww">Convert</button>
<div id="asm-ww-state">Ready</div>
</div>

<div class="card">
<div class="card__header">ffmpeg.wasm</div>
<input type="file" id="wasm-file-input" accept="video/mp4" />
Expand Down
10 changes: 10 additions & 0 deletions src/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,10 @@ body {
}

header {
display: grid;
gap: 0.5rem;
place-items: center;

h1 {
margin: 0;
font-size: 2.5rem;
Expand All @@ -82,6 +86,12 @@ footer {
max-width: 80ch;
}

.subheading {
font-size: smaller;
opacity: 0.6;
margin: 0;
}

.cards {
display: grid;
grid-template-columns: 22rem;
Expand Down

0 comments on commit 43762e3

Please sign in to comment.