docs(gh-pages): migrate site to jekyll format (#3517)
65
.github/workflows/update-pages.yml
vendored
|
|
@ -3,10 +3,15 @@ name: Build GH-Pages
|
|||
|
||||
on:
|
||||
pull_request:
|
||||
branches: [master]
|
||||
types: [opened, synchronize, reopened]
|
||||
branches:
|
||||
- master
|
||||
types:
|
||||
- opened
|
||||
- synchronize
|
||||
- reopened
|
||||
push:
|
||||
branches: [master]
|
||||
branches:
|
||||
- master
|
||||
workflow_dispatch:
|
||||
|
||||
concurrency:
|
||||
|
|
@ -14,49 +19,29 @@ concurrency:
|
|||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
update_pages:
|
||||
prep:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Checkout gh-pages
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
ref: gh-pages
|
||||
path: gh-pages
|
||||
persist-credentials: false # otherwise, the token used is the GITHUB_TOKEN, instead of the personal token
|
||||
fetch-depth: 0 # otherwise, will fail to push refs to dest repo
|
||||
|
||||
- name: Prepare gh-pages
|
||||
run: |
|
||||
# empty contents
|
||||
rm -f -r ./gh-pages/*
|
||||
|
||||
# copy template back to pages
|
||||
cp -f -r ./gh-pages-template/. ./gh-pages/
|
||||
|
||||
- name: Upload Artifacts
|
||||
if: ${{ github.event_name == 'pull_request' || github.event_name == 'workflow_dispatch' }}
|
||||
- name: Upload artifact
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: gh-pages
|
||||
if-no-files-found: error # 'warn' or 'ignore' are also available, defaults to `warn`
|
||||
path: |
|
||||
${{ github.workspace }}/gh-pages
|
||||
!**/*.git
|
||||
name: prep
|
||||
path: gh-pages-template/
|
||||
if-no-files-found: error
|
||||
include-hidden-files: true
|
||||
retention-days: 1
|
||||
|
||||
- name: Deploy to gh-pages
|
||||
if: >-
|
||||
(github.event_name == 'push' && github.ref == 'refs/heads/master') ||
|
||||
(github.event_name == 'workflow_dispatch')
|
||||
uses: actions-js/push@v1.5
|
||||
call-jekyll-build:
|
||||
needs: prep
|
||||
uses: LizardByte/LizardByte.github.io/.github/workflows/jekyll-build.yml@master
|
||||
with:
|
||||
github_token: ${{ secrets.GH_BOT_TOKEN }}
|
||||
author_email: ${{ secrets.GH_BOT_EMAIL }}
|
||||
author_name: ${{ secrets.GH_BOT_NAME }}
|
||||
directory: gh-pages
|
||||
branch: gh-pages
|
||||
force: false
|
||||
message: sync gh-pages to ${{ github.sha }}
|
||||
site_artifact: 'prep'
|
||||
target_branch: 'gh-pages'
|
||||
clean_gh_pages: true
|
||||
secrets:
|
||||
GH_BOT_EMAIL: ${{ secrets.GH_BOT_EMAIL }}
|
||||
GH_BOT_NAME: ${{ secrets.GH_BOT_NAME }}
|
||||
GH_BOT_TOKEN: ${{ secrets.GH_BOT_TOKEN }}
|
||||
|
|
|
|||
4
gh-pages-template/_config.yml
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
---
|
||||
# See https://github.com/daattali/beautiful-jekyll/blob/master/_config.yml for documented options
|
||||
|
||||
avatar: "/Sunshine/assets/img/navbar-avatar.png"
|
||||
|
Before Width: | Height: | Size: 6.2 MiB After Width: | Height: | Size: 6.2 MiB |
|
Before Width: | Height: | Size: 1.8 MiB After Width: | Height: | Size: 1.8 MiB |
|
Before Width: | Height: | Size: 5.9 MiB After Width: | Height: | Size: 5.9 MiB |
|
Before Width: | Height: | Size: 1.7 MiB After Width: | Height: | Size: 1.7 MiB |
|
Before Width: | Height: | Size: 5 MiB After Width: | Height: | Size: 5 MiB |
|
Before Width: | Height: | Size: 1.4 MiB After Width: | Height: | Size: 1.4 MiB |
BIN
gh-pages-template/assets/img/navbar-avatar.png
Normal file
|
After Width: | Height: | Size: 20 KiB |
|
|
@ -1,123 +1,21 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<title>LizardByte - Sunshine</title>
|
||||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
|
||||
<meta name="description" content="Self-hosted game stream host for Moonlight." />
|
||||
<meta name="author" content="" />
|
||||
---
|
||||
title: Sunshine
|
||||
subtitle: A LizardByte project
|
||||
layout: page
|
||||
full-width: true
|
||||
after-content:
|
||||
- donate.html
|
||||
- support.html
|
||||
cover-img:
|
||||
- /Sunshine/assets/img/banners/AdobeStock_305732536_1920x1280.jpg
|
||||
- /Sunshine/assets/img/banners/AdobeStock_231616343_1920x1280.jpg
|
||||
- /Sunshine/assets/img/banners/AdobeStock_303330124_1920x1280.jpg
|
||||
ext-js:
|
||||
- https://cdn.jsdelivr.net/npm/jquery@3.7.1/dist/jquery.min.js
|
||||
---
|
||||
|
||||
<!-- Open Graph/Twitter metadata -->
|
||||
<meta property="og:site_name" content="LizardByte" />
|
||||
<meta property="og:title" content="LizardByte | Sunshine" />
|
||||
<meta property="og:type" content="website" />
|
||||
<meta property="og:image" content="https://app.lizardbyte.dev/dashboard/github/openGraphImages/Sunshine_624x312.png" />
|
||||
<meta property="og:url" content="https://app.lizardbyte.dev/Sunshine" />
|
||||
<meta property="og:description" content="Self-hosted game stream host for Moonlight." />
|
||||
<meta property="og:locale" content="en-US" />
|
||||
<meta property="twitter:card" content="summary_large_image" />
|
||||
<meta property="og:twitter_site" content="@lizardbytedev" />
|
||||
<meta property="og:twitter_site:id" content="@lizardbytedev" />
|
||||
<meta property="og:twitter_creator" content="@lizardbytedev" />
|
||||
<meta property="og:twitter_creator:id" content="@lizardbytedev" />
|
||||
<meta property="twitter:image" content="https://app.lizardbyte.dev/dashboard/github/openGraphImages/Sunshine_624x312.png" />
|
||||
|
||||
<!-- Favicon-->
|
||||
<link rel="icon" type="image/x-icon" href="https://app.lizardbyte.dev/assets/images/favicon.ico" />
|
||||
<!-- FontAwesome-->
|
||||
<link href="https://app.lizardbyte.dev/node_modules/@fortawesome/fontawesome-free/css/all.min.css" rel="stylesheet" />
|
||||
<!-- Bootstrap theme-->
|
||||
<link href="https://app.lizardbyte.dev/node_modules/bootstrap/dist/css/bootstrap.min.css" rel="stylesheet" />
|
||||
<!-- Custom css-->
|
||||
<link href="https://app.lizardbyte.dev/css/custom.css" rel="stylesheet" />
|
||||
|
||||
<script src="https://app.lizardbyte.dev/node_modules/jquery/dist/jquery.min.js"></script>
|
||||
<script src="https://app.lizardbyte.dev/node_modules/@popperjs/core/dist/umd/popper.min.js"></script>
|
||||
|
||||
<!-- Crowdin widget -->
|
||||
<script src="https://app.lizardbyte.dev/js/crowdin.js"></script>
|
||||
<script src="https://app.lizardbyte.dev/js/crowdin_web_widget.js"></script>
|
||||
</head>
|
||||
<body class="d-flex flex-column h-100 bg-dark-gray">
|
||||
<main class="flex-shrink-0 overflow-hidden">
|
||||
<!-- Navigation-->
|
||||
<nav id="nav-container"></nav>
|
||||
|
||||
<!-- Header-->
|
||||
<header class="bg-dark py-0">
|
||||
<section class="offset-anchor" id="Top">
|
||||
<div id="carousel1" class="carousel slide carousel-fade" data-bs-ride="carousel"
|
||||
style="height:50vh">
|
||||
<!--Indicators-->
|
||||
<div class="carousel-indicators">
|
||||
<button type="button" data-bs-target="#carousel1" data-bs-slide-to="0" class="active"
|
||||
aria-current="true" aria-label="Slide 1"></button>
|
||||
<button type="button" data-bs-target="#carousel1" data-bs-slide-to="1"
|
||||
aria-label="Slide 2"></button>
|
||||
<button type="button" data-bs-target="#carousel1" data-bs-slide-to="2"
|
||||
aria-label="Slide 3"></button>
|
||||
</div>
|
||||
<!--/.Indicators-->
|
||||
<!--Slides-->
|
||||
<div class="carousel-inner" role="listbox">
|
||||
|
||||
<div class="carousel-item active">
|
||||
<div class="view">
|
||||
<img src="assets/images/AdobeStock_305732536_1920x1280.jpg" alt="">
|
||||
<div class="mask rgba-black-light"></div>
|
||||
</div>
|
||||
<!-- <div class="carousel-caption">-->
|
||||
<!-- <h3 class="h3-responsive">1</h3>-->
|
||||
<!-- <p>First text</p>-->
|
||||
<!-- </div>-->
|
||||
</div>
|
||||
<div class="carousel-item">
|
||||
<!--Mask color-->
|
||||
<div class="view">
|
||||
<img src="assets/images/AdobeStock_231616343_1920x1280.jpg" alt="">
|
||||
<div class="mask rgba-black-strong"></div>
|
||||
</div>
|
||||
<!-- <div class="carousel-caption">-->
|
||||
<!-- <h3 class="h3-responsive">2</h3>-->
|
||||
<!-- <p>Secondary text</p>-->
|
||||
<!-- </div>-->
|
||||
</div>
|
||||
<div class="carousel-item">
|
||||
<!--Mask color-->
|
||||
<div class="view">
|
||||
<img src="assets/images/AdobeStock_303330124_1920x1280.jpg" alt="">
|
||||
<div class="mask rgba-black-slight"></div>
|
||||
</div>
|
||||
<!-- <div class="carousel-caption">-->
|
||||
<!-- <h3 class="h3-responsive">3</h3>-->
|
||||
<!-- <p>Third text</p>-->
|
||||
<!-- </div>-->
|
||||
</div>
|
||||
</div>
|
||||
<!--/.Slides-->
|
||||
<div>
|
||||
<h1 class="carousel-overlay-title display-5 fw-bolder text-white mb-2">Sunshine</h1>
|
||||
<p class="carousel-overlay-subtitle lead fw-bolder text-white-50 mb-4">
|
||||
A LizardByte project</p>
|
||||
</div>
|
||||
<!--Controls-->
|
||||
<button class="carousel-control-prev" type="button" data-bs-target="#carousel1"
|
||||
data-bs-slide="prev">
|
||||
<span class="carousel-control-prev-icon" aria-hidden="true"></span>
|
||||
<span class="visually-hidden">Previous</span>
|
||||
</button>
|
||||
<button class="carousel-control-next" type="button" data-bs-target="#carousel1"
|
||||
data-bs-slide="next">
|
||||
<span class="carousel-control-next-icon" aria-hidden="true"></span>
|
||||
<span class="visually-hidden">Next</span>
|
||||
</button>
|
||||
<!--/.Controls-->
|
||||
</div>
|
||||
</section>
|
||||
</header>
|
||||
|
||||
<!-- About section-->
|
||||
<section class="offset-anchor py-5" id="About">
|
||||
<!-- About section-->
|
||||
<section class="py-5" id="About">
|
||||
<div class="container px-auto">
|
||||
<p class="lead text-center text-white mx-auto mt-0 mb-5">
|
||||
Sunshine is a self-hosted game stream host for Moonlight. Offering low latency, cloud gaming
|
||||
|
|
@ -127,16 +25,16 @@
|
|||
web browser. Pair from the local server or any mobile device.
|
||||
</p>
|
||||
</div>
|
||||
</section>
|
||||
</section>
|
||||
|
||||
<!-- Features section-->
|
||||
<section class="offset-anchor bg-dark py-5" id="Features">
|
||||
<!-- Features section-->
|
||||
<section class="py-5" id="Features">
|
||||
<div class="container px-auto">
|
||||
<h2 class="text-center text-white fw-bolder my-5">Features</h2>
|
||||
<!-- Create a card for each feature -->
|
||||
<div class="row gx-5">
|
||||
<div class="col-md-6 col-lg-4 mb-5">
|
||||
<div class="card bg-dark-gray text-white rounded-0">
|
||||
<div class="card bg-dark text-white rounded-0">
|
||||
<div class="card-body p-4">
|
||||
<div class="d-flex align-items-center">
|
||||
<div class="icon text-white">
|
||||
|
|
@ -154,11 +52,11 @@
|
|||
</div>
|
||||
</div>
|
||||
<div class="col-md-6 col-lg-4 mb-5">
|
||||
<div class="card bg-dark-gray text-white rounded-0">
|
||||
<div class="card bg-dark text-white rounded-0">
|
||||
<div class="card-body p-4">
|
||||
<div class="d-flex align-items-center">
|
||||
<div class="icon text-white">
|
||||
<img height="40" src="https://moonlight-stream.org/images/moonlight.svg">
|
||||
<img class="icon" src="https://moonlight-stream.org/images/moonlight.svg" alt="Moonlight">
|
||||
</div>
|
||||
<div class="ms-3">
|
||||
<h5 class="fw-bolder mb-0">Moonlight Support</h5>
|
||||
|
|
@ -173,7 +71,7 @@
|
|||
</div>
|
||||
</div>
|
||||
<div class="col-md-6 col-lg-4 mb-5">
|
||||
<div class="card bg-dark-gray text-white rounded-0">
|
||||
<div class="card bg-dark text-white rounded-0">
|
||||
<div class="card-body p-4">
|
||||
<div class="d-flex align-items-center">
|
||||
<div class="icon text-white">
|
||||
|
|
@ -191,7 +89,7 @@
|
|||
</div>
|
||||
</div>
|
||||
<div class="col-md-6 col-lg-4 mb-5 mb-lg-0">
|
||||
<div class="card bg-dark-gray text-white rounded-0">
|
||||
<div class="card bg-dark text-white rounded-0">
|
||||
<div class="card-body p-4">
|
||||
<div class="d-flex align-items-center">
|
||||
<div class="icon text-white">
|
||||
|
|
@ -208,7 +106,7 @@
|
|||
</div>
|
||||
</div>
|
||||
<div class="col-md-6 col-lg-4 mb-5 mb-lg-0">
|
||||
<div class="card bg-dark-gray text-white rounded-0">
|
||||
<div class="card bg-dark text-white rounded-0">
|
||||
<div class="card-body p-4">
|
||||
<div class="d-flex align-items-center">
|
||||
<div class="icon text-white">
|
||||
|
|
@ -232,7 +130,7 @@
|
|||
</div>
|
||||
</div>
|
||||
<div class="col-md-6 col-lg-4 mb-5 mb-lg-0">
|
||||
<div class="card bg-dark-gray text-white rounded-0">
|
||||
<div class="card bg-dark text-white rounded-0">
|
||||
<div class="card-body p-4">
|
||||
<div class="d-flex align-items-center">
|
||||
<div class="icon text-white">
|
||||
|
|
@ -250,10 +148,10 @@
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</section>
|
||||
|
||||
<!-- Clients section-->
|
||||
<section class="offset-anchor bg-dark py-5" id="Clients">
|
||||
<!-- Clients section-->
|
||||
<section class="py-5" id="Clients">
|
||||
<div class="container px-auto">
|
||||
<h2 class="text-center text-white fw-bolder my-5">Clients</h2>
|
||||
<!-- Create a card for each client -->
|
||||
|
|
@ -261,7 +159,7 @@
|
|||
|
||||
<!-- Android -->
|
||||
<div class="col-md-6 col-lg-4 mb-5">
|
||||
<div class="card bg-dark-gray text-white rounded-0">
|
||||
<div class="card bg-dark text-white rounded-0">
|
||||
<div class="card-body p-4">
|
||||
<div class="d-flex align-items-center">
|
||||
<div class="icon text-white">
|
||||
|
|
@ -279,7 +177,7 @@
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="card-footer p-3 ms-3">
|
||||
<div class="card-footer p-3 px-4">
|
||||
<div>
|
||||
<a href="https://play.google.com/store/apps/details?id=com.limelight" target="_blank">
|
||||
<img alt="Get it on Google Play"
|
||||
|
|
@ -308,7 +206,7 @@
|
|||
|
||||
<!-- ChromeOS -->
|
||||
<div class="col-md-6 col-lg-4 mb-5">
|
||||
<div class="card bg-dark-gray text-white rounded-0">
|
||||
<div class="card bg-dark text-white rounded-0">
|
||||
<div class="card-body p-4">
|
||||
<div class="d-flex align-items-center">
|
||||
<div class="icon text-white">
|
||||
|
|
@ -326,7 +224,7 @@
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="card-footer p-3 ms-3">
|
||||
<div class="card-footer p-3 px-4">
|
||||
<div class="pb-3">
|
||||
<a href="https://chrome.google.com/webstore/detail/moonlight-game-streaming/gemamigbbenahjlfnmlfdjhdnkpbkfjj" target="_blank" class="btn btn-outline-light">
|
||||
<img alt="Available in the Chrome Web Store"
|
||||
|
|
@ -340,7 +238,7 @@
|
|||
|
||||
<!-- iOS -->
|
||||
<div class="col-md-6 col-lg-4 mb-5">
|
||||
<div class="card bg-dark-gray text-white rounded-0">
|
||||
<div class="card bg-dark text-white rounded-0">
|
||||
<div class="card-body p-4">
|
||||
<div class="d-flex align-items-center">
|
||||
<div class="icon text-white">
|
||||
|
|
@ -358,7 +256,7 @@
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="card-footer p-3 ms-3">
|
||||
<div class="card-footer p-3 px-4">
|
||||
<div class="pb-3">
|
||||
<a href="https://apps.apple.com/us/app/moonlight-game-streaming/id1000551566" target="_blank">
|
||||
<img alt="Download on the App Store"
|
||||
|
|
@ -379,7 +277,7 @@
|
|||
|
||||
<!-- Moonlight-QT -->
|
||||
<div class="col-md-6 col-lg-4 mb-5">
|
||||
<div class="card bg-dark-gray text-white rounded-0">
|
||||
<div class="card bg-dark text-white rounded-0">
|
||||
<div class="card-body p-4">
|
||||
<div class="d-flex align-items-center">
|
||||
<div class="icon text-white">
|
||||
|
|
@ -400,7 +298,7 @@
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="card-footer p-3 ms-3">
|
||||
<div class="card-footer p-3 px-4">
|
||||
<div class="pb-3">
|
||||
<a href="https://github.com/moonlight-stream/moonlight-qt/releases" target="_blank" class="btn btn-info">
|
||||
<i class="fab fa-github"></i> Download on GitHub
|
||||
|
|
@ -412,7 +310,7 @@
|
|||
|
||||
<!-- Embedded -->
|
||||
<div class="col-md-6 col-lg-4 mb-5">
|
||||
<div class="card bg-dark-gray text-white rounded-0">
|
||||
<div class="card bg-dark text-white rounded-0">
|
||||
<div class="card-body p-4">
|
||||
<div class="d-flex align-items-center">
|
||||
<div class="icon text-white">
|
||||
|
|
@ -430,7 +328,7 @@
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="card-footer p-3 ms-3">
|
||||
<div class="card-footer p-3 px-4">
|
||||
<div class="pb-3">
|
||||
<a href="https://github.com/irtimmer/moonlight-embedded/wiki/Packages" target="_blank" class="btn btn-info">
|
||||
<i class="fas fa-download"></i> Download
|
||||
|
|
@ -442,7 +340,7 @@
|
|||
|
||||
<!-- Xbox One/Series -->
|
||||
<div class="col-md-6 col-lg-4 mb-5">
|
||||
<div class="card bg-dark-gray text-white rounded-0">
|
||||
<div class="card bg-dark text-white rounded-0">
|
||||
<div class="card-body p-4">
|
||||
<div class="d-flex align-items-center">
|
||||
<div class="icon text-white">
|
||||
|
|
@ -460,7 +358,7 @@
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="card-footer p-3 ms-3">
|
||||
<div class="card-footer p-3 px-4">
|
||||
<div class="pb-3">
|
||||
<a href="https://apps.microsoft.com/store/detail/moonlight-uwp/9MW1BS08ZBTH" target="_blank">
|
||||
<img alt="Get it from Microsoft"
|
||||
|
|
@ -474,7 +372,7 @@
|
|||
|
||||
<!-- PS Vita -->
|
||||
<div class="col-md-6 col-lg-4 mb-5">
|
||||
<div class="card bg-dark-gray text-white rounded-0">
|
||||
<div class="card bg-dark text-white rounded-0">
|
||||
<div class="card-body p-4">
|
||||
<div class="d-flex align-items-center">
|
||||
<div class="icon text-white">
|
||||
|
|
@ -492,7 +390,7 @@
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="card-footer p-3 ms-3">
|
||||
<div class="card-footer p-3 px-4">
|
||||
<div class="pb-3">
|
||||
<a href="https://github.com/xyzz/vita-moonlight/releases" target="_blank" class="btn btn-info">
|
||||
<i class="fab fa-github"></i> Download on GitHub
|
||||
|
|
@ -504,7 +402,7 @@
|
|||
|
||||
<!-- Nintendo Switch -->
|
||||
<div class="col-md-6 col-lg-4 mb-5">
|
||||
<div class="card bg-dark-gray text-white rounded-0">
|
||||
<div class="card bg-dark text-white rounded-0">
|
||||
<div class="card-body p-4">
|
||||
<div class="d-flex align-items-center">
|
||||
<div class="icon text-white">
|
||||
|
|
@ -522,7 +420,7 @@
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="card-footer p-3 ms-3">
|
||||
<div class="card-footer p-3 px-4">
|
||||
<div class="pb-3">
|
||||
<a href="https://github.com/XITRIX/Moonlight-Switch/releases" target="_blank" class="btn btn-info">
|
||||
<i class="fab fa-github"></i> Download on GitHub
|
||||
|
|
@ -534,7 +432,7 @@
|
|||
|
||||
<!-- Nintendo Wii U -->
|
||||
<div class="col-md-6 col-lg-4 mb-5">
|
||||
<div class="card bg-dark-gray text-white rounded-0">
|
||||
<div class="card bg-dark text-white rounded-0">
|
||||
<div class="card-body p-4">
|
||||
<div class="d-flex align-items-center">
|
||||
<div class="icon text-white">
|
||||
|
|
@ -552,7 +450,7 @@
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="card-footer p-3 ms-3">
|
||||
<div class="card-footer p-3 px-4">
|
||||
<div class="pb-3">
|
||||
<a href="https://github.com/GaryOderNichts/moonlight-wiiu#quick-start" target="_blank" class="btn btn-info">
|
||||
<i class="fas fa-download"></i> Download
|
||||
|
|
@ -564,7 +462,7 @@
|
|||
|
||||
<!-- LG webOS TV -->
|
||||
<div class="col-md-6 col-lg-4 mb-5">
|
||||
<div class="card bg-dark-gray text-white rounded-0">
|
||||
<div class="card bg-dark text-white rounded-0">
|
||||
<div class="card-body p-4">
|
||||
<div class="d-flex align-items-center">
|
||||
<div class="icon text-white">
|
||||
|
|
@ -582,7 +480,7 @@
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="card-footer p-3 ms-3">
|
||||
<div class="card-footer p-3 px-4">
|
||||
<div class="pb-3">
|
||||
<a href="https://github.com/mariotaku/moonlight-tv#download" target="_blank" class="btn btn-info">
|
||||
<i class="fas fa-download"></i> Download
|
||||
|
|
@ -595,13 +493,13 @@
|
|||
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</section>
|
||||
|
||||
<!-- More cards -->
|
||||
<div class="container py-5 px-auto">
|
||||
<!-- More cards -->
|
||||
<div class="container py-5 px-auto">
|
||||
<div class="container col-md-10">
|
||||
<!-- Docs section -->
|
||||
<section class="offset-anchor py-4" id="Docs">
|
||||
<section class="py-4" id="Docs">
|
||||
<div class="card bg-dark text-white rounded-0">
|
||||
<div class="card-body p-4">
|
||||
<div class="d-flex align-items-center">
|
||||
|
|
@ -614,7 +512,7 @@
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="card-footer p-3 ms-3">
|
||||
<div class="card-footer p-3 px-4">
|
||||
<a class="btn btn-outline-light me-3 mb-3" href="https://docs.lizardbyte.dev/projects/sunshine" target="_blank">
|
||||
<i class="fa-fw fas fa-book"></i>
|
||||
Read the Docs
|
||||
|
|
@ -624,7 +522,7 @@
|
|||
</section>
|
||||
|
||||
<!-- Download section -->
|
||||
<section class="offset-anchor py-4" id="Download">
|
||||
<section class="py-4" id="Download">
|
||||
<div class="card bg-dark text-white rounded-0">
|
||||
<div class="card-body p-4">
|
||||
<div class="d-flex align-items-center">
|
||||
|
|
@ -637,7 +535,7 @@
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="card-footer p-3 ms-3">
|
||||
<div class="card-footer p-3 px-4">
|
||||
<a class="latest-button btn btn-outline-light me-3 mb-3 d-none" href="https://github.com/LizardByte/Sunshine/releases/latest" target="_blank">
|
||||
<i class="fa-fw fab fa-github"></i>
|
||||
Latest: <span id="latest-version"></span>
|
||||
|
|
@ -666,100 +564,10 @@
|
|||
</div>
|
||||
</section>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Donate section -->
|
||||
<section class="offset-anchor bg-dark p-5" id="Donate">
|
||||
<div class="container mb-5 shadow border-0 bg-dark-gray rounded-0 col-md-7">
|
||||
<div class="d-table-row g-0 text-white">
|
||||
<div class="d-table-cell px-3 align-middle text-center">
|
||||
<h1>
|
||||
<i class="fa-fw fas fa-coins"></i>
|
||||
</h1>
|
||||
</div>
|
||||
<div class="col-sm-auto border-white my-3 px-3 py-2 border-start">
|
||||
<div class="container">
|
||||
<h4 class="card-title mb-3 fw-bolder">Donate</h4>
|
||||
</div>
|
||||
<a
|
||||
class="text-decoration-none"
|
||||
href="https://github.com/sponsors/LizardByte"
|
||||
target="_blank">
|
||||
<img class="m-3"
|
||||
alt="GitHub Sponsors"
|
||||
src="https://img.shields.io/github/sponsors/lizardbyte?label=Github%20Sponsors&style=for-the-badge&color=green&logo=githubsponsors"
|
||||
>
|
||||
</a>
|
||||
<a
|
||||
class="text-decoration-none"
|
||||
href="https://www.patreon.com/LizardByte"
|
||||
target="_blank">
|
||||
<img class="m-3"
|
||||
alt="Patreon"
|
||||
src="https://img.shields.io/badge/dynamic/json?color=green&label=Patreon&style=for-the-badge&query=patron_count&url=https%3A%2F%2Fapp.lizardbyte.dev%2Fdashboard%2Fpatreon%2FLizardByte.json&logo=patreon"
|
||||
>
|
||||
</a>
|
||||
<a
|
||||
class="text-decoration-none"
|
||||
href="https://www.paypal.com/paypalme/ReenigneArcher"
|
||||
target="_blank">
|
||||
<img class="m-3"
|
||||
alt="PayPal"
|
||||
src="https://img.shields.io/static/v1?style=for-the-badge&label=PayPal&message=Donate&color=green&logo=paypal"
|
||||
>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<!-- Support -->
|
||||
<section class="offset-anchor bg-dark p-5" id="Support">
|
||||
<div class="col-md-7 mx-auto mb-5">
|
||||
<div class="container shadow border-0 bg-primary rounded-0">
|
||||
<div class="d-table-row g-0 text-white">
|
||||
<div class="d-table-cell px-4 align-middle text-center">
|
||||
<div class="fs-3 fw-bold text-white">Support Center</div>
|
||||
<div class="text-white">Find answers and ask questions.</div>
|
||||
</div>
|
||||
<div class="col-sm-auto border-white my-3 px-4 py-2 border-start">
|
||||
<p class="card-text">
|
||||
<em>The one who knows all the answers has not been asked all the questions.</em>
|
||||
– Confucius.
|
||||
</p>
|
||||
<div class="input-group mb-2">
|
||||
<a href="support">
|
||||
<button class="btn btn-outline-light rounded-0"
|
||||
id="button-support"
|
||||
type="button"
|
||||
>Support</button>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
</main>
|
||||
<!-- Footer-->
|
||||
<footer class="bg-dark py-4 mt-auto" id="footer-container"></footer>
|
||||
|
||||
<!-- Audio player bottom navbar -->
|
||||
<nav id="player-navbar"></nav>
|
||||
|
||||
<!-- Bootstrap core JS-->
|
||||
<script src="https://app.lizardbyte.dev/node_modules/bootstrap/dist/js/bootstrap.bundle.min.js"></script>
|
||||
|
||||
<!-- Get navbar -->
|
||||
<script src="https://app.lizardbyte.dev/js/navbar.js"></script>
|
||||
<!-- Get footer -->
|
||||
<script src="https://app.lizardbyte.dev/js/footer.js"></script>
|
||||
<!-- Discord WidgetBot -->
|
||||
<script src="https://app.lizardbyte.dev/js/discord.js"></script>
|
||||
|
||||
<!-- TODO: Move this to website repo, and make it accept arguments for the repo name -->
|
||||
<script>
|
||||
<!-- TODO: Move this to website repo, and make it accept arguments for the repo name -->
|
||||
<script>
|
||||
// Fetch the releases from the GitHub API
|
||||
fetch('https://api.github.com/repos/LizardByte/Sunshine/releases')
|
||||
.then(response => response.json())
|
||||
|
|
@ -803,7 +611,4 @@
|
|||
}
|
||||
}
|
||||
});
|
||||
</script>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
</script>
|
||||
|
|
|
|||