mirror of
https://github.com/NicolasConstant/sengi
synced 2024-12-11 08:26:15 +01:00
129 lines
5.9 KiB
HTML
129 lines
5.9 KiB
HTML
<!DOCTYPE HTML>
|
|
<html lang="en">
|
|
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
|
|
<link rel="stylesheet" href="assets/css/main.css">
|
|
<link rel="shortcut icon" type="image/png" href="images/favicon.png">
|
|
|
|
<title>Discover Sengi</title>
|
|
<link href="https://fonts.googleapis.com/css?family=Open+Sans:100,300,400,700,900" rel="stylesheet">
|
|
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.8.1/css/all.css"
|
|
integrity="sha384-50oBUHEmvpQ+1lW4y57PTFmhCaXp0ML5d60M1M7uH2+nqUivzIebhndOJK28anvf" crossorigin="anonymous">
|
|
</head>
|
|
|
|
<body>
|
|
<header class="header">
|
|
<img class="sengi-icon" src="images/sengi.png">
|
|
|
|
<div class="row">
|
|
<div class="col-1-of-2">
|
|
<img class="header__image" src="images/sengi_image.png" />
|
|
</div>
|
|
<div class="col-1-of-2">
|
|
<div class="header__download-box">
|
|
<h1 class="header__download-box--title">Discover Sengi</h1>
|
|
|
|
<div class="header__download-box--description">
|
|
A FLOSS multi-account Mastodon and Pleroma desktop client<br />
|
|
Now available in Beta <span id="sengi-version"></span> <br />
|
|
<br />
|
|
</div>
|
|
|
|
<div class="header__download-box--buttons">
|
|
<p>
|
|
<h4 class="header__download-box--subtitle">Try it in your browser!</h4>
|
|
<a href="#" class="download-button download-button__web"
|
|
title="what are you waiting for? click!"
|
|
onClick="window.open('http://sengi.nicolas-constant.com'+'?qt='+ (new Date()).getTime(),'Sengi','toolbar=no,location=no,status=no,menubar=no,scrollbars=no, resizable=yes,width=377,height=800'); return false;"
|
|
class="button"><i class="fas fa-globe"></i><span class="download-button__web--label">launch!</span></a><br />
|
|
<br />
|
|
<br />
|
|
|
|
<h4 class="header__download-box--subtitle">Or download the desktop client:</h4>
|
|
<div id="download-buttons" style="display: none;">
|
|
<a id="windows" href class="download-button" title="download client for windows">
|
|
<i class="fab fa-windows"></i>
|
|
</a>
|
|
<a id="mac" href class="download-button" title="download client for mac">
|
|
<i class="fab fa-apple"></i>
|
|
</a>
|
|
<a id="linux" href class="download-button" title="download client for debian-based distrib">
|
|
<i class="fab fa-ubuntu"></i>
|
|
</a>
|
|
<a href="https://snapcraft.io/sengi" title="use Snap Store for linux">
|
|
<img src="images/snap-store-white.png" />
|
|
</a>
|
|
</div>
|
|
<div id="download-buttons-nojs">
|
|
<a href="https://github.com/NicolasConstant/sengi/releases/"
|
|
class="download-button" title="latest releases">
|
|
<i class="fab fa-github"></i></a>
|
|
<a href="https://snapcraft.io/sengi" title="use Snap Store for linux">
|
|
<img src="images/snap-store-white.png" />
|
|
</a>
|
|
</div>
|
|
</p>
|
|
</div>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="header__app-image-box">
|
|
|
|
</div>
|
|
|
|
|
|
</header>
|
|
<main>
|
|
<section class="section-about">
|
|
|
|
</section>
|
|
|
|
<section class="section-about">
|
|
|
|
</section>
|
|
</main>
|
|
<footer class="footer">
|
|
<h3 class="footer__title">Let's keep in touch!</h3>
|
|
|
|
<div class="footer__buttons">
|
|
<a href="https://mastodon.social/@sengi_app" rel="me" class="footer__buttons--button"
|
|
title="open pleroma-compatible account"><i class="fab fa-mastodon"></i></a>
|
|
<a href="https://github.com/NicolasConstant/sengi" class="footer__buttons--button"
|
|
title="open microsoft github repository"><i class="fab fa-github"></i></a>
|
|
</div>
|
|
</footer>
|
|
|
|
|
|
<script type="text/javascript" language="javascript">
|
|
const getLastRelease = async () => {
|
|
const response = await fetch('https://api.github.com/repos/NicolasConstant/sengi/releases/latest');
|
|
const myJson = await response.json();
|
|
return myJson;
|
|
}
|
|
|
|
document.addEventListener('DOMContentLoaded', async function () {
|
|
let lastRelease = await getLastRelease();
|
|
let version = lastRelease.tag_name;
|
|
|
|
var downloadButtons = document.getElementById('download-buttons');
|
|
downloadButtons.style.display = 'block';
|
|
|
|
var downloadButtonsNojs = document.getElementById('download-buttons-nojs');
|
|
downloadButtonsNojs.style.display = 'none';
|
|
|
|
var sengiVersion = document.getElementById('sengi-version');
|
|
sengiVersion.textContent = `(${version})`;
|
|
|
|
document.getElementById('windows').href = `https://github.com/NicolasConstant/sengi/releases/download/${version}/Sengi-${version}-win.exe`;
|
|
document.getElementById('mac').href = `https://github.com/NicolasConstant/sengi/releases/download/${version}/Sengi-${version}-mac.dmg`;
|
|
document.getElementById('linux').href = `https://github.com/NicolasConstant/sengi/releases/download/${version}/Sengi-${version}-linux.deb`;
|
|
}, false);
|
|
</script>
|
|
</body>
|
|
</html> |