add search

This commit is contained in:
Ashley 2022-07-12 12:31:01 +03:00 committed by GitHub
parent 060ca8aa8c
commit 95d2567b24
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -29,12 +29,15 @@
<meta content="https://cdn.glitch.com/ef5d02b7-c958-475a-b82d-d263d37e7ec7/poketubeprivacypolicy.png" property=og:image>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@900&family=Sigmar+One&display=swap" rel=stylesheet>
<meta content=summary_large_image name=twitter:card>
<style nonce="IJD3y0awTwA2dd0pWOP+ZQ">
#yt-masthead{line-height:0;margin:15px auto;width:440px;margin-top:25px}#logo-container{margin-right:5px;float:left;cursor:pointer;text-decoration:none}.logo{background:no-repeat url("//www.gstatic.com/youtube/img/branding/youtubelogo/1x/youtubelogo_30.png");width:125px;height:30px;cursor:pointer;display:inline-block}#masthead-search{display:flex;margin-top:3px;max-width:650px;overflow:hidden;padding:0;position:relative}.search-button{border-left:0;-moz-border-radius-topleft:0;border-top-left-radius:0;-moz-border-radius-bottomleft:0;border-bottom-left-radius:0;float:right;height:29px;padding:0;border:solid 1px transparent;background:#999;;color:#333;cursor:pointer}.search-button:hover{border-color:#c6c6c6;background:#f0f0f0;box-shadow:0 1px 0 rgba(0,0,0,0.0)}.search-button-content{border:none;display:block;opacity:.6;padding:0;text-indent:-10000px;background:no-repeat url(//www.gstatic.com/youtube/src/web/htdocs/img/search.png);background-size:auto;width:15px;height:15px;box-shadow:none;margin:0 25px}#masthead-search-terms-border{flex:1 1 auto;box-shadow:inset 0 1px 2px #eee;background-color:#000;font-size:14px;height:29px;line-height:30px;margin:0 0 2px;overflow:hidden;position:relative;-moz-box-sizing:border-box;box-sizing:border-box;-webkit-transition:border-color .2s ease;transition:border-color .2s ease}#masthead-search-terms{background:#2c2f33;border:0;font-size:16px;height:100%;left:0;margin:0;outline:none;padding:2px 6px;position:absolute;width:100%;-moz-box-sizing:border-box;box-sizing:border-box}
</style>
</head>
<body id="pg-privacy" class="page-privacy">
<div class="site-wrapper site-wrapper--static js-site-wrapper">
<div class="header-wrap--hero js-header-wrap">
</div>
@ -48,9 +51,17 @@
<div class="logo--dax" title="PokeTube"></div>
<div class="blk__text blk__text--hero-privacy js-privacy-hero">
<h1 class="hd-hr">
We dont collect or share your personal information! </h1>
<h5 class="hd-hr"> That's our privacy policy TL;DR lol</h5>
We dont collect or share your personal information!</h1> <h5 class="hd-hr"> That's our privacy policy TL;DR lol</h5>
<form id="masthead-search" class="search-form" action="/api/search">
<div id="masthead-search-terms-border" dir="ltr">
<input id="masthead-search-terms" style="color: #fff; font-family: Roboto, sans-serif" autocomplete="off" on name="query" value="" type="text" placeholder="Try A Search on PokeTube!" title="Search Videos Privately!" aria-label="Search" />
</div>
<button class="search-button" type="submit" dir="ltr"><span class="search-button-content">Search</span></button>
<img src="https://t.poketube.fun/t/rep.gif" style="width: 0;visibility: hidden;" id="privacy_search_metrics">
</form>
</div>
</div>
</div>