mirror of https://git.lenooby09.tech/LeNooby09/social-app.git
at ruby-v 154 lines 4.9 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://bsky.network"> 19 <title>%WEB_TITLE%</title> 20 21 <link rel="preload" as="font" type="font/ttf" href="/static/media/InterVariable.c9f788f6e7ebaec75d7c.ttf"> 22 <link rel="preload" as="font" type="font/ttf" href="/static/media/InterVariable-Italic.55d6a3f35e9b605ba6f4.ttf"> 23 24 <style> 25 /** 26 * Minimum styles required to render splash. 27 * 28 * ALL OTHER STYLES BELONG IN `src/style.css` 29 * 30 * THIS NEEDS TO BE DUPLICATED IN `bskyweb/templates/base.html` 31 */ 32 @font-face { 33 font-family: 'InterVariable'; 34 src: url(/static/media/InterVariable.c9f788f6e7ebaec75d7c.ttf) format('truetype'); 35 font-weight: 300 1000; 36 font-style: normal; 37 font-display: swap; 38 } 39 @font-face { 40 font-family: 'InterVariableItalic'; 41 src: url(/static/media/InterVariable-Italic.55d6a3f35e9b605ba6f4.ttf) format('truetype'); 42 font-weight: 300 1000; 43 font-style: italic; 44 font-display: swap; 45 } 46 html { 47 background-color: white; 48 } 49 @media (prefers-color-scheme: dark) { 50 html { 51 background-color: black; 52 } 53 } 54 html, 55 body { 56 margin: 0px; 57 padding: 0px; 58 font-family: InterVariable, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Liberation Sans', Helvetica, Arial, sans-serif; 59 text-rendering: optimizeLegibility; 60 /* Platform-specific reset */ 61 -webkit-overflow-scrolling: touch; 62 -webkit-text-size-adjust: 100%; 63 -webkit-font-smoothing: antialiased; 64 -moz-osx-font-smoothing: grayscale; 65 -ms-overflow-style: scrollbar; 66 font-synthesis-weight: none; 67 } 68 html, 69 body, 70 #root { 71 display: flex; 72 flex: 1 0 auto; 73 min-height: 100%; 74 width: 100%; 75 } 76 #splash { 77 position: fixed; 78 width: 100px; 79 left: 50%; 80 top: 50%; 81 transform: translateX(-50%) translateY(-50%) translateY(-50px); 82 } 83 /** 84 * We need these styles to prevent shifting due to scrollbar show/hide on 85 * OSs that have them enabled by default. This also handles cases where the 86 * screen wouldn't otherwise scroll, and therefore hide the scrollbar and 87 * shift the content, by forcing the page to show a scrollbar. 88 */ 89 body { 90 width: 100%; 91 overflow-y: scroll; 92 } 93 </style> 94 </head> 95 96 <body> 97 <!-- 98 A generic no script element with a reload button and a message. 99 Feel free to customize this however you'd like. 100 --> 101 <noscript> 102 <form 103 action="" 104 style=" 105 background-color: #fff; 106 position: fixed; 107 top: 0; 108 left: 0; 109 right: 0; 110 bottom: 0; 111 z-index: 9999; 112 " 113 > 114 <div 115 style=" 116 font-size: 18px; 117 font-family: Helvetica, sans-serif; 118 line-height: 24px; 119 margin: 10%; 120 width: 80%; 121 " 122 > 123 <p lang="en">Oh no! It looks like JavaScript is not enabled in your browser.</p> 124 <p lang="en" style="margin: 20px 0;"> 125 <button 126 type="submit" 127 style=" 128 background-color: #4630eb; 129 border-radius: 100px; 130 border: none; 131 box-shadow: none; 132 color: #fff; 133 cursor: pointer; 134 font-weight: bold; 135 line-height: 20px; 136 padding: 6px 16px; 137 " 138 > 139 Reload 140 </button> 141 </p> 142 </div> 143 </form> 144 </noscript> 145 146 <!-- The root element for your Expo app. --> 147 <div id="root"> 148 <div id="splash"> 149 <!-- Bluesky SVG --> 150 <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> 151 </div> 152 </div> 153 </body> 154</html>