poke/html/landing.ejs

371 lines
11 KiB
Text
Raw Normal View History

2022-07-18 14:21:55 +02:00
<!--
This Source Code Form is subject to the terms of the GNU General Public License:
2023-01-07 17:11:02 +01:00
Copyright (C) 2021-2023 POKETUBE (https://github.com/iamashley0/poketube)
2022-07-18 14:21:55 +02:00
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see https://www.gnu.org/licenses/.
-->
2023-03-19 15:43:47 +01:00
<!DOCTYPE html><html lang="en">
2022-07-18 14:21:55 +02:00
<head>
2023-02-10 14:02:04 +01:00
<title>PokeTube | Privacy Is Your Right</title>
2022-07-18 14:21:55 +02:00
<link href=/css/yt-ukraine.svg?v=6 rel=icon>
2023-02-10 14:02:04 +01:00
<meta content="PokeTube | Privacy is your right " property=og:title>
<meta content="Watch Cat Videos goofy ahh videos epico memes and more coolu stuff from all over the interwebs without tracking!" property=twitter:description>
2023-01-31 21:28:35 +01:00
<meta content="https://cdn.glitch.global/33bc0843-7505-4fb9-92a6-4e8b0e74979f/0ddd4508-9a7d-4c3c-9f8e-da5a8c115e16.image.png?v=1671545627005" property="og:image" />
<meta content="summary_large_image" name="twitter:card" />
2023-02-10 14:02:04 +01:00
<!--
these are old lol
2022-07-18 14:21:55 +02:00
<meta content=@PoketaleBot name=twitter:site>
<meta content=@PoketaleBot name=twitter:creator>
2023-02-10 14:02:04 +01:00
-->
<link href=/css/app-cdn.min.css rel=stylesheet>
2022-11-08 17:08:19 +01:00
<link href=/css/app-cdn.min.css rel=stylesheet>
<link href=/css/app.main.css rel=stylesheet>
<link href=/css/search.main.css rel=stylesheet>
2023-01-31 21:28:35 +01:00
<meta content="#f97794" name="theme-color" />
2022-11-08 17:08:19 +01:00
<link href=/css/watch.main.css rel=stylesheet>
<link href="https://fonts.poketube.fun/css/fonts.css" rel=stylesheet>
2023-01-31 21:28:35 +01:00
</head>
2022-11-08 17:08:19 +01:00
2022-07-18 14:21:55 +02:00
<body>
2022-11-08 17:08:19 +01:00
<section class=youtube-video>
2022-07-18 14:21:55 +02:00
<style>
2022-11-08 17:08:19 +01:00
@import url("https://p.poketube.fun/https://site-assets.fontawesome.com/releases/v6.1.1/css/all.css");
* {
2023-01-31 21:28:35 +01:00
font-family:ubuntu, sans-serif
2022-11-08 17:08:19 +01:00
}
2022-07-18 14:21:55 +02:00
a.class:hover {
text-decoration:underline;
font-weight:bold
}
summary{
color:gray;
}
summary:hover{
color:white;
}
</style>
<!-- WIGGLE WIGGLE WIGGLE -->
<style>
body{
2022-11-30 15:38:09 +01:00
overflow: hidden; /* Hide scrollbar */
2022-07-18 14:21:55 +02:00
color:#111111
}
.animated {
-webkit-animation-duration: 10s;
animation-duration: 10s;
-webkit-animation-fill-mode: both;
animation-fill-mode: both;
animation-iteration-count: infinite;
-moz-animation-iteration-count: infinite;
-webkit-animation-iteration-count: infinite;
-o-animation-iteration-count: infinite;
}
@-webkit-keyframes wiggle {
0% { -webkit-transform: skewX(9deg); }
10% { -webkit-transform: skewX(-8deg); }
20% { -webkit-transform: skewX(7deg); }
30% { -webkit-transform: skewX(-6deg); }
40% { -webkit-transform: skewX(5deg); }
50% { -webkit-transform: skewX(-4deg); }
60% { -webkit-transform: skewX(3deg); }
70% { -webkit-transform: skewX(-2deg); }
80% { -webkit-transform: skewX(1deg); }
90% { -webkit-transform: skewX(0deg); }
100% { -webkit-transform: skewX(0deg); }
}
@keyframes wiggle {
0% { transform: skewX(9deg); }
10% { transform: skewX(-8deg); }
20% { transform: skewX(7deg); }
30% { transform: skewX(-6deg); }
40% { transform: skewX(5deg); }
50% { transform: skewX(-4deg); }
60% { transform: skewX(3deg); }
70% { transform: skewX(-2deg); }
80% { transform: skewX(1deg); }
90% { transform: skewX(0deg); }
100% { transform: skewX(0deg); }
}
.wiggle {
-webkit-animation-name: wiggle;
animation-name: wiggle;
-webkit-animation-timing-function: ease-in;
animation-timing-function: ease-in;
}
.animated.wiggle {
-webkit-animation-duration: 0.75s;
animation-duration: 0.75s;
}
:root {
--text-primary: #fff;
--text-secondary: #fff;
--text-link: #3ea6ff;
2022-11-08 17:08:19 +01:00
--app-background: #1a1a1a;
2022-07-18 14:21:55 +02:00
--context-menu-background: #333;
--border-color: #444;
--item-hover-background: #373737;
--item-active-background: #383838;
--top-bar-background: #202020;
--guide-background: #212121;
--thumbnail-background: #252525;
--channel-info-background: #181818;
--channel-contents-background: #0f0f0f;
}
@font-face {
font-family: 'Ginto Nord';
font-weight: 800;
src:url('https://cdn.statically.io/gh/brecert/discord-quote-generator/main/Ginto-Nord-800.woff') format("woff");
}
.alert {
padding: 20px;
background-color: #f44336;
color: white;
opacity: 1;
transition: opacity 0.6s;
margin-bottom: 15px;
}
.alert.success {background-color: #04AA6D;}
.alert.info {background-color: #2196F3;}
.alert.warning {background-color: #ff9800;}
.closebtn {
margin-left: 15px;
color: white;
font-weight: bold;
float: right;
font-size: 22px;
line-height: 20px;
cursor: pointer;
transition: 0.3s;
}
.closebtn:hover {
color: black;
}
</style>
<style>
.channel-info-container > img {
width: 100%;
}
.video-grid > .video {
background-color: #181818;
border-radius: 8px;
}
section#landing-page {
position: fixed;
width: 100%;
max-width: 90%;
margin: auto;
left: 0;
right: 0;
z-index: 999;
}
.content {
2022-11-08 17:08:19 +01:00
border-radius: 26px;
2022-11-08 20:11:39 +01:00
padding: 1em;
2022-07-18 14:21:55 +02:00
margin: auto;
display: flex;
justify-content: center;
align-items: center;
position: relative;
top: 50%;
transform: translateY(50%);
}
2022-11-08 20:11:39 +01:00
.content-inner{
2023-03-18 21:19:40 +01:00
padding: 10px;
color:#fff;
position: relative;
top: 50%;
transform: translateY(50%);
2022-11-08 20:11:39 +01:00
}
2022-11-08 17:08:19 +01:00
2023-03-18 21:19:40 +01:00
.heading {
color: #fff;
font-size: xxx-large;
font-family: 'PokeTube flex';
font-style:italic;
2022-12-31 15:17:05 +01:00
font-stretch: ultra-expanded;
2023-03-18 21:19:40 +01:00
font-weight: 1000;
2023-03-19 15:43:47 +01:00
text-align:center;
2022-07-18 14:21:55 +02:00
}
2023-03-18 14:02:53 +01:00
.product-container {
display: flex;
justify-content: center;
position: relative;
top: 11.5em;
padding-bottom: 2em;
overflow: hidden;
}
2022-11-08 17:08:19 +01:00
.btn-explore {
padding: 20px;
display: flex;
font-family: 'PokeTube flex';
font-stretch: ultra-expanded;
font-weight: 1000;
margin-top: 20px !important;
background-color: #fff;
border-radius: 6px;
width: 186px;
color: #000;
font-size: 20px;
text-decoration: unset;
margin: auto;
margin-top: auto;
2022-07-18 14:21:55 +02:00
}
2022-11-08 20:11:39 +01:00
.news {
display: flex;
justify-content: center;
background: #111;
width: 18em;
margin: auto;
margin-bottom: auto;
border-radius: 3em;
color: white;
margin-bottom: -10em;
}
2023-03-18 21:19:40 +01:00
@media screen and (max-height: 643px) {
.wave {
margin-bottom: -7em;
}
}
@media screen and (min-height: 768px) {
.wave {
position: absolute;
bottom: 0;
width: 100%;
margin-bottom: -7em;
display: block;
}
}
2022-11-08 20:11:39 +01:00
.news > * {
color:#fff
}
2022-11-08 17:08:19 +01:00
2022-11-08 20:11:39 +01:00
.news > a {
display: flex;
margin-block-start: 1em;
margin-block-end: 1em;
margin-inline-start: 0;
margin-inline-end: 0;
2023-01-14 08:01:18 +01:00
margin-top: 1rem;
2022-11-08 20:11:39 +01:00
margin-bottom: 1rem;
2023-01-14 08:01:18 +01:00
margin-left: 0.2rem;
2022-11-08 20:11:39 +01:00
font-family: Whitney, Helvetica Neue, Helvetica, Arial, sans-serif;
font-weight: 400;
font-size: 16px;
line-height: 24px;
z-index: 10; /* Was 2 */"
}
2022-07-18 14:21:55 +02:00
</style>
2022-11-08 20:11:39 +01:00
2023-03-18 14:02:53 +01:00
<div class="app" style="background:linear-gradient(to bottom right, #9666F7, #B37C6B) !important;height:100vh">
2022-11-30 15:35:13 +01:00
2022-11-08 17:08:19 +01:00
<nav>
<div class="left">
2023-03-19 15:43:47 +01:00
<a class="class" href="/143" style="font-family:Inter,sans-serif;color:#fff"> <img alt="poketube logo" style="transform: scale(1.3);width:8.5em;display: block;margin-left: auto;margin-right: auto;" src="/css/logo.svg?v=5"></a>
2022-11-08 17:08:19 +01:00
</div>
<div class="middle">
<div class="search">
2023-03-19 15:43:47 +01:00
<form aria-label="search" action="/search"><input aria-label="search" class="search-bar" autocomplete="on" id="fname" name="query" style="color:#fff;font-family:Inter,sans-serif;border-radius: 2em;" data-ddg-inputtype="identities.firstName">
<button class="btn btn-success" aria-label="search button" type="submit" style="transform: translate(21em, -1.25em);"><i class="fa-light fa-search"></i></button>
2022-11-08 17:08:19 +01:00
</form>
<img src="https://search-metrics.poketube.fun/t/rep.gif" style="border:0;width: 0;visibility: hidden;">
2022-11-08 17:55:46 +01:00
</div>
</div>
2022-11-08 17:08:19 +01:00
<div class="right">
2023-03-19 15:43:47 +01:00
<a aria-label="domains" href="/domains"><i style="display: block;margin-left: auto;margin-right: auto;" class="fa-light fa-server"></i> </a>
<a aria-label="privacy policy" href="/privacy"><i class="fa-light fa-shield"></i></a>
<a aria-label="upload video" href="/video/upload?from="><i class="fa-light fa-video"></i></a>
<a aria-label="pull requests" href="https://github.com/iamashley0/poketube/issues"><i class="fa-light fa-bug"></i></a>
2022-07-18 14:21:55 +02:00
</div>
</nav>
2022-11-08 17:08:19 +01:00
<div class="channel-page">
2022-11-08 20:11:39 +01:00
<div class="news">
2023-03-19 15:43:47 +01:00
<img alt="ukraine flag" src="/css/ua.svg" style="width: 1.2em;align-self: center;margin-right: 3px;">
2022-11-08 20:11:39 +01:00
<a href="https://u24.gov.ua/">
Support Ukraine
</a>
</div>
2022-07-18 14:21:55 +02:00
<div class="content">
2022-11-08 20:11:39 +01:00
2022-11-08 17:08:19 +01:00
<div class="content-inner" style="padding: 10px;color:#fff;">
2022-07-18 14:21:55 +02:00
<br>
2022-11-08 17:08:19 +01:00
<h1 class="heading">PRIVACY IS YOUR RIGHT</h1>
<div style="text-align: center;color: #fff;margin-top: 8px;">
2023-03-18 21:19:40 +01:00
Poketube is a libre front end for youtube that is focused on ur privacy!</div>
2022-07-18 14:21:55 +02:00
<a href="/discover" class="btn-explore">Discover Videos</a>
</div>
</div>
2023-03-18 21:54:38 +01:00
<div class="product-container">
2023-03-19 15:43:47 +01:00
<img alt="product" src="/css/product.svg" style="width: 25em;transform: scale(1.3);margin-right: 1em;margin-bottom: 1em;">
2022-11-08 17:08:19 +01:00
</div>
</div>
2023-03-18 21:19:40 +01:00
<div class="wave">
2023-03-18 21:54:38 +01:00
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="#0069af" fill-opacity="1" d="M0,64L26.7,69.3C53.3,75,107,85,160,101.3C213.3,117,267,139,320,128C373.3,117,427,75,480,58.7C533.3,43,587,53,640,85.3C693.3,117,747,171,800,186.7C853.3,203,907,181,960,165.3C1013.3,149,1067,139,1120,117.3C1173.3,96,1227,64,1280,53.3C1333.3,43,1387,53,1413,58.7L1440,64L1440,320L1413.3,320C1386.7,320,1333,320,1280,320C1226.7,320,1173,320,1120,320C1066.7,320,1013,320,960,320C906.7,320,853,320,800,320C746.7,320,693,320,640,320C586.7,320,533,320,480,320C426.7,320,373,320,320,320C266.7,320,213,320,160,320C106.7,320,53,320,27,320L0,320Z"></path></svg>
2023-03-18 21:19:40 +01:00
</div>
2023-03-18 21:54:38 +01:00
2022-11-08 17:08:19 +01:00
</div>
2023-03-18 21:54:38 +01:00
2023-02-22 16:55:08 +01:00
<script src="/css/custom-css.js"> </script>
2022-11-08 17:08:19 +01:00
</body>
2022-07-18 14:21:55 +02:00
</html>