blaze/dist/index.html

63 lines
1.6 KiB
HTML
Raw Normal View History

2023-06-19 19:05:58 +00:00
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
2023-06-20 05:59:53 +00:00
<link rel="icon" type="image/x-icon" href="/favicon.svg" />
2023-06-19 19:05:58 +00:00
<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 {
2023-06-20 07:32:16 +00:00
font-family: sans-serif;
2023-06-19 19:05:58 +00:00
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;
}
2023-06-19 19:08:25 +00:00
input,
button {
padding: 1rem;
}
2023-06-19 19:05:58 +00:00
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>
2023-06-20 07:32:16 +00:00
<a href="https://www.buymeacoffee.com/dannyspina">Buy me a 🍺</a>
2023-06-19 19:05:58 +00:00
</footer>
<script>
2023-06-20 07:32:16 +00:00
const DEV = "%NODE_ENV%" !== "production",
2023-06-19 19:05:58 +00:00
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>