Detect and offer platform-specific bridge download

This commit is contained in:
hensm
2019-03-14 15:17:22 +00:00
parent 410d6a267b
commit c8df4f985c
4 changed files with 144 additions and 77 deletions

View File

@@ -12,37 +12,38 @@
</head>
<body>
<div class="container">
<div class="main">
<header class="main-header">
<h1 class="main-title">fx_cast</h1>
<h2 class="main-subtitle">chromecast for firefox</h2>
</header>
<main class="main-content">
<section class="description">
<p>
Enables Chromecast support for casting web apps (like Netflix or BBC iPlayer), HTML5 video and screen/tab sharing.
</p>
<p class="discription__disclaimer">
Requires a native bridge app to connect with receiver devices. Currently supported on Windows, macOS and Linux.
</p>
<p class="discription__prerelease">
No full public release yet! Pre-release beta version is incomplete and likely buggy.
</p>
</section>
<section class="download">
<a class="download__ext btn btn--puffy btn--primary" disabled title="No available download found">
<img class="btn__icon" src="icons/extension_light.svg" alt="">
Firefox Extension
</a>
<div class="download__app">
<div class="app-list">
<div class="app-list__label">Bridge:</div>
<a class="app-list__app app-list__win btn btn--puffy" disabled title="No available download found">
Windows
</a>
<a class="app-list__app app-list__mac btn btn--puffy" disabled title="No available download found">
macOS
</a>
<header class="site-header">
<h1 class="site-header__title">fx_cast</h1>
<h2 class="site-header__subtitle">chromecast for firefox</h2>
</header>
<main class="site-content">
<section class="description">
<p>
Enables Chromecast support for casting web apps (like Netflix or BBC iPlayer), HTML5 video and screen/tab sharing.
</p>
<p class="description__disclaimer">
Requires a native bridge app to connect with receiver devices. Currently supported on Windows, macOS and Linux.
</p>
<p class="description__prerelease">
No full public release yet! Pre-release beta version is incomplete and likely buggy.
</p>
</section>
<section class="download">
<a class="download__ext btn btn--puffy btn--primary" disabled title="No available download found">
<img class="btn__icon" src="icons/extension_light.svg" alt="">
Firefox Extension
</a>
<a class="download__app btn btn--puffy" disabled title="No available download found"></a>
<details class="download__app-other">
<summary>Other bridge downloads</summary>
<div class="app-list">
<a class="app-list__app app-list__win btn btn--puffy" disabled title="No available download found">
Windows
</a>
<a class="app-list__app app-list__mac btn btn--puffy" disabled title="No available download found">
macOS
</a>
<div class="app-list__platform app-list__platform--linux">
<a class="app-list__app app-list__deb btn btn--puffy" disabled title="No available download found">
Linux
<span class="app-list__app-label">deb</span>
@@ -53,9 +54,9 @@
</a>
</div>
</div>
</section>
</main>
</div>
</details>
</section>
</main>
<img class="preview preview--bg"
alt="Screenshot preview, background"