mirror of
https://github.com/miggymofongo/asteroid.git
synced 2024-12-26 01:29:42 +00:00
242 lines
6.9 KiB
HTML
242 lines
6.9 KiB
HTML
|
<!doctype html>
|
||
|
<html lang="en">
|
||
|
<head>
|
||
|
<meta charset="UTF-8" />
|
||
|
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||
|
<title>Miguel's Rincon </title>
|
||
|
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-T3c6CoIi6uLrA9TneNEoa7RxnatzjcDSCmG1MXxSR1GAsXEV/Dwwykc2MPK8M2HN" crossorigin="anonymous">
|
||
|
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/js/bootstrap.bundle.min.js" integrity="sha384-C6RzsynM9kWDrMNeT87bh95OGNyZPhcTNXj1NW7RuBCsyN/o0jlpcV8Qyq46cDfL" crossorigin="anonymous"></script>
|
||
|
<script src="https://unpkg.com/htmx.org"></script>
|
||
|
|
||
|
<style>
|
||
|
.quote-banner {
|
||
|
/* Your styling for the banner */
|
||
|
padding: 10px;
|
||
|
text-decoration: blue;
|
||
|
font-weight: bold;
|
||
|
background-color: #a88a8a;
|
||
|
text-align: center;
|
||
|
/* other styles as needed */
|
||
|
}
|
||
|
|
||
|
body {
|
||
|
font-family: Arial, sans-serif;
|
||
|
margin: 0;
|
||
|
padding: 0;
|
||
|
background-color: #f5f5f5;
|
||
|
}
|
||
|
|
||
|
header {
|
||
|
background-color: #333;
|
||
|
color: white;
|
||
|
text-align: center;
|
||
|
padding: 20px;
|
||
|
position: sticky;
|
||
|
top: 0;
|
||
|
z-index: 100;
|
||
|
}
|
||
|
|
||
|
.navbar {
|
||
|
background-color: #333;
|
||
|
overflow: hidden;
|
||
|
}
|
||
|
|
||
|
.navbar a {
|
||
|
float: left;
|
||
|
display: block;
|
||
|
color: white;
|
||
|
text-align: center;
|
||
|
padding: 14px 16px;
|
||
|
text-decoration: none;
|
||
|
}
|
||
|
|
||
|
.navbar a:hover {
|
||
|
background-color: #ddd;
|
||
|
color: black;
|
||
|
}
|
||
|
|
||
|
.container {
|
||
|
max-width: 1200px;
|
||
|
margin: 0 auto;
|
||
|
padding: 20px;
|
||
|
background-color: #fff;
|
||
|
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
|
||
|
}
|
||
|
|
||
|
h1 {
|
||
|
font-size: 36px;
|
||
|
}
|
||
|
|
||
|
p {
|
||
|
font-size: 18px;
|
||
|
line-height: 1.5;
|
||
|
}
|
||
|
|
||
|
footer {
|
||
|
background-color: #333;
|
||
|
color: white;
|
||
|
text-align: center;
|
||
|
padding: 10px;
|
||
|
}
|
||
|
|
||
|
|
||
|
</style>
|
||
|
|
||
|
</head>
|
||
|
|
||
|
|
||
|
|
||
|
<body>
|
||
|
|
||
|
|
||
|
<nav class="navbar navbar-expand-lg bg-body-tertiary">
|
||
|
<div class="container-fluid" style="background-color: bisque;">
|
||
|
<a class="navbar-brand" href="#">El asteroide de Miguel</a>
|
||
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarScroll" aria-controls="navbarScroll" aria-expanded="false" aria-label="Toggle navigation">
|
||
|
<span class="navbar-toggler-icon"></span>
|
||
|
</button>
|
||
|
<div class="collapse navbar-collapse" id="navbarScroll">
|
||
|
<ul class="navbar-nav me-auto my-2 my-lg-0 navbar-nav-scroll" style="--bs-scroll-height: 100px;">
|
||
|
<li class="nav-item">
|
||
|
<a class="nav-link active" aria-current="page" href="#">Home</a>
|
||
|
</li>
|
||
|
<li class="nav-item">
|
||
|
<a class="nav-link" href="#">Reader</a>
|
||
|
</li>
|
||
|
<li class="nav-item dropdown">
|
||
|
<a class="nav-link dropdown-toggle" href="#" role="button" data-bs-toggle="dropdown" aria-expanded="false">
|
||
|
Download a Resume
|
||
|
</a>
|
||
|
<ul class="dropdown-menu">
|
||
|
<li><a class="dropdown-item" href="#">Public Interest</a></li>
|
||
|
<li><hr class="dropdown-divider"></li>
|
||
|
<li><a class="dropdown-item" href="#">Hospitality</a></li>
|
||
|
</ul>
|
||
|
</li>
|
||
|
<li class="nav-item">
|
||
|
<a class="nav-link disabled" aria-disabled="true">Portfolio</a>
|
||
|
</li>
|
||
|
</ul>
|
||
|
<!-- implement a search here for book reader -->
|
||
|
<form class="d-flex" role="search">
|
||
|
<input type="text"
|
||
|
hx-get="/search"
|
||
|
hx-params="searchQuery:val"
|
||
|
hx-trigger="keyup delay:300ms"
|
||
|
hx-target="#resultsContainer"
|
||
|
placeholder="Search for EPUBs...">
|
||
|
<button class="btn btn-outline-success" type="submit">Search</button>
|
||
|
</form>
|
||
|
</div>
|
||
|
</div>
|
||
|
</nav>
|
||
|
|
||
|
|
||
|
<div class="navbar">
|
||
|
<a href="#">Home</a>
|
||
|
<a href="#">About</a>
|
||
|
<a href="#">Services</a>
|
||
|
<a href="#">Contact</a>
|
||
|
</div>
|
||
|
<section class="hero">
|
||
|
<h2>Welcome to Your Website</h2>
|
||
|
<p>Your message or call to action goes here.</p>
|
||
|
</section>
|
||
|
<div class="container">
|
||
|
<h2>About Us</h2>
|
||
|
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam eget dui in quam tincidunt malesuada. Vestibulum euismod urna a odio vulputate, ut cursus elit rhoncus.</p>
|
||
|
</div>
|
||
|
|
||
|
|
||
|
<section>
|
||
|
<div class="container">
|
||
|
<div class="row">
|
||
|
<div class="container mt-3">
|
||
|
<h2>¡Soy Miguel!</h2>
|
||
|
<div class="card" style="width:400px">
|
||
|
<img class="card-img-top" src="/img/headshot.jpg" alt="miguel headshot" style="width:100%">
|
||
|
<div class="card-body">
|
||
|
<h4 class="card-title">Miguel Almodovar</h4>
|
||
|
<p class="card-text">Miguel es un profesional comunicatorio que esta aprendiendo como programar</p>
|
||
|
<a href="https://miguelalmodo.com/about" class="btn btn-primary">See Main Bio</a>
|
||
|
</div>
|
||
|
</div>
|
||
|
<br>
|
||
|
</div></div></div>
|
||
|
</section>
|
||
|
<section>
|
||
|
<div class="container-fluid">
|
||
|
<!-- In your HTML file -->
|
||
|
<div id="quoteBanner" class="quote-banner">Quote goes here</div>
|
||
|
</div>
|
||
|
|
||
|
|
||
|
|
||
|
<script>
|
||
|
document.addEventListener('DOMContentLoaded', function() {
|
||
|
fetch('quotes.json')
|
||
|
.then(response => response.json())
|
||
|
.then(quotes => {
|
||
|
let currentQuoteIndex = 0;
|
||
|
const quoteBanner = document.getElementById('quoteBanner');
|
||
|
|
||
|
// Function to update quote
|
||
|
function updateQuote() {
|
||
|
quoteBanner.textContent = quotes[currentQuoteIndex++];
|
||
|
if (currentQuoteIndex >= quotes.length) currentQuoteIndex = 0;
|
||
|
}
|
||
|
|
||
|
// Set initial quote and update every 10 seconds
|
||
|
updateQuote();
|
||
|
setInterval(updateQuote, 10000);
|
||
|
});
|
||
|
});
|
||
|
</script>
|
||
|
|
||
|
</section>
|
||
|
|
||
|
|
||
|
|
||
|
<section>
|
||
|
|
||
|
<div class="container">
|
||
|
<p>Aqui puedes completar tareas sobre la ciencia politica y varias otras temas</p>
|
||
|
</div>
|
||
|
</section>
|
||
|
|
||
|
|
||
|
<section>
|
||
|
<!-- search results -->
|
||
|
<div id="resultsContainer"></div>
|
||
|
<!-- search results -->
|
||
|
</section>
|
||
|
|
||
|
<section>
|
||
|
<div class="container">
|
||
|
|
||
|
<a href="https://migs.uber.space/reader/index.html" data-bibi="embed" data-bibi-style="[[ CSS for embeded Bibi frame, as you like ]]">[[ Title of the Book ]]</a>
|
||
|
<script src="/reader/resources/scripts/bibi.js"></script>
|
||
|
|
||
|
<iframe id="bibi-frame" src="/reader/index.html" width="100%" height="600px" frameborder="0"></iframe>
|
||
|
<script>
|
||
|
function loadEpubInBibi(epubUrl) {
|
||
|
document.getElementById('bibi-frame').src = "reader/?book=" + epubUrl;
|
||
|
}
|
||
|
|
||
|
</script>
|
||
|
|
||
|
</div>
|
||
|
|
||
|
|
||
|
</section>
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/js/bootstrap.bundle.min.js" integrity="sha384-C6RzsynM9kWDrMNeT87bh95OGNyZPhcTNXj1NW7RuBCsyN/o0jlpcV8Qyq46cDfL" crossorigin="anonymous"></script>
|
||
|
|
||
|
|
||
|
</body>
|
||
|
</html>
|