search.html
1 <!DOCTYPE html> 2 <html lang="en"> 3 <head> 4 <meta charset="UTF-8"> 5 <meta name="viewport" content="width=device-width, initial-scale=1.0"> 6 <title>Auride | Explore</title> 7 <link rel="stylesheet" href="/assets/css/all.css"> 8 <link rel="shortcut icon" href="/assets/imgs/favicon.png" type="image/png"> 9 <link rel="manifest" href="/manifest.json"> 10 <meta name="robots" content="nofollow, noai, noimageai"> 11 <meta name="og:type" content="website"> 12 <meta name="og:url" content="https://auride.xyz/"> 13 <meta name="og:title" content="Auride"> 14 <meta name="og:site_name" content="auride.xyz"> 15 <meta name="og:description" content="Auride - a safe place for everyone."> 16 <meta name="description" content="Auride - a safe place for everyone."> 17 <meta property="og:image" content="https://auride.xyz/assets/imgs/favicon.png"> 18 <meta name="theme-color" content="#ef97be"> 19 <script src="/assets/js/requiredScripts.js"></script> 20 <script src="/assets/js/scriptLoader.js"></script> 21 <script defer> 22 ScriptLoader.load( 23 { src: "/assets/js/notes/renderNoteDiv.js", async: false }, 24 { src: "/assets/js/notes/notes.js", async: false } 25 ).then(() => { 26 console.log("Scripts for /home have been loaded successfully."); 27 }).catch((error) => { 28 console.error("An error occurred: ", error, " please try refreshing."); 29 }); 30 </script> 31 </head> 32 33 <body> 34 <!-- Bottom Nav (mobile) --> 35 <!--<div class="mobileBottomNav" id="mobileBottomNav"> 36 <div class="nav"> 37 <a href="/home" style="margin-left: 20px;"><i class="fa-solid fa-house fa-xl"></i></a> <a href="/notifications"><i class="fa-solid fa-bell fa-xl"></i></a> <a href="/settings"><i class="fa-solid fa-gear fa-xl"></i></a> <a href="javascript:void();" onclick="createNotePopup()"><i class="fa-solid fa-pen-to-square fa-xl"></i></a> 38 </div> 39 </div>--> 40 41 <!-- Note successfully sent --> 42 <div id="successfullySent" style="display: none;"><p>Note successfully sent!</p></div> 43 44 <!-- New Note Alert --> 45 <!--<div class="notesAlert" id="notesAlert"> 46 <p>New Notes</p> 47 </div>--> 48 49 <!-- Notes --> 50 <div class="notes" id="notes"> 51 <!-- no search term --> 52 <div id="noTerm"> 53 <br /> 54 55 <h1>Explore</h1> 56 <p>Find other users or specific notes on Auride!</p> 57 <input type="text" id="searchTerm" placeholder="Search Auride" /> 58 <button onclick="search('searchPage')"><i class="fa-solid fa-magnifying-glass"></i> Find Users and Notes</button> 59 </div> 60 61 <div id="term" style="display: none;"> 62 <br /> 63 64 <h1>Explore</h1> 65 <input type="text" id="queryInput" placeholder="Search Auride" /> 66 <button onclick="search('queryPage')"><i class="fa-solid fa-magnifying-glass"></i> Find Users and Notes</button> 67 <p id="easterEggFound" style="color: var(--text-semi-transparent); font-size: smaller; display: none;">You found an easter egg! Easter eggs play sound, please ensure your browser allows auride.xyz to autoplay.</p> 68 69 <br /> 70 <br /> 71 <br /> 72 73 <div id="hasResults" style="display: none;"> 74 <h3>Users</h3> 75 <div id="queriedUsers"> 76 <p id="noUsersFound">No users found.</p> 77 </div> 78 79 <br /> 80 <br /> 81 82 <h3>Notes</h3> 83 <div id="queriedNotes" style="display: flex; flex-direction: column-reverse;"> 84 <p id="noNotesFound">No notes found.</p> 85 </div> 86 </div> 87 88 <div id="noResults"> 89 <p>No results found. Try searching something else.</p> 90 </div> 91 </div> 92 </div> 93 94 <!-- Auride Accounts --> 95 <div class="aurideAccounts"> 96 <h3>Auride Accounts</h3> 97 <p>Follow accounts associated with Auride.</p> 98 99 <div class="katniny"> 100 <!-- Me :3 --> 101 <div class="katniny"> 102 <img class="recommendAcc-pfp" src="" id="katninyPfp" draggable="false" /> <p id="katninyDisplay"></p> 103 <br /> <a href="/u" id="followBtn-1"><button class="followBtn">Follow</button></a> 104 <p id="katninyUser-pronouns"></p> 105 </div> 106 107 <br /> 108 109 <!-- Auride --> 110 <div class="auride"> 111 <img class="recommendAcc-pfp" src="" id="auridePfp" draggable="false" /> <p id="aurideDisplay"></p> 112 <br /> <a href="/u" id="followBtn-2"><button class="followBtn">Follow</button></a> 113 <p id="aurideUser-pronouns"></p> 114 </div> 115 116 <br /> 117 118 <!-- Katniny Studios --> 119 <div class="katninystudios"> 120 <img class="recommendAcc-pfp" src="" id="katninystudiosPfp" draggable="false" /> <p id="katninystudiosDisplay"></p> 121 <br /> <a href="/u" id="followBtn-3"><button class="followBtn">Follow</button></a> 122 <p id="katninystudiosUser-pronouns"></p> 123 </div> 124 </div> 125 </div> 126 127 <div class="policies"> 128 <a href="/policies/terms">Terms of Service</a>, <a href="/policies/privacy">Privacy Policy</a>, <a href="/policies/child-safety">Child Safety</a>, <a href="/policies/cookies">Cookies</a>, <a href="/policies/copyright">Copyright</a>, <a href="/policies/guidelines">Community Guidelines</a> 129 </div> 130 131 <div id="notSignedIn-banner"> 132 <p>Join the fun on Auride!</p> 133 <a href="/auth/login"><button>Login</button></a> 134 <a href="/auth/register"><button>Create an account</button></a> 135 </div> 136 137 <!-- Achievement Unlock --> 138 <div id="achievementUnlock" class="achievementUnlock" style="display: none;"> 139 <div id="achievementIcon"><i class="fa-solid fa-pencil"></i></div> <p id="achievementName">Achievement Name</p> 140 </div> 141 142 <dialog id="showAchievementUnlock"> 143 <h2 id="titleAndIcon">title and stuff</h2> 144 <p id="unlockReason">because you did</p> 145 <p id="unlockDate">m/d/y (the objectively correct way)</p> 146 <button onclick="document.getElementById('showAchievementUnlock').close();">Okay!</button> 147 </dialog> 148 149 <!-- Modals --> 150 151 <dialog id="signInPrompt"> 152 <img src="/assets/imgs/All_transparent.png" draggable="false" style="width: 450px; height: 100px; margin-left: 17%; margin-right: 15%;" /> 153 <h2>You must be signed in.</h2> 154 <p>To perform this action, you need to be signed into Auride!</p> 155 <br /> 156 <a href="/auth/login"><button>Login</button></a> 157 <div style="margin-top: 5px;"></div> 158 <a href="/auth/register"><button>Register</button></a> 159 </dialog> 160 161 <dialog id="openLink"> 162 <h2>Leaving Auride</h2> 163 <p>This link is taking you to the following website:</p> 164 165 <br /> 166 167 <p style="text-align: center;" id="linkyLink">https://link.com/</p> 168 169 <br /> 170 171 <a href="link" id="externalLink" target="_blank"><button onclick="document.getElementById('openLink').close()">Visit Site</button></a> <a href="javascript:void(1);" onclick="document.getElementById('openLink').close()" style="color: var(--main-color); font-size: 14px;">Go Back</a> 172 </dialog> 173 174 <dialog id="addAltText"> 175 <h2>Add Alt Text</h2> 176 <p>Help those with visual impairments or low vision understand what your note is.</p> 177 178 <textarea id="altText_input" placeholder="A fluffy orange cat sitting on a windowsill, licking its paw and grooming itself"></textarea> 179 180 <br /> 181 182 <button onclick="addAltText_finish()">Finish</button> 183 </dialog> 184 185 <dialog id="verifyEmail"> 186 <h2><i class="fa-solid fa-envelope-circle-check"></i> Please verify your email</h2> 187 <p>We need to ensure your account is using an actual email address. This is for your security and to help us drive away bots.</p> 188 <p style="font-size: 14px; color: var(--text-semi-transparent);">If you're seeing this, you have not verified your email address yet. You will need to be able to verify your email when creating new accounts.</p> 189 190 <br /> 191 192 <button onclick="getVerificationEmail()" style="width: 100%;"><i class="fa-solid fa-check-to-slot"></i> Verify Email</button> 193 </dialog> 194 195 <dialog id="emailSent_emailVer"> 196 <h2><i class="fa-solid fa-envelope-circle-check"></i> Email sent!</h2> 197 <p>Once you verify your email, please click the button below to verify, then we won't bug you again!</p> 198 <p style="font-size: 14px; color: var(--text-semi-transparent);">If you're seeing this, you have not verified your email address yet. You will need to be able to verify your email when creating new accounts.</p> 199 200 <br /> 201 202 <button onclick="window.location.reload()">Check Verification Status</button> 203 </dialog> 204 205 <dialog id="noteDeleted"> 206 <h2>Note Deleted</h2> 207 <p>Note was successfully deleted.</p> 208 209 <br /> 210 211 <button onclick="window.location.reload()">Okay</button> 212 </dialog> 213 214 <dialog id="noteUpdated"> 215 <h2>Note Updated</h2> 216 <p>Note was successfully updated.</p> 217 218 <br /> 219 220 <button onclick="window.location.reload()">Okay</button> 221 </dialog> 222 223 <dialog id="accountWarning"> 224 <h2>Account Warning</h2> 225 <p>Your behavior on Auride has been in violation of our <a href="/policies/terms" style="color: var(--main-color);">Terms of Service</a>, therefore has received a warning. Repeat offenses can result in account suspension or other account related punishments.</p> 226 227 <br /> 228 229 <p style="color: var(--text-semi-transparent);">Reason: <span id="warningReason"></span></p> 230 231 <br /> 232 <p>Please abide by Auride's <a href="/policies/guidelines" style="color: var(--main-color);">Community Guidelines</a> so Auride remains a safe place for everyone.</p> 233 <p>You can continue using Auride after agreeing to our Terms of Service.</p> 234 235 <input type="checkbox" id="warningAgreeToTerms" style="width: 15px;"> I agree 236 <p style="color: var(--error-text); display: none;" id="warningAcknowledge">Please agree to the Terms before continuing.</p> 237 <br /> 238 <button onclick="acknowledgeWarning()">Continue using Auride</button> 239 </dialog> 240 </body> 241 </html>