58 lines
2.5 KiB
HTML
58 lines
2.5 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en" data-theme="dark">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>OurWorld</title>
|
|
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@picocss/pico@2.0.6/css/pico.min.css">
|
|
<link rel="stylesheet" href="styles.css">
|
|
<script defer src="https://unpkg.com/alpinejs@3.x.x/dist/cdn.min.js"></script>
|
|
<script defer src="script.js"></script>
|
|
</head>
|
|
<body>
|
|
<div x-data="navigation">
|
|
<div class="nav-container">
|
|
<nav>
|
|
<a href="#" class="logo">OURWORLD</a>
|
|
<div class="nav-links">
|
|
<div class="nav-item" @click="toggleSubmenu('about')" @click.away="menuStates.about = false">
|
|
About
|
|
<div class="submenu" :class="{ 'active': menuStates.about }">
|
|
<a href="#our-story">Our Story</a>
|
|
<a href="#mission">Mission</a>
|
|
<a href="#team">Team</a>
|
|
</div>
|
|
</div>
|
|
<div class="nav-item" @click="toggleSubmenu('work')" @click.away="menuStates.work = false">
|
|
Projects
|
|
<div class="submenu" :class="{ 'active': menuStates.work }">
|
|
<a href="#projects">Projects</a>
|
|
<a href="#case-studies">Case Studies</a>
|
|
<a href="#impact">Impact</a>
|
|
</div>
|
|
</div>
|
|
<div class="nav-item" @click="toggleSubmenu('contact')" @click.away="menuStates.contact = false">
|
|
Contact
|
|
<div class="submenu" :class="{ 'active': menuStates.contact }">
|
|
<a href="#get-in-touch">Get in Touch</a>
|
|
<a href="#locations">Locations</a>
|
|
<a href="#careers">Join us.</a>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</nav>
|
|
</div>
|
|
</div>
|
|
|
|
<div x-data="mainApp">
|
|
<section class="hero">
|
|
<img :src="images[currentImageIndex]?.url" :alt="images[currentImageIndex]?.alt">
|
|
<div class="hero-content">
|
|
<h1>We Are <br>The Crazy Ones</h1>
|
|
<p class="lead">The ones called crazy are the only ones truly sane in a world gone mad...</p>
|
|
</div>
|
|
</section>
|
|
</div>
|
|
</body>
|
|
</html>
|