Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added public/videos/mdbase-in-two-minutes.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/videos/mdbase-in-two-minutes.mp4
Binary file not shown.
4 changes: 4 additions & 0 deletions src/pages/index.astro
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@ import AppShot from "../components/AppShot.astro";
<p>Keep notes, tasks and projects as Markdown files. mdbase syncs them between your devices and serves them to the apps you use, on any device, with the permissions you give each app.</p>
<div class="chapter__actions home-actions"><a class="home-action home-action--primary" href="https://connect.mdbase.dev/signup">Create an account</a><a class="home-action" href="/downloads/">Download the desktop app</a></div>
<p class="home-status">mdbase is in beta. Keep independent backups of important collections.</p>
<figure class="app-shot home-film">
<div class="app-shot__window"><video controls playsinline preload="none" poster="/videos/mdbase-in-two-minutes.jpg" width="1920" height="1080" aria-label="What mdbase does, a silent film"><source src="/videos/mdbase-in-two-minutes.mp4" type="video/mp4" /></video></div>
<figcaption>What mdbase does, in two minutes. No sound.</figcaption>
</figure>
</div></section>

<section id="files" class="chapter" data-scene="collection" aria-label="Files"><div class="chapter__inner">
Expand Down
3 changes: 3 additions & 0 deletions src/styles/home.css
Original file line number Diff line number Diff line change
Expand Up @@ -473,6 +473,9 @@
/* The app screenshot keeps to the reading column. */
.home-body .chapter .app-shot { width: min(560px, 100%); margin: 28px 0 0; }

/* The explainer film uses the screenshot's window frame (AppShot styles), without the address bar. */
.home-film video { display: block; width: 100%; height: auto; background: #fff; }

/* The task's file sits just under its screenshot. */
.home-body .record-example.home-record {
width: min(560px, 100%);
Expand Down
Loading