forked from
jollywhoppers.com/witchsky.app
Bluesky app fork with some witchin' additions 馃挮
1<!DOCTYPE html>
2<html>
3 <head>
4 <meta charset="utf-8">
5 <meta name="theme-color">
6 <!--
7 This viewport works for phones with notches.
8 It's optimized for gestures by disabling global zoom.
9 -->
10 <meta
11 name="viewport"
12 content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1.00001, viewport-fit=cover"
13 />
14 <!--
15 Preconnect to essential domains
16 -->
17 <link rel="preconnect" href="https://bsky.social">
18 <link rel="preconnect" href="https://go.bsky.app">
19 <title>%WEB_TITLE%</title>
20
21 <link rel="preload" as="font" type="font/woff2" href="/static/media/InterVariable.c504db5c06caaf7cdfba.woff2" crossorigin>
22
23 <style>
24 /**
25 * Minimum styles required to render splash.
26 *
27 * ALL OTHER STYLES BELONG IN `src/style.css`
28 *
29 * THIS NEEDS TO BE DUPLICATED IN `bskyweb/templates/base.html`
30 */
31 @font-face {
32 font-family: 'InterVariable';
33 src: url(/static/media/InterVariable.c504db5c06caaf7cdfba.woff2) format('woff2');
34 font-weight: 300 1000;
35 font-style: normal;
36 font-display: swap;
37 }
38 @font-face {
39 font-family: 'InterVariableItalic';
40 src: url(/static/media/InterVariable-Italic.01dcbad1bac635f9c9cd.woff2) format('woff2');
41 font-weight: 300 1000;
42 font-style: italic;
43 font-display: swap;
44 }
45 html {
46 background-color: white;
47 }
48 @media (prefers-color-scheme: dark) {
49 html {
50 background-color: black;
51 }
52 }
53 html,
54 body {
55 margin: 0px;
56 padding: 0px;
57 font-family: InterVariable, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Liberation Sans', Helvetica, Arial, sans-serif;
58 text-rendering: optimizeLegibility;
59 /* Platform-specific reset */
60 -webkit-overflow-scrolling: touch;
61 -webkit-text-size-adjust: 100%;
62 -webkit-font-smoothing: antialiased;
63 -moz-osx-font-smoothing: grayscale;
64 -ms-overflow-style: scrollbar;
65 font-synthesis-weight: none;
66 }
67 html,
68 body,
69 #root {
70 display: flex;
71 flex: 1 0 auto;
72 min-height: 100%;
73 width: 100%;
74 }
75 #splash {
76 display: flex;
77 position: fixed;
78 top: 0;
79 bottom: 0;
80 left: 0;
81 right: 0;
82 align-items: center;
83 justify-content: center;
84 }
85 #splash svg {
86 position: relative;
87 top: -50px;
88 width: 100px;
89 }
90 /**
91 * We need these styles to prevent shifting due to scrollbar show/hide on
92 * OSs that have them enabled by default. This also handles cases where the
93 * screen wouldn't otherwise scroll, and therefore hide the scrollbar and
94 * shift the content, by forcing the page to show a scrollbar.
95 */
96 body {
97 width: 100%;
98 overflow-y: scroll;
99 }
100 </style>
101 </head>
102
103 <body>
104 <!--
105 A generic no script element with a reload button and a message.
106 Feel free to customize this however you'd like.
107 -->
108 <noscript>
109 <form
110 action=""
111 style="
112 background-color: #fff;
113 position: fixed;
114 top: 0;
115 left: 0;
116 right: 0;
117 bottom: 0;
118 z-index: 9999;
119 "
120 >
121 <div
122 style="
123 font-size: 18px;
124 font-family: Helvetica, sans-serif;
125 line-height: 24px;
126 margin: 10%;
127 width: 80%;
128 "
129 >
130 <p lang="en">Oh no! It looks like JavaScript is not enabled in your browser.</p>
131 <p lang="en" style="margin: 20px 0;">
132 <button
133 type="submit"
134 style="
135 background-color: #4630eb;
136 border-radius: 100px;
137 border: none;
138 box-shadow: none;
139 color: #fff;
140 cursor: pointer;
141 font-weight: bold;
142 line-height: 20px;
143 padding: 6px 16px;
144 "
145 >
146 Reload
147 </button>
148 </p>
149 </div>
150 </form>
151 </noscript>
152
153 <!-- The root element for your Expo app. -->
154 <div id="root">
155 <div id="splash">
156 <!-- Bluesky SVG -->
157 <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 57"><path fill="#006AFF" d="M13.873 3.805C21.21 9.332 29.103 20.537 32 26.55v15.882c0-.338-.13.044-.41.867-1.512 4.456-7.418 21.847-20.923 7.944-7.111-7.32-3.819-14.64 9.125-16.85-7.405 1.264-15.73-.825-18.014-9.015C1.12 23.022 0 8.51 0 6.55 0-3.268 8.579-.182 13.873 3.805ZM50.127 3.805C42.79 9.332 34.897 20.537 32 26.55v15.882c0-.338.13.044.41.867 1.512 4.456 7.418 21.847 20.923 7.944 7.111-7.32 3.819-14.64-9.125-16.85 7.405 1.264 15.73-.825 18.014-9.015C62.88 23.022 64 8.51 64 6.55c0-9.818-8.578-6.732-13.873-2.745Z"/></svg>
158 </div>
159 </div>
160 </body>
161</html>