Skip to content

Commit

Permalink
Add version 1.1.0 archives!
Browse files Browse the repository at this point in the history
Great work, me!
  • Loading branch information
Brunozhon authored Aug 21, 2023
2 parents 5b8e024 + 3551d8b commit db4a894
Show file tree
Hide file tree
Showing 10 changed files with 461 additions and 37 deletions.
14 changes: 7 additions & 7 deletions v1.1.0/cart.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>My Cart</title>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-KK94CHFLLe+nY2dmCWGMq91rCGa5gtU4mk92HdvYe+M/SXH301p5ILy+dN9+nJOZ" crossorigin="anonymous">
<link href="https://the-bruno-store.github.io/favicon.ico" rel="icon" type="image/x-icon">
<link href="https://the-bruno-store.github.io/v1.1.0/favicon.ico" rel="icon" type="image/x-icon">
</head>
<body>
<nav id="navbar-example" class="navbar navbar-light bg-light px-3 sticky-top" data-bs-offset="0">
Expand All @@ -32,14 +32,14 @@ <h1><a class="navbar-brand" href="#">The Bruno Store</a></h1>
</ul>
</nav>
<audio autoplay controls loop>
<source src="https://the-bruno-store.github.io/The%20Bruno%20Store.wav" type="video/wav"></source>
<source src="https://the-bruno-store.github.io/The%20Bruno%20Store.aiff"></source>
<source src="https://the-bruno-store.github.io/v1.1.0/The%20Bruno%20Store.wav" type="video/wav"></source>
<source src="https://the-bruno-store.github.io/v1.1.0/The%20Bruno%20Store.aiff"></source>
</audio>
<h1>My Cart</h1>
<p><button class="btn btn-danger" onclick="deleteCart()">Delete All Items In Cart</button></p>
<ul class="list-group" id="cart">
</ul>
<p><a href="https://the-bruno-store.github.io/">Browse more!</a></p>
<p><a href="https://the-bruno-store.github.io/v1.1.0/">Browse more!</a></p>
<div class="card">
<div class="card-body">
<!-- Icons from Bootstrap Icons -->
Expand Down Expand Up @@ -153,15 +153,15 @@ <h1>My Cart</h1>
function deleteCart() {
if (confirm("Do you want to delete all the items in your cart?")) {
localStorage.itemsInCart = JSON.stringify({})
location.replace("https://the-bruno-store.github.io/cart.html")
location.replace("https://the-bruno-store.github.io/v1.1.0/cart.html")
}
}
function deleteItem(item) {
if (confirm(`Do you want to delete ALL OF the item ${item}?`)) {
var realCart = JSON.parse(localStorage.itemsInCart)
delete realCart[item]
localStorage.itemsInCart = JSON.stringify(realCart)
location.replace("https://the-bruno-store.github.io/cart.html")
location.replace("https://the-bruno-store.github.io/v1.1.0/cart.html")
}
}
function deleteOneOf(item) {
Expand All @@ -181,7 +181,7 @@ <h1>My Cart</h1>
realCart[item][2] = total
}
localStorage.itemsInCart = JSON.stringify(realCart)
location.replace("https://the-bruno-store.github.io/cart.html")
location.replace("https://the-bruno-store.github.io/v1.1.0/cart.html")
}
}
</script>
Expand Down
58 changes: 29 additions & 29 deletions v1.1.0/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>The Bruno Store</title>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-KK94CHFLLe+nY2dmCWGMq91rCGa5gtU4mk92HdvYe+M/SXH301p5ILy+dN9+nJOZ" crossorigin="anonymous">
<link href="https://the-bruno-store.github.io/favicon.ico" rel="icon" type="image/x-icon">
<link href="https://the-bruno-store.github.io/v1.1.0/favicon.ico" rel="icon" type="image/x-icon">
</head>
<body>
<nav id="navbar-example" class="navbar navbar-light bg-light px-3 sticky-top" data-bs-offset="0">
Expand All @@ -32,8 +32,8 @@ <h1><a class="navbar-brand" href="#">The Bruno Store</a></h1>
</ul>
</nav>
<audio controls loop>
<source src="https://the-bruno-store.github.io/The%20Bruno%20Store.wav">
<source src="https://the-bruno-store.github.io/The%20Bruno%20Store.aiff">
<source src="https://the-bruno-store.github.io/v1.1.0/The%20Bruno%20Store.wav">
<source src="https://the-bruno-store.github.io/v1.1.0/The%20Bruno%20Store.aiff">
The Song cannot be played.
</audio>
<h1>The Bruno Store</h1>
Expand All @@ -52,32 +52,32 @@ <h1>The Bruno Store</h1>
document.querySelector("audio").play()
// Generate book list
const bookData = {
"Lead (1-PACK)": ["Why buy only one lead, the main currency of the classroom?", 0, 6 /* Two values for cents and dollars for proper formatting. */, "https://the-bruno-store.github.io/items/lead.html?pack=1"],
"Lead (5-PACK)": ["Just as bad as buying one lead.", 0, 30, "https://the-bruno-store.github.io/items/lead.html?pack=5"],
"Lead (10-PACK)": ["Just as bad as buying one lead.", 0, 59, "https://the-bruno-store.github.io/items/lead.html?pack=10"],
"Lead (25-PACK)": ["The main currency of the classroom.", 1, 23, "https://the-bruno-store.github.io/items/lead.html?pack=25"],
"Lead (100-PACK)": ["The main currency of the classroom.", 4, 90, "https://the-bruno-store.github.io/items/lead.html?pack=100"],
"Pencils (1-PACK)": ["WARNING: Not the mechanical pencil.", 1, 0 /* Two values for cents and dollars for proper formatting. */, "https://the-bruno-store.github.io/items/pencils.html?pack=1"],
"Pencils (5-PACK)": ["A regular HB pencil, multiplied by 5.", 5, 0, "https://the-bruno-store.github.io/items/pencils.html?pack=5"],
"Pencils (10-PACK)": ["A regular HB pencil, multiplied by 10.", 10, 0, "https://the-bruno-store.github.io/items/pencils.html?pack=10"],
"Pencils (25-PACK)": ["Pencils galore!", 20, 0, "https://the-bruno-store.github.io/items/pencils.html?pack=25"],
"Pencils (100-PACK)": ["Pencils galore!", 80, 0, "https://the-bruno-store.github.io/items/pencils.html?pack=100"],
"Acetone-Free Nail Polish Remover (SMALL)": ["Without acetone, it is 100% less toxic!", 1, 00, "https://the-bruno-store.github.io/items/acetone-free-nail-polish-remover.html?size=1"],
"Acetone-Free Nail Polish Remover (MEDIUM)": ["Some giants use this.", 7, 50, "https://the-bruno-store.github.io/items/acetone-free-nail-polish-remover.html?size=2"],
"Acetone-Free Nail Polish Remover (LARGE)": ["Some art teachers use this.", 15, 00, "https://the-bruno-store.github.io/items/acetone-free-nail-polish-remover.html?size=3"],
"Edible Glue (SMALL)": ["100% edible and transparent! No flavor!", 0, 50, "https://the-bruno-store.github.io/items/edible-glue.html?size=1"],
"Edible Glue (MEDIUM)": ["100% edible and transparent! No flavor!", 3, 75, "https://the-bruno-store.github.io/items/edible-glue.html?size=2"],
"Edible Glue (LARGE)": ["100% edible and transparent! No flavor!", 7, 50, "https://the-bruno-store.github.io/items/edible-glue.html?size=3"],
"Ant Farm (w. 1 Ant)": ["Why one ant? It can't do anything except eat!", 4, 99, "https://the-bruno-store.github.io/items/ant-farm.html?ants=1"],
"Ant Farm (w. 5 Ants)": ["Five ants are better because you can have a queen ant!", 5, 09, "https://the-bruno-store.github.io/items/ant-farm.html?ants=5"],
"Ant Farm (w. 10 Ants)": ["Ten ants, because I am ten as of 2023!", 5, 19, "https://the-bruno-store.github.io/items/ant-farm.html?ants=10"],
"Ant Farm (w. 25 Ants)": ["You can have two queens with this! Probably not that good for the ants...", 5, 49, "https://the-bruno-store.github.io/items/ant-farm.html?ants=25"],
"Ant Farm (w. 100 Ants)": ["Ten queens for the ultimate battle royale!", 6, 99, "https://the-bruno-store.github.io/items/ant-farm.html?ants=100"],
"Ultra-Purified Water (1-PACK)": ["99.9999999999% free of bacteria! (Until the time you open the cap.)", 1, 0, "https://the-bruno-store.github.io/items/ultra-purified-water.html?size=1"],
"Ultra-Purified Water (6-PACK)": ["Comes with a sleek 6-pack ring holder! (Remember <b>NOT</b> to put it in the ocean.)", 6, 0, "https://the-bruno-store.github.io/items/ultra-purified-water.html?size=6"],
"Ultra-Purified Water (12-PACK)": ["Comes with a sleek 12-pack waterdegradable ring holder! Can waterdegrade in 10 seconds!", 11, 50, "https://the-bruno-store.github.io/items/ultra-purified-water.html?size=12"],
"One 2-in-1 Water <b>F</b><u>oiler</u> (<b>F</b>ilter & B<u>oiler</u>)": ["After you filter the water, boil it and \"When I get all steamed up, hear me shout: 'Tip me over and pour me out!'\" (from My Little Teapot)", 10, 0, "https://the-bruno-store.github.io/items/2-in-1-water-foiler.html?size=1"],
"Three 2-in-1 Water <b>F</b><u>oiler</u> (<b>F</b>ilter & B<u>oiler</u>)": ["You'll have three foilers saying: \"Tip me over and pour me out!\", but at least it comes with a sleek 3-pack ring holder. As always, <b>NOT</b> waterdegradable.", 30, 00, "https://the-bruno-store.github.io/items/2-in-1-water-foiler.html?size=12"]
"Lead (1-PACK)": ["Why buy only one lead, the main currency of the classroom?", 0, 6 /* Two values for cents and dollars for proper formatting. */, "https://the-bruno-store.github.io/v1.1.0/items/lead.html?pack=1"],
"Lead (5-PACK)": ["Just as bad as buying one lead.", 0, 30, "https://the-bruno-store.github.io/v1.1.0/items/lead.html?pack=5"],
"Lead (10-PACK)": ["Just as bad as buying one lead.", 0, 59, "https://the-bruno-store.github.io/v1.1.0/items/lead.html?pack=10"],
"Lead (25-PACK)": ["The main currency of the classroom.", 1, 23, "https://the-bruno-store.github.io/v1.1.0/items/lead.html?pack=25"],
"Lead (100-PACK)": ["The main currency of the classroom.", 4, 90, "https://the-bruno-store.github.io/v1.1.0/items/lead.html?pack=100"],
"Pencils (1-PACK)": ["WARNING: Not the mechanical pencil.", 1, 0 /* Two values for cents and dollars for proper formatting. */, "https://the-bruno-store.github.io/v1.1.0/items/pencils.html?pack=1"],
"Pencils (5-PACK)": ["A regular HB pencil, multiplied by 5.", 5, 0, "https://the-bruno-store.github.io/v1.1.0/items/pencils.html?pack=5"],
"Pencils (10-PACK)": ["A regular HB pencil, multiplied by 10.", 10, 0, "https://the-bruno-store.github.io/v1.1.0/items/pencils.html?pack=10"],
"Pencils (25-PACK)": ["Pencils galore!", 20, 0, "https://the-bruno-store.github.io/v1.1.0/items/pencils.html?pack=25"],
"Pencils (100-PACK)": ["Pencils galore!", 80, 0, "https://the-bruno-store.github.io/v1.1.0/items/pencils.html?pack=100"],
"Acetone-Free Nail Polish Remover (SMALL)": ["Without acetone, it is 100% less toxic!", 1, 00, "https://the-bruno-store.github.io/v1.1.0/items/acetone-free-nail-polish-remover.html?size=1"],
"Acetone-Free Nail Polish Remover (MEDIUM)": ["Some giants use this.", 7, 50, "https://the-bruno-store.github.io/v1.1.0/items/acetone-free-nail-polish-remover.html?size=2"],
"Acetone-Free Nail Polish Remover (LARGE)": ["Some art teachers use this.", 15, 00, "https://the-bruno-store.github.io/v1.1.0/items/acetone-free-nail-polish-remover.html?size=3"],
"Edible Glue (SMALL)": ["100% edible and transparent! No flavor!", 0, 50, "https://the-bruno-store.github.io/v1.1.0/items/edible-glue.html?size=1"],
"Edible Glue (MEDIUM)": ["100% edible and transparent! No flavor!", 3, 75, "https://the-bruno-store.github.io/v1.1.0/items/edible-glue.html?size=2"],
"Edible Glue (LARGE)": ["100% edible and transparent! No flavor!", 7, 50, "https://the-bruno-store.github.io/v1.1.0/items/edible-glue.html?size=3"],
"Ant Farm (w. 1 Ant)": ["Why one ant? It can't do anything except eat!", 4, 99, "https://the-bruno-store.github.io/v1.1.0/items/ant-farm.html?ants=1"],
"Ant Farm (w. 5 Ants)": ["Five ants are better because you can have a queen ant!", 5, 09, "https://the-bruno-store.github.io/v1.1.0/items/ant-farm.html?ants=5"],
"Ant Farm (w. 10 Ants)": ["Ten ants, because I am ten as of 2023!", 5, 19, "https://the-bruno-store.github.io/v1.1.0/items/ant-farm.html?ants=10"],
"Ant Farm (w. 25 Ants)": ["You can have two queens with this! Probably not that good for the ants...", 5, 49, "https://the-bruno-store.github.io/v1.1.0/items/ant-farm.html?ants=25"],
"Ant Farm (w. 100 Ants)": ["Ten queens for the ultimate battle royale!", 6, 99, "https://the-bruno-store.github.io/v1.1.0/items/ant-farm.html?ants=100"],
"Ultra-Purified Water (1-PACK)": ["99.9999999999% free of bacteria! (Until the time you open the cap.)", 1, 0, "https://the-bruno-store.github.io/v1.1.0/items/ultra-purified-water.html?size=1"],
"Ultra-Purified Water (6-PACK)": ["Comes with a sleek 6-pack ring holder! (Remember <b>NOT</b> to put it in the ocean.)", 6, 0, "https://the-bruno-store.github.io/v1.1.0/items/ultra-purified-water.html?size=6"],
"Ultra-Purified Water (12-PACK)": ["Comes with a sleek 12-pack waterdegradable ring holder! Can waterdegrade in 10 seconds!", 11, 50, "https://the-bruno-store.github.io/v1.1.0/items/ultra-purified-water.html?size=12"],
"One 2-in-1 Water <b>F</b><u>oiler</u> (<b>F</b>ilter & B<u>oiler</u>)": ["After you filter the water, boil it and \"When I get all steamed up, hear me shout: 'Tip me over and pour me out!'\" (from My Little Teapot)", 10, 0, "https://the-bruno-store.github.io/v1.1.0/items/2-in-1-water-foiler.html?size=1"],
"Three 2-in-1 Water <b>F</b><u>oiler</u> (<b>F</b>ilter & B<u>oiler</u>)": ["You'll have three foilers saying: \"Tip me over and pour me out!\", but at least it comes with a sleek 3-pack ring holder. As always, <b>NOT</b> waterdegradable.", 30, 00, "https://the-bruno-store.github.io/v1.1.0/items/2-in-1-water-foiler.html?size=12"]
}
let html = ""
for (const book in bookData) {
Expand Down
58 changes: 58 additions & 0 deletions v1.1.0/items/2-in-1-water-foiler.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>2-in-1 Water Foiler</title>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-KK94CHFLLe+nY2dmCWGMq91rCGa5gtU4mk92HdvYe+M/SXH301p5ILy+dN9+nJOZ" crossorigin="anonymous">
<link href="https://the-bruno-store.github.io/v1.1.0/favicon.ico" rel="icon" type="image/x-icon">
</head>
<body>
<nav id="navbar-example" class="navbar navbar-light bg-light px-3 sticky-top" data-bs-offset="0">
<h1><a class="navbar-brand" href="#">The Bruno Store</a></h1>
<ul class="nav nav-pills">
<li class="nav-item">
<a class="nav-link" href="https://brunozhon.github.io">Bruno Zhong's Website</a>
</li>
<!--
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle" data-bs-toggle="dropdown" href="#" role="button" aria-expanded="false">Dropdown</a>
<ul class="dropdown-menu">
<li><a class="dropdown-item" href="#the-history-of-my-website-2841">The History of My Website</a></li>
<li><a class="dropdown-item" href="#resources-0213">Resources</a></li>
</ul>
</li>
-->
<li class="nav-item">
<form class="d-flex">
<input class="form-control me-2" type="search" placeholder="Search my website..." aria-label="Search" name="search_query">
<button class="btn btn-outline-success" type="submit">Search</button>
</form>
</li>
</ul>
</nav>
<audio controls loop>
<source src="https://the-bruno-store.github.io/v1.1.0/The%20Bruno%20Store.wav">
<source src="https://the-bruno-store.github.io/v1.1.0/The%20Bruno%20Store.aiff">
The Song cannot be played.
</audio>
<h1>2-in-1 Water <b>F</b><u>oiler</u> (<b>F</b>ilter & B<u>oiler</u>)</h1>
<p>Cost: <span id="cost"></span></p>
<a href="https://the-bruno-store.github.io/cart.html">Check Out</a>
<script>
var params = new URLSearchParams(location.search)
var a = document.querySelectorAll("a")[2]
var cost = document.getElementById("cost")
if (params.get("size") == "1") {
cost.innerHTML = "$10.00"
a.href = "https://the-bruno-store.github.io/v1.1.0/cart.html?cart=foiler-1"
} else if (params.get("size") == "3") {
cost.innerHTML = "$30.00"
a.href = "https://the-bruno-store.github.io/v1.1.0/cart.html?cart=foiler-3"
} else {
cost.innerHTML = "There was an error getting the data, so you should panic."
}
</script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha3/dist/js/bootstrap.bundle.min.js" integrity="sha384-ENjdO4Dr2bkBIFxQpeoTz1HIcje39Wm4jDKdf19U8gI4ddQ3GYNS7NTKfAdVQSZe" crossorigin="anonymous"></script>
</body>
</html>
38 changes: 38 additions & 0 deletions v1.1.0/items/acetone-free-nail-polish-remover.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Acetone-Free Nail Polish Remover</title>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-KK94CHFLLe+nY2dmCWGMq91rCGa5gtU4mk92HdvYe+M/SXH301p5ILy+dN9+nJOZ" crossorigin="anonymous">
<link href="https://the-bruno-store.github.io/v1.1.0/favicon.ico" rel="icon" type="image/x-icon">
</head>
<body>
<audio controls loop>
<source src="https://the-bruno-store.github.io/v1.1.0/The%20Bruno%20Store.wav">
<source src="https://the-bruno-store.github.io/v1.1.0/The%20Bruno%20Store.aiff">
The Song cannot be played.
</audio>
<h1>Acetone-Free Nail Polish Remover</h1>
<p>Cost: <span id="cost"></span></p>
<a href="https://the-bruno-store.github.io/v1.1.0/cart.html">Check Out</a>
<script>
var params = new URLSearchParams(location.search)
var a = document.querySelectorAll("a")[2]
var cost = document.getElementById("cost")
if (params.get("size") == "1") {
cost.innerHTML = "$1"
a.href = "https://the-bruno-store.github.io/v1.1.0/cart.html?cart=afnpr-small"
} else if (params.get("size") == "2") {
cost.innerHTML = "$7.50"
a.href = "https://the-bruno-store.github.io/v1.1.0/cart.html?cart=afnpr-medium"
} else if (params.get("size") == "3") {
cost.innerHTML = "$15"
a.href = "https://the-bruno-store.github.io/v1.1.0/cart.html?cart=afnpr-large"
} else {
cost.innerHTML = "There was an error getting the data, so you should panic."
}
</script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha3/dist/js/bootstrap.bundle.min.js" integrity="sha384-ENjdO4Dr2bkBIFxQpeoTz1HIcje39Wm4jDKdf19U8gI4ddQ3GYNS7NTKfAdVQSZe" crossorigin="anonymous"></script>
</body>
</html>
Loading

0 comments on commit db4a894

Please sign in to comment.