Update 5 files
- /assets/index-0e5924d3.css - /app/index.js - /app/index.html - /index.html - /assets/style.css
This commit is contained in:
parent
16100dc229
commit
a7059d3929
4 changed files with 657 additions and 444 deletions
54
index.html
54
index.html
|
@ -1,43 +1,41 @@
|
|||
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<link rel="icon" type="image/svg+xml" href="./favicon.svg" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>Mortar & Pestle</title>
|
||||
<link rel="stylesheet" href="./assets/index-0e5924d3.css">
|
||||
<script>
|
||||
function toggleDarkMode() {
|
||||
const body = document.body;
|
||||
const button = document.querySelector('.btn-primary');
|
||||
body.classList.toggle('dark-mode');
|
||||
|
||||
if (body.classList.contains('dark-mode')) {
|
||||
button.style.position = 'static';
|
||||
button.style.zIndex = 'auto';
|
||||
} else {
|
||||
button.style.position = 'fixed';
|
||||
button.style.zIndex = '9999';
|
||||
button.style.right = '0';
|
||||
}
|
||||
}
|
||||
</script>
|
||||
<meta charset="UTF-8">
|
||||
<link rel="icon" type="image/svg+xml" href="./favicon.svg">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Mortar & Pestle | The Next Generation of Question Grinding</title>
|
||||
<link rel="stylesheet" href="./assets/style.css">
|
||||
<meta name="robots" content="index,follow">
|
||||
<meta name="copyright" content="Public Domain">
|
||||
<meta name="keywords" content="pestle, mortar, mortar & pestle, ib questionbank, pirateib">
|
||||
<meta name="description" content="Practice IB Exam-Style Questions, create topic-wise tests, and much more!">
|
||||
<meta property="og:locale" content="en_US">
|
||||
<meta property="og:type" content="website">
|
||||
<meta property="og:title" content="Mortar & Pestle | The Next Generation of Question Grinding">
|
||||
<meta property="og:description" content="Practice IB Exam-Style Questions, create topic-wise tests, and much more!">
|
||||
<meta property="og:url" content="https://pestle.pages.dev/">
|
||||
<meta property="og:site_name" content="Mortar & Pestle">
|
||||
<meta name="twitter:title" content="Mortar & Pestle | The Next Generation of Question Grinding">
|
||||
<meta name="twitter:description" content="Practice IB Exam-Style Questions, create topic-wise tests, and much more!">
|
||||
<script>function toggleDarkMode(){var e=document.body,d=document.head,t=document.getElementById("darkmodebtn");"disabled"===(localStorage.getItem("darkMode")||"disabled")?(e.classList.add("dark-mode"),d.classList.add("dark-mode"),localStorage.setItem("darkMode","enabled"),t.innerText="Light Mode"):(e.classList.remove("dark-mode"),d.classList.remove("dark-mode"),localStorage.setItem("darkMode","disabled"),t.innerText="Dark Mode")}document.addEventListener("DOMContentLoaded",(()=>{const e=localStorage.getItem("darkMode"),d=window.matchMedia("(prefers-color-scheme: dark)").matches;"enabled"===e?(document.body.classList.add("dark-mode"),document.head.classList.add("dark-mode"),document.getElementById("darkmodebtn").innerText="Light Mode"):"disabled"===e?(document.body.classList.remove("dark-mode"),document.head.classList.remove("dark-mode"),document.getElementById("darkmodebtn").innerText="Dark Mode"):d?(document.body.classList.add("dark-mode"),document.head.classList.add("dark-mode"),document.getElementById("darkmodebtn").innerText="Light Mode",localStorage.setItem("darkMode","enabled")):(document.body.classList.remove("dark-mode"),document.head.classList.remove("dark-mode"),document.getElementById("darkmodebtn").innerText="Dark Mode",localStorage.setItem("darkMode","disabled"))}));</script>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div id="root">
|
||||
<div class="me-auto ms-auto flex flex-col items-center p-4 pt-3" id="landingPage">
|
||||
<header class="flex w-full items-start" style="position: fixed">
|
||||
<div style="position: fixed; right: 15px; z-index: 9999;"><button class="btn-primary" onclick="toggleDarkMode()">Dark Mode</button></div>
|
||||
<div style="position: fixed; right: 15px; z-index: 9999;"><button id="darkmodebtn" class="btn-primary" onclick="toggleDarkMode()">Dark Mode</button></div>
|
||||
</header>
|
||||
<div>
|
||||
<div style="text-align:center;"><h1><b>Mortar & Pestle</b></h1><br></div>
|
||||
<h1>The <em>Next Generation</em> of Question Grinding</h1>
|
||||
<h1 style="text-align:center;">The <em>Next Generation</em> of Question Grinding</h1>
|
||||
</div><br>
|
||||
<div class="mt-4" style="text-align:center;">
|
||||
<h2>Practice IB Exam-Style Questions, create topic-wise tests, and much more!</h2><br>
|
||||
<h2 style="color:orangered">Warning: This site is on early beta release, and it is <b>NOT</b> optimized for mobile.</h2>
|
||||
<h2 style="color:orangered">Warning: This site is <b>NOT</b> optimized for mobile.</h2>
|
||||
</div>
|
||||
<br>
|
||||
<div class="p-3" style="text-align:center;"><a href="app/index.html"><button class="btn-primary"><h1>Start Grinding!</h1></button></a></div>
|
||||
|
@ -45,7 +43,7 @@
|
|||
<div class="mt-8 font-medium text-neutralVariant">
|
||||
<h2>Features</h2>
|
||||
</div>
|
||||
<section class="flex w-full justify-evenly pt-5">
|
||||
<section class="flex w-full justify-evenly pt-5 text-center">
|
||||
<div class="flex shrink grow basis-0 flex-col items-center">
|
||||
<div class="rounded-full bg-secondary/30 p-2"><svg xmlns="http://www.w3.org/2000/svg" width="24"
|
||||
height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"
|
||||
|
@ -73,16 +71,16 @@
|
|||
<div class="flex shrink grow basis-0 flex-col items-center">
|
||||
<div class="rounded-full bg-gray-400/30 p-2"><img src="./assets/anon.svg"
|
||||
alt="anonymous image"></div>
|
||||
<div class="font-medium text-gray-500">No trackers/cookies</div>
|
||||
<div class="font-medium text-gray-500">No trackers / cookies</div>
|
||||
</div>
|
||||
</section>
|
||||
<br>
|
||||
</div>
|
||||
|
||||
<footer class="mt-16 flex flex-col text-center">
|
||||
<p><a href="http://pirateib.net">Made by pirateIB</a></p>
|
||||
<p><a href="https://pirateib.xyz">Made by pirateIB</a></p>
|
||||
</footer>
|
||||
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue