Remove dev flag

This commit is contained in:
Danny Spina 2023-06-20 09:47:30 +02:00
parent 900c16c0ea
commit 9fbccb876b

63
dist/index.html vendored
View File

@ -1 +1,62 @@
<!DOCTYPE html><html lang="en"><head><meta charset="UTF-8"><link rel="icon" type="image/x-icon" href="/favicon.svg"><meta name="viewport" content="width=device-width,initial-scale=1"><meta name="description" content="Blaze: The search engine for seamless browsing in challenging connections. Discover fast results and access online content efficiently."><title>Blaze</title><style>body{font-family:sans-serif;text-align:center;display:flex;align-items:center;justify-content:center;height:100dvh;margin:0;padding:0;flex-direction:column}footer,section{margin-top:auto}button,input{padding:1rem}footer{display:flex;flex-direction:column}</style></head><body><section><h1>Blaze</h1><input name="u" id="u" type="text" placeholder="Search something..."><br><br><button>BLAZE IT!</button></section><footer><a href="/info">What is this?</a> <a href="https://www.buymeacoffee.com/dannyspina">Buy me a 🍺</a></footer><script>const DEV=!0,e=DEV?"http://localhost:8888":"https://blaze.cyclic.app",t=document.querySelector("button"),c=document.querySelector("input");t.addEventListener("click",()=>{location.href=e+"?q="+encodeURI(c.value)})</script></body></html>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/x-icon" href="/favicon.svg" />
<meta name="viewport" content="width=device-width,initial-scale=1" />
<meta
name="description"
content="Blaze: The search engine for seamless browsing in challenging connections. Discover fast results and access online content efficiently."
/>
<title>Blaze</title>
<style>
body {
font-family: sans-serif;
text-align: center;
display: flex;
align-items: center;
justify-content: center;
height: 100dvh;
margin: 0;
padding: 0;
flex-direction: column;
}
footer,
section {
margin-top: auto;
}
button,
input {
padding: 1rem;
}
footer {
display: flex;
flex-direction: column;
}
</style>
</head>
<body>
<section>
<h1>Blaze</h1>
<input
name="u"
id="u"
type="text"
placeholder="Search something..."
/><br /><br /><button>BLAZE IT!</button>
</section>
<footer>
<a href="/info">What is this?</a>
<a href="https://www.buymeacoffee.com/dannyspina">Buy me a 🍺</a>
</footer>
<script>
const DEV = 0,
e = DEV ? "http://localhost:8888" : "https://blaze.cyclic.app",
t = document.querySelector("button"),
c = document.querySelector("input");
t.addEventListener("click", () => {
location.href = e + "?q=" + encodeURI(c.value);
});
</script>
</body>
</html>