mirror of https://git.lenooby09.tech/LeNooby09/social-app.git
at remove-hackfix 153 lines 4.8 kB view raw
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 position: fixed; 77 width: 100px; 78 left: 50%; 79 top: 50%; 80 transform: translateX(-50%) translateY(-50%) translateY(-50px); 81 } 82 /** 83 * We need these styles to prevent shifting due to scrollbar show/hide on 84 * OSs that have them enabled by default. This also handles cases where the 85 * screen wouldn't otherwise scroll, and therefore hide the scrollbar and 86 * shift the content, by forcing the page to show a scrollbar. 87 */ 88 body { 89 width: 100%; 90 overflow-y: scroll; 91 } 92 </style> 93 </head> 94 95 <body> 96 <!-- 97 A generic no script element with a reload button and a message. 98 Feel free to customize this however you'd like. 99 --> 100 <noscript> 101 <form 102 action="" 103 style=" 104 background-color: #fff; 105 position: fixed; 106 top: 0; 107 left: 0; 108 right: 0; 109 bottom: 0; 110 z-index: 9999; 111 " 112 > 113 <div 114 style=" 115 font-size: 18px; 116 font-family: Helvetica, sans-serif; 117 line-height: 24px; 118 margin: 10%; 119 width: 80%; 120 " 121 > 122 <p lang="en">Oh no! It looks like JavaScript is not enabled in your browser.</p> 123 <p lang="en" style="margin: 20px 0;"> 124 <button 125 type="submit" 126 style=" 127 background-color: #4630eb; 128 border-radius: 100px; 129 border: none; 130 box-shadow: none; 131 color: #fff; 132 cursor: pointer; 133 font-weight: bold; 134 line-height: 20px; 135 padding: 6px 16px; 136 " 137 > 138 Reload 139 </button> 140 </p> 141 </div> 142 </form> 143 </noscript> 144 145 <!-- The root element for your Expo app. --> 146 <div id="root"> 147 <div id="splash"> 148 <!-- Bluesky SVG --> 149 <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> 150 </div> 151 </div> 152 </body> 153</html>