mastowall/index.html

76 lines
3.6 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Netzbegrünung Mastowall</title>
<!-- Bootstrap CSS -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.3.1/dist/css/bootstrap.min.css" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">
<link rel="stylesheet" href="styles.css">
<link rel="apple-touch-icon" href="mastowall-favicon.png">
<link rel="icon" href="mastowall-favicon.png" type="image/x-icon">
<script src="https://code.jquery.com/jquery-3.7.0.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/popper.js@1.16.1/dist/umd/popper.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@4.3.1/dist/js/bootstrap.bundle.min.js"></script>
<script src="https://unpkg.com/masonry-layout@4/dist/masonry.pkgd.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery.imagesloaded/4.1.4/imagesloaded.pkgd.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/dompurify/3.0.3/purify.min.js"></script>
<script src="script.js"></script>
</head>
<body>
<nav class="navbar navbar-light">
<a class="navbar-brand" href="#" id="navbar-brand"></a>
<span class="navbar-info d-none d-md-block" id="hashtag-display"></span>
</nav>
<div id="zero-state" class="d-none">
<div class="container py-5 text-center"> <!-- add the text-center class here -->
<div class="row justify-content-center">
<div class="col-sm-6"> <!-- Increase the number of columns here -->
<h2>Welcome to the Mastowall</h2>
<p>Please enter up to three hashtags to load posts:</p>
<form id="hashtag-form">
<div class="form-group">
<label for="hashtag1">Hashtag 1:</label>
<input type="text" class="form-control" id="hashtag1" placeholder="Enter a hashtag" value="netzbegruenung">
</div>
<div class="form-group">
<label for="hashtag2">Hashtag 2:</label>
<input type="text" class="form-control" id="hashtag2" placeholder="Enter a hashtag" value="ldk24">
</div>
<div class="form-group">
<label for="hashtag3">Hashtag 3:</label>
<input type="text" class="form-control" id="hashtag3" placeholder="Enter a hashtag" value="wasjetztzählt">
</div>
<div class="form-group">
<label for="serverUrl">Server:</label>
<input type="text" class="form-control" id="serverUrl" placeholder="Enter server URL" value="https://gruene.social">
</div>
<button type="submit" class="btn btn-primary">Reload</button>
</form>
</div>
</div>
</div>
</div>
<div id="app-content" class="container">
<div class="row masonry-grid" id="wall"></div>
</div>
<div id="popover" class="popover">
<div id="myCarousel" class="carousel slide" data-mdb-ride="carousel" data-mdb-pause="false">
</div>
</div>
<footer class="footer text-center py-4 mt-5">
<div class="container">
<a href="https://netzbegruenung.de/" target="_blank">Netzbegrünung</a>
<span class="text-muted"> - Verein für GRÜNE Netzkultur e.V.</span>
</div>
</footer>
</body>
</html>