Skip to content

Commit 019c577

Browse files
authored
Merge pull request #594 from BitcoinDesign/feature/home-page-video-preview
Adding video preview to the home page
2 parents 4c4e3b5 + 413026a commit 019c577

File tree

4 files changed

+14
-2
lines changed

4 files changed

+14
-2
lines changed

_compress_images_cache.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1480,4 +1480,4 @@ assets/images/guide/private-key-management/external-signers/external-signing-dev
14801480
assets/images/guide/private-key-management/external-signers/external-signing-device-mobile@2x.png: external-signing-device-mobile@2x.png
14811481
assets/images/guide/private-key-management/external-signers/external-signing-device-preview.png: external-signing-device-preview.png
14821482
assets/images/guide/private-key-management/external-signers/external-signing-device.png: external-signing-device.png
1483-
assets/images/guide/private-key-management/external-signers/external-signing-device@2x.png: external-signing-device@2x.png
1483+
assets/images/guide/private-key-management/external-signers/external-signing-device@2x.png: external-signing-device@2x.png

_includes/custom-head.html

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,20 @@
55
2. Customize default _includes/custom-head.html in your source directory and insert the given code snippet.
66
{% endcomment %}
77

8+
{% if page.video %}<meta property="og:video" content="{{ page.video | absolute_url }}">{% endif %}
9+
{% if page.videoSecure %}<meta property="og:video:secure_url" content="{{ page.videoSecure }}">{% endif %}
10+
{% if page.videoType %}<meta property="og:video:type" content="{{ page.videoType }}">{% endif %}
11+
{% if page.videoWidth %}<meta property="og:video:width" content="{{ page.videoWidth }}">{% endif %}
12+
{% if page.videoHeight %}<meta property="og:video:height" content="{{ page.videoHeight }}">{% endif %}
13+
814
<meta name="viewport" content="width=device-width, initial-scale=1.0">
915

1016
<link rel="apple-touch-icon" sizes="180x180" href="{{ "/assets/apple-touch-icon.png" | relative_url }}">
1117
<link rel="icon" type="image/png" sizes="32x32" href="{{ "/assets/favicon-32x32.png" | relative_url }}">
1218
<link rel="icon" type="image/png" sizes="16x16" href="{{ "/assets/favicon-16x16.png" | relative_url }}">
1319
<link rel="manifest" href="{{ "/site.webmanifest" | relative_url }}">
1420
<link rel="mask-icon" href="{{ "/assets/safari-pinned-tab.svg" | relative_url }}" color="#f2a900">
21+
1522
<meta name="msapplication-TileColor" content="#f2a900">
16-
<meta name="theme-color" content="#f2a900">
23+
<meta name="theme-color" content="#f2a900">
24+
686 KB
Binary file not shown.

index.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@
44

55
layout: home
66
permalink: /
7+
video: /assets/images/bitcoin-design-preview.mp4
8+
videoType: 'video/mp4'
9+
videoWidth: 1600
10+
videoHeight: 840
711
---
812

913
## We are helping make [Bitcoin](https://bitcoin.org) more intuitive and accessible.

0 commit comments

Comments
 (0)