Merge pull request #13 from syeopite/master

Change feature lists to individual sections
This commit is contained in:
TheFrenchGhosty 2021-09-05 15:35:43 +02:00 committed by GitHub
commit e11e1a0884
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
9 changed files with 122 additions and 34 deletions

41
assets/scss/app.scss Normal file
View File

@ -0,0 +1,41 @@
// Mostly taken from doks's own app scss. The only addition would be
// the `@import "variables" in order to overwrite color settings.
/** Import Bootstrap functions */
@import "bootstrap/scss/functions";
/** Import theme variables */
@import "../../node_modules/@hyas/doks/assets/scss/common/variables";
/** Overwrite variables */
@import "variables";
/** Import Bootstrap */
@import "bootstrap/scss/bootstrap";
/** Import highlight.js */
// @import "highlight.js/scss/github-dark-dimmed";
/** Import KaTeX */
@import "katex/dist/katex";
/** Import theme styles */
@import "../../node_modules/@hyas/doks/assets/scss/common/fonts";
@import "../../node_modules/@hyas/doks/assets/scss/common/global";
@import "../../node_modules/@hyas/doks/assets/scss/common/dark";
@import "../../node_modules/@hyas/doks/assets/scss/components/alerts";
@import "../../node_modules/@hyas/doks/assets/scss/components/buttons";
@import "../../node_modules/@hyas/doks/assets/scss/components/code";
@import "../../node_modules/@hyas/doks/assets/scss/components/syntax";
@import "../../node_modules/@hyas/doks/assets/scss/components/comments";
@import "../../node_modules/@hyas/doks/assets/scss/components/forms";
@import "../../node_modules/@hyas/doks/assets/scss/components/images";
@import "../../node_modules/@hyas/doks/assets/scss/components/mermaid";
@import "../../node_modules/@hyas/doks/assets/scss/components/search";
@import "../../node_modules/@hyas/doks/assets/scss/components/tables";
@import "../../node_modules/@hyas/doks/assets/scss/layouts/footer";
@import "../../node_modules/@hyas/doks/assets/scss/layouts/header";
@import "../../node_modules/@hyas/doks/assets/scss/layouts/pages";
@import "../../node_modules/@hyas/doks/assets/scss/layouts/posts";
@import "../../node_modules/@hyas/doks/assets/scss/layouts/sidebar";

View File

@ -0,0 +1,5 @@
// Same hue as hsl(195, 100%, 47%) (#00b6f0) or the invidious accent color,
// but modified with different lightness and saturation for better readability
// with black text.
$invidious: hsl(195, 85%, 65%);
$primary: $invidious;

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 9.5 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 7.9 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 8.4 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 8.8 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 11 KiB

View File

@ -0,0 +1,38 @@
<svg xmlns="http://www.w3.org/2000/svg" width="733.82" height="503.768" viewBox="0 0 733.82 503.768">
<g id="Group_16" data-name="Group 16" transform="translate(-196.555 -165.086)">
<path id="Path_204" data-name="Path 204" d="M261.846,378.459a45.126,45.126,0,1,1,0-90.252H672.56a45.126,45.126,0,1,1,0,90.252Z" transform="translate(-20.165 -123.12)" fill="#e6e6e6"/>
<path id="Path_205" data-name="Path 205" d="M264.96,297.207a39.24,39.24,0,0,0,0,78.48H675.674a39.24,39.24,0,1,0,0-78.48Z" transform="translate(-23.279 -126.234)" fill="#fff"/>
<rect id="Rectangle_15" data-name="Rectangle 15" width="1.308" height="78.48" transform="translate(364.961 170.972)" fill="#e6e6e6"/>
<rect id="Rectangle_17" data-name="Rectangle 17" width="1.308" height="78.48" transform="translate(527.808 170.972)" fill="#e6e6e6"/>
<rect id="Rectangle_7" data-name="Rectangle 7" width="161.539" height="78.48" transform="translate(366.269 170.972)" fill="#00b6f0"/>
<path id="Path_198" data-name="Path 198" d="M276.268,206.815a24,24,0,1,0,24,24,24,24,0,0,0-24-24Zm0,7.2a7.2,7.2,0,1,1-7.2,7.2A7.2,7.2,0,0,1,276.268,214.016Zm0,34.662a17.484,17.484,0,0,1-14.4-7.685c.115-4.8,9.6-7.442,14.4-7.442s14.285,2.642,14.4,7.442a17.513,17.513,0,0,1-14.4,7.685Z" transform="translate(170.844 -20.53)" fill="#fff"/>
<path id="Path_200" data-name="Path 200" d="M620.7,206.815a24,24,0,1,0,24,24,24,24,0,0,0-24-24Zm0,7.2a7.2,7.2,0,1,1-7.2,7.2A7.2,7.2,0,0,1,620.7,214.015Zm0,34.662a17.484,17.484,0,0,1-14.4-7.685c.115-4.8,9.6-7.442,14.4-7.442s14.285,2.642,14.4,7.442a17.513,17.513,0,0,1-14.4,7.685Z" transform="translate(-336.439 -20.53)" fill="#e6e6e6"/>
<path id="Path_242" data-name="Path 242" d="M620.7,206.815a24,24,0,1,0,24,24,24,24,0,0,0-24-24Zm0,7.2a7.2,7.2,0,1,1-7.2,7.2A7.2,7.2,0,0,1,620.7,214.015Zm0,34.662a17.484,17.484,0,0,1-14.4-7.685c.115-4.8,9.6-7.442,14.4-7.442s14.285,2.642,14.4,7.442a17.513,17.513,0,0,1-14.4,7.685Z" transform="translate(-10.892 -20.53)" fill="#e6e6e6"/>
<rect id="Rectangle_9" data-name="Rectangle 9" width="56" height="56" rx="6" transform="translate(419.112 288.229)" fill="#00b6f0"/>
<ellipse id="Ellipse_29" data-name="Ellipse 29" cx="134.439" cy="18" rx="134.439" ry="18" transform="translate(661.497 632.854)" fill="#e6e6e6"/>
<rect id="Rectangle_12" data-name="Rectangle 12" width="56" height="56" rx="6" transform="translate(581.812 288.049)" fill="#e6e6e6"/>
<rect id="Rectangle_13" data-name="Rectangle 13" width="40.798" height="40.798" transform="translate(589.812 295.83)" fill="#fff"/>
<path id="Path_202" data-name="Path 202" d="M253.345,218.766l-7.075-9.1,4.114-3.2,3.35,4.307,11.318-11.946,3.785,3.585Z" transform="translate(191.14 106.158)" fill="#fff"/>
<path id="Path_203" data-name="Path 203" d="M425.345,218.766l-7.075-9.1,4.114-3.2,3.35,4.307,11.317-11.946,3.785,3.585Z" transform="translate(182.106 106.158)" fill="#e6e6e6"/>
<rect id="Rectangle_18" data-name="Rectangle 18" width="56" height="56" rx="6" transform="translate(256.265 288.049)" fill="#e6e6e6"/>
<rect id="Rectangle_19" data-name="Rectangle 19" width="40.798" height="40.798" transform="translate(264.265 295.83)" fill="#fff"/>
<path id="Path_243" data-name="Path 243" d="M425.345,218.766l-7.075-9.1,4.114-3.2,3.35,4.307,11.317-11.946,3.785,3.585Z" transform="translate(-143.441 106.158)" fill="#e6e6e6"/>
<g id="Group_15" data-name="Group 15">
<path id="Path_257" data-name="Path 257" d="M340.66,397.363H327.48l-6.268-50.837,19.452,0Z" transform="translate(545.904 239.259)" fill="#ffb8b8"/>
<path id="Path_258" data-name="Path 258" d="M320.6,387.355h25.418v16H304.6a16,16,0,0,1,16-16Z" transform="translate(543.364 245.5)" fill="#2f2e41"/>
<path id="Path_259" data-name="Path 259" d="M223.865,397.363h-13.18l-6.268-50.837,19.452,0Z" transform="translate(528.049 239.259)" fill="#ffb8b8"/>
<path id="Path_260" data-name="Path 260" d="M203.81,387.355h25.418v16H187.806a16,16,0,0,1,16-16Z" transform="translate(525.51 245.5)" fill="#2f2e41"/>
<path id="Path_261" data-name="Path 261" d="M487.471,249.585V243.82a37.18,37.18,0,0,1,37.18-37.18h0a37.18,37.18,0,0,1,37.18,37.18v5.764a26.8,26.8,0,0,1-26.8,26.8H514.275a26.8,26.8,0,0,1-26.8-26.8Z" transform="translate(308.465 9.946)" fill="#2f2e41"/>
<ellipse id="Ellipse_36" data-name="Ellipse 36" cx="28.316" cy="28.316" rx="28.316" ry="28.316" transform="translate(804.801 231.687)" fill="#ffb8b8"/>
<path id="Path_263" data-name="Path 263" d="M386.583,329.1a10.811,10.811,0,0,1,16.463,1.934l24.273-4.591,6.388,14.07-34.37,6A10.869,10.869,0,0,1,386.583,329.1Z" transform="translate(292.514 28.216)" fill="#ffb8b8"/>
<path id="Path_264" data-name="Path 264" d="M515.087,284.516l.317.481-39.8,26.221-67.164,21.447a4.044,4.044,0,0,0-2.781,4.31l1.465,12.62a4.036,4.036,0,0,0,4.854,3.48l63.212-13.549a22.833,22.833,0,0,0,8.5-3.742L528.4,303.969A11.5,11.5,0,0,0,515.4,285Z" transform="translate(295.954 21.634)" fill="#ccc"/>
<path id="Path_265" data-name="Path 265" d="M574.076,590.876a5.209,5.209,0,0,1-4.771-3.115l-60.421-149.3a1.729,1.729,0,0,0-3.238.182L456.351,583.993a5.189,5.189,0,0,1-6.781,3.333l-16.53-6.2a5.175,5.175,0,0,1-3.34-4.271c-7.437-64.782,57.413-228.3,58.069-229.946l.182-.455,59.116,13.077.123.134c23.585,25.73,42.971,188.012,46.618,220.283a5.163,5.163,0,0,1-3.425,5.472l-14.591,5.16a5.139,5.139,0,0,1-1.716.295Z" transform="translate(299.543 31.32)" fill="#2f2e41"/>
<path id="Path_266" data-name="Path 266" d="M515.547,375.9c-14.323,0-30.291-2.856-35.206-14.642l-.113-.271.153-.251c3.88-6.366,9.007-17.224,6.251-19.263-5.429-4.014-8.064-10.618-7.83-19.628.508-19.559,13.835-36.925,33.163-43.212h0a147.146,147.146,0,0,1,16.443-4.234,27.993,27.993,0,0,1,23.21,5.732,28.276,28.276,0,0,1,10.486,21.755c.2,20.9-3.015,50.015-19.5,70a5.128,5.128,0,0,1-3.036,1.765A140.9,140.9,0,0,1,515.547,375.9Z" transform="translate(307.138 20.219)" fill="#ccc"/>
<path id="Path_267" data-name="Path 267" d="M506.106,364.845a11.017,11.017,0,0,1,13.464-7.683,10.843,10.843,0,0,1,1.669.618l18.43-16.773,12.818,8.635L526.13,372.966a11,11,0,0,1-12.466,5.288,10.83,10.83,0,0,1-7.558-13.409Z" transform="translate(311.251 30.487)" fill="#ffb8b8"/>
<path id="Path_268" data-name="Path 268" d="M534.283,373.874A5.174,5.174,0,0,1,531,372.7l-7.268-5.939a5.188,5.188,0,0,1,.126-8.134l30.484-23.38a1.733,1.733,0,0,0,.327-2.415l-18.815-24.875a15.316,15.316,0,0,1,1.023-19.731h0a15.273,15.273,0,0,1,20.622-1.649l.119.126,19.647,28.133a17.515,17.515,0,0,1-.415,27.883l-39.481,30.134a5.2,5.2,0,0,1-3.088,1.017Z" transform="translate(313.718 21.67)" fill="#ccc"/>
<path id="Path_269" data-name="Path 269" d="M497.965,240.705V226.656L523.047,215.7l23.916,10.952v14.049a2.306,2.306,0,0,1-2.306,2.306H500.271a2.306,2.306,0,0,1-2.306-2.306Z" transform="translate(310.07 11.332)" fill="#2f2e41"/>
<circle id="Ellipse_30" data-name="Ellipse 30" cx="15.722" cy="15.722" r="15.722" transform="translate(838.852 199.377)" fill="#2f2e41"/>
<path id="Path_185" data-name="Path 185" d="M896.5,218.806a15.715,15.715,0,0,1,18.8-15.417,15.715,15.715,0,1,0-9.764,29.629,15.709,15.709,0,0,1-9.032-14.212Z" transform="translate(-56.438 -12.141)" fill="#2f2e41"/>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 7.1 KiB

View File

@ -14,54 +14,53 @@
<h5 class="mt-0">Chat with us:</h5>
<a href="https://matrix.to/#/#invidious:matrix.org"><img alt="Matrix" src="https://img.shields.io/matrix/invidious:matrix.org?label=Matrix&color=darkgreen"></a>
<a href="https://web.libera.chat/?channel=#invidious"><img alt="Libera.chat (IRC)" src="https://img.shields.io/badge/IRC%20%28Libera.chat%29-%23invidious-darkgreen"></a>
<br/> <br/>
</div>
</div>
</section>
{{ end }}
{{ define "sidebar-prefooter" }}
<hr>
<section class="section section-sm">
<div class="container">
<div class="row justify-content-center text-center">
<div class="col-lg-5">
<h2 class="h4">Data import/export</h2>
<p>
<ul>
<li>Import subscriptions from YouTube, NewPipe and Freetube
<li>Import watch history from NewPipe
<li>Export subscriptions to NewPipe and Freetube
<li>Import/Export Invidious user data
</ul>
</p>
<img src="undraw_privacy_protection_nlwy.svg" alt="Visual illustration from undraw" height=250 width=350/>
<h2 class="h4">Privacy</h2>
<p> With protections against the prying eyes of google, and lack of build-in tracking, Invidious help keeps your data private. </p>
</div>
<div class="col-lg-5">
<h2 class="h4">User features</h2>
<p>
<ul>
<li>Lightweight
<li>No ads
<li>No tracking
<li>No JavaScript required
<li>Light/Dark themes
<li>Customizable homepage
<li>Subscriptions independant from Google
<li>Notifications for all subscribed channels
<li>Audio-only mode (with background play on mobile)
<li>Support for Reddit comments
<li>Available in many languages, thanks to our translators
</ul>
</p>
<img src="undraw_design_inspiration_fmjm.svg" alt="Visual illustration from undraw" height=250 width=350/>
<h2 class="h4">Ethically designed</h2>
<p> Invidious helps you regain your focus through a humane-design — no more shall your day be wasted away!</p>
</div>
<div class="col-lg-5">
<h2 class="h4">Technical features</h2>
<p>
<ul>
<li>Embedded video support
<li>Developer API
<li>Does not use official YouTube APIs
<li>No Contributor License Agreement (CLA)
</ul>
</p>
<img src="undraw_subscriptions_re_k7jj.svg" alt="Visual illustration from undraw" height=250 width=350/>
<h2 class="h4">Accounts</h2>
<p> Invidious allows you to keep track of channels and create playlists, all entirely independent from YouTube. </p>
</div>
</div>
</div>
<br/> <br/>
<div class="container">
<div class="row justify-content-center text-center">
<div class="col-lg-5">
<img src="undraw_Around_the_world_re_n353.svg" alt="Visual illustration from undraw" height=250 width=350/>
<h2 class="h4">Multilingual</h2>
<p> Thanks to our translators, Invidious is available in a multitude of different languages.</p>
</div>
<div class="col-lg-5">
<img src="undraw_Placeholders_re_pvr4.svg" alt="Visual illustration from undraw" height=250 width=350/>
<h2 class="h4">No Ads</h2>
<p> Invidious allows you to watch your video in peace, without any of those pesky interruptions.</p>
</div>
<div class="col-lg-5">
<img src="undraw_Coding_re_iv62.svg" alt="Visual illustration from undraw" height=250 width=350/>
<h2 class="h4">Developer API</h2>
<p> Invidious's fully featured developer API allows you to programmatically interact with us in every way shape or form. </p>
</div>
</div>
</div>