inital commit
This commit is contained in:
parent
82b0c8b0b0
commit
80126d1b36
BIN
assets/logo/BeachPartyBalloons-logo.png
Normal file
BIN
assets/logo/BeachPartyBalloons-logo.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 83 KiB |
BIN
assets/pics/classic/20240825_104716.webp
Normal file
BIN
assets/pics/classic/20240825_104716.webp
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.2 MiB |
71
index.html
Normal file
71
index.html
Normal file
@ -0,0 +1,71 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
<title>Beach Party Balloons</title>
|
||||||
|
<link
|
||||||
|
rel="stylesheet"
|
||||||
|
href="https://cdn.jsdelivr.net/npm/bulma@1.0.2/css/bulma.min.css"
|
||||||
|
>
|
||||||
|
<link rel="stylesheet" href="style.css">
|
||||||
|
<script defer src="script.js"></script>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<nav class="navbar" role="navigation" aria-label="main navigation">
|
||||||
|
<div class="navbar-brand">
|
||||||
|
<a class="navbar-item is-large" href="index.html">
|
||||||
|
<img src="assets/logo/BeachPartyBalloons-logo.png" alt="Beach Party Balloons logo">
|
||||||
|
</a>
|
||||||
|
|
||||||
|
<a role="button" class="navbar-burger" aria-label="menu" aria-expanded="false" data-target="navbarBasicExample">
|
||||||
|
<span aria-hidden="true"></span>
|
||||||
|
<span aria-hidden="true"></span>
|
||||||
|
<span aria-hidden="true"></span>
|
||||||
|
<span aria-hidden="true"></span>
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div id="navbarBasicExample" class="navbar-menu">
|
||||||
|
<div class="navbar-start">
|
||||||
|
<a class="navbar-item" href="index.html">
|
||||||
|
Home
|
||||||
|
</a>
|
||||||
|
|
||||||
|
<a class="navbar-item" href="about/index.html">
|
||||||
|
About Us
|
||||||
|
</a>
|
||||||
|
|
||||||
|
<!-- <div class="navbar-item "> -->
|
||||||
|
<a class="navbar-item" href="gallery/index.html">
|
||||||
|
Gallery
|
||||||
|
</a>
|
||||||
|
|
||||||
|
<!-- <div class="navbar-dropdown"> -->
|
||||||
|
<a class="navbar-item" href="contact/index.html">
|
||||||
|
Contact
|
||||||
|
</a>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="navbar-end">
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</nav>
|
||||||
|
<header class="container is-fluid">
|
||||||
|
<img
|
||||||
|
src="assets/pics/classic/20240825_104716.webp"
|
||||||
|
alt="Classic Arch with bumble bees"
|
||||||
|
/>
|
||||||
|
<div class="centerimg">
|
||||||
|
<img src="assets/logo/BeachPartyBalloons-logo.png" alt="logo">
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</header>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
21
script.js
Normal file
21
script.js
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
document.addEventListener('DOMContentLoaded', () => {
|
||||||
|
|
||||||
|
// Get all "navbar-burger" elements
|
||||||
|
const $navbarBurgers = Array.prototype.slice.call(document.querySelectorAll('.navbar-burger'), 0);
|
||||||
|
|
||||||
|
// Add a click event on each of them
|
||||||
|
$navbarBurgers.forEach( el => {
|
||||||
|
el.addEventListener('click', () => {
|
||||||
|
|
||||||
|
// Get the target from the "data-target" attribute
|
||||||
|
const target = el.dataset.target;
|
||||||
|
const $target = document.getElementById(target);
|
||||||
|
|
||||||
|
// Toggle the "is-active" class on both the "navbar-burger" and the "navbar-menu"
|
||||||
|
el.classList.toggle('is-active');
|
||||||
|
$target.classList.toggle('is-active');
|
||||||
|
|
||||||
|
});
|
||||||
|
});
|
||||||
|
|
||||||
|
});
|
||||||
24
style.css
Normal file
24
style.css
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
:root {
|
||||||
|
--bulma-primary-h: 197deg;
|
||||||
|
--bulma-primary-l: 47%;
|
||||||
|
--bulma-info-h: 175deg;
|
||||||
|
--bulma-info-s: 88%;
|
||||||
|
--bulma-info-l: 42%;
|
||||||
|
}
|
||||||
|
html{
|
||||||
|
background-color:antiquewhite
|
||||||
|
}
|
||||||
|
|
||||||
|
header{
|
||||||
|
position: relative;
|
||||||
|
text-align: center;
|
||||||
|
color: antiquewhite;
|
||||||
|
}
|
||||||
|
|
||||||
|
.centerimg {
|
||||||
|
position: absolute;
|
||||||
|
top: 50%;
|
||||||
|
left: 50%;
|
||||||
|
transform: translate(-50%, -50%);
|
||||||
|
font-size: 4em;
|
||||||
|
}
|
||||||
Loading…
x
Reference in New Issue
Block a user