1
0
mirror of https://github.com/NicolasConstant/sengi synced 2024-12-24 15:31:14 +01:00
Sengi-Windows-MacOS-Linux/docs/index.html

129 lines
5.9 KiB
HTML
Raw Normal View History

2018-09-16 21:26:49 +02:00
<!DOCTYPE HTML>
<html lang="en">
2018-09-16 21:26:49 +02:00
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
2018-09-16 21:26:49 +02:00
<link rel="stylesheet" href="assets/css/main.css">
<link rel="shortcut icon" type="image/png" href="images/favicon.png">
2018-09-16 21:26:49 +02:00
<title>Discover Sengi</title>
2019-04-13 02:16:12 +02:00
<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>
2018-09-16 21:26:49 +02:00
<body>
<header class="header">
2019-04-13 03:43:00 +02:00
<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">
2019-04-13 03:43:00 +02:00
<h1 class="header__download-box--title">Discover Sengi</h1>
<div class="header__download-box--description">
2019-04-13 02:16:12 +02:00
A FLOSS multi-account Mastodon and Pleroma desktop client<br />
2019-05-23 03:55:23 +02:00
Now available in Beta <span id="sengi-version"></span> <br />
2019-04-13 02:16:12 +02:00
<br />
</div>
2019-04-13 02:16:12 +02:00
<div class="header__download-box--buttons">
<p>
<h4 class="header__download-box--subtitle">Try it in your browser!</h4>
2019-05-23 03:55:23 +02:00
<a href="#" class="download-button download-button__web"
title="what are you waiting for? click!"
2019-04-13 02:16:12 +02:00
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;"
2019-05-23 03:55:23 +02:00
class="button"><i class="fas fa-globe"></i><span class="download-button__web--label">launch!</span></a><br />
2019-04-13 02:16:12 +02:00
<br />
<br />
<h4 class="header__download-box--subtitle">Or download the desktop client:</h4>
2019-05-23 03:55:23 +02:00
<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>
2019-04-13 02:16:12 +02:00
</p>
</div>
</div>
</div>
</div>
2018-09-16 21:26:49 +02:00
<div class="header__app-image-box">
2018-09-16 21:26:49 +02:00
</div>
2018-09-16 21:26:49 +02:00
2019-04-10 06:55:29 +02:00
</header>
<main>
<section class="section-about">
2018-09-16 21:26:49 +02:00
</section>
2018-09-16 21:26:49 +02:00
<section class="section-about">
2018-09-16 21:26:49 +02:00
</section>
</main>
2019-04-13 02:46:59 +02:00
<footer class="footer">
2019-05-23 03:55:23 +02:00
<h3 class="footer__title">Let's keep in touch!</h3>
2019-04-13 02:46:59 +02:00
<div class="footer__buttons">
2019-05-23 03:55:23 +02:00
<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>
2019-04-13 02:46:59 +02:00
</div>
2019-04-10 06:55:29 +02:00
</footer>
2018-09-16 21:26:49 +02:00
2019-05-23 03:55:23 +02:00
<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>