Bluesky app fork with some witchin' additions 馃挮
at post-text-option 129 lines 4.7 kB view raw
1<!DOCTYPE html> 2<html> 3<head> 4 <meta charset="UTF-8"> 5 <meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, viewport-fit=cover"> 6 <meta name="referrer" content="origin-when-cross-origin"> 7 <!-- 8 Preconnect to essential domains 9 --> 10 <link rel="preconnect" href="https://bsky.social"> 11 <link rel="preconnect" href="https://go.bsky.app"> 12 <title>{%- block head_title -%}Bluesky{%- endblock -%}</title> 13 14 <!-- Hello Humans! API docs at https://atproto.com --> 15 16 <link rel="preload" as="font" type="font/woff2" href="{{ staticCDNHost }}/static/media/InterVariable.c504db5c06caaf7cdfba.woff2" crossorigin> 17 18 <style> 19 /** 20 * Minimum styles required to render splash. 21 * 22 * ALL OTHER STYLES BELONG IN `src/style.css` 23 * 24 * THIS NEEDS TO BE DUPLICATED IN `bskyweb/templates/base.html` 25 */ 26 @font-face { 27 font-family: 'InterVariable'; 28 src: url("{{ staticCDNHost }}/static/media/InterVariable.c504db5c06caaf7cdfba.woff2") format('woff2'); 29 font-weight: 300 1000; 30 font-style: normal; 31 font-display: swap; 32 } 33 @font-face { 34 font-family: 'InterVariableItalic'; 35 src: url("{{ staticCDNHost }}/static/media/InterVariable-Italic.01dcbad1bac635f9c9cd.woff2") format('woff2'); 36 font-weight: 300 1000; 37 font-style: italic; 38 font-display: swap; 39 } 40 html { 41 background-color: white; 42 } 43 @media (prefers-color-scheme: dark) { 44 html { 45 background-color: black; 46 } 47 } 48 html, 49 body { 50 margin: 0px; 51 padding: 0px; 52 font-family: InterVariable, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Liberation Sans', Helvetica, Arial, sans-serif; 53 text-rendering: optimizeLegibility; 54 /* Platform-specific reset */ 55 -webkit-overflow-scrolling: touch; 56 -webkit-text-size-adjust: 100%; 57 -webkit-font-smoothing: antialiased; 58 -moz-osx-font-smoothing: grayscale; 59 -ms-overflow-style: scrollbar; 60 font-synthesis-weight: none; 61 } 62 html, 63 body, 64 #root { 65 display: flex; 66 flex: 1 0 auto; 67 min-height: 100%; 68 width: 100%; 69 } 70 #splash { 71 display: flex; 72 position: fixed; 73 top: 0; 74 bottom: 0; 75 left: 0; 76 right: 0; 77 align-items: center; 78 justify-content: center; 79 } 80 #splash svg { 81 position: relative; 82 top: -50px; 83 width: 100px; 84 } 85 /** 86 * We need these styles to prevent shifting due to scrollbar show/hide on 87 * OSs that have them enabled by default. This also handles cases where the 88 * screen wouldn't otherwise scroll, and therefore hide the scrollbar and 89 * shift the content, by forcing the page to show a scrollbar. 90 */ 91 body { 92 width: 100%; 93 overflow-y: scroll; 94 } 95 </style> 96 97 {% include "scripts.html" %} 98 <link rel="apple-touch-icon" sizes="180x180" href="{{ staticCDNHost }}/static/apple-touch-icon.png"> 99 <link rel="icon" type="image/png" sizes="32x32" href="{{ staticCDNHost }}/static/favicon-32x32.png"> 100 <link rel="icon" type="image/png" sizes="16x16" href="{{ staticCDNHost }}/static/favicon-16x16.png"> 101 <link rel="mask-icon" href="{{ staticCDNHost }}/static/safari-pinned-tab.svg" color="#ED5345"> 102 <meta name="theme-color"> 103 <meta name="application-name" content="Witchsky"> 104 <meta name="generator" content="bskyweb"> 105 <meta property="og:site_name" content="Witchsky Social"> 106 <meta property="og:logo" content="{{ favicon }}"> 107 <meta name="twitter:site" content="@bluesky" /> 108 <link type="application/activity+json" href="" /> 109 110 {% block html_head_extra -%}{%- endblock %} 111</head> 112<body> 113{%- block body_all %} 114 <div id="root"> 115 <div id="splash"> 116 <!-- Bluesky SVG --> 117 <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 360 320"><path fill="#0085ff" d="M180 142c-16.3-31.7-60.7-90.8-102-120C38.5-5.9 23.4-1 13.5 3.4 2.1 8.6 0 26.2 0 36.5c0 10.4 5.7 84.8 9.4 97.2 12.2 41 55.7 55 95.7 50.5-58.7 8.6-110.8 30-42.4 106.1 75.1 77.9 103-16.7 117.3-64.6 14.3 48 30.8 139 116 64.6 64-64.6 17.6-97.5-41.1-106.1 40 4.4 83.5-9.5 95.7-50.5 3.7-12.4 9.4-86.8 9.4-97.2 0-10.3-2-27.9-13.5-33C336.5-1 321.5-6 282 22c-41.3 29.2-85.7 88.3-102 120Z"/></svg><!-- TODO: Xan: Replace with Witchsky logo --> 118 </div> 119 </div> 120 121 <noscript> 122 <h1 lang="en">JavaScript Required</h1> 123 <p lang="en">This is a heavily interactive web application, and JavaScript is required. Simple HTML interfaces are possible, but that is not what this is. 124 <p lang="en">Learn more about Bluesky at <a href="https://bsky.social">bsky.social</a> and <a href="https://atproto.com">atproto.com</a>. 125 {% block noscript_extra %}{% endblock %} 126 </noscript> 127{% endblock -%} 128</body> 129</html>