-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Deploy Quotes webpage to the quote directory
- Loading branch information
github-actions
committed
Dec 15, 2024
1 parent
1417a18
commit fc9f7fb
Showing
4 changed files
with
4 additions
and
95 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,95 +1 @@ | ||
<!doctype html> | ||
<html class="no-js" lang="en"> | ||
|
||
<head> | ||
<meta charset="utf-8"> | ||
<meta http-equiv="x-ua-compatible" content="ie=edge"> | ||
<title>Daily Quotes</title> | ||
<meta name="viewport" content="width=device-width, initial-scale=1"> | ||
<meta name="keywords" content="quotes" /> | ||
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.4.1/css/all.css" | ||
integrity="sha384-5sAR7xN1Nv6T6+dT2mhtzEpVJvfS3NScPQTrOxhwjIuvcA67KV2R5Jz6kr4abQsz" crossorigin="anonymous"> | ||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/css/bulma.min.css" /> | ||
<link rel="stylesheet" type="text/css" href="../css/personal.css"> | ||
<link rel="stylesheet" href="style.css"> | ||
</head> | ||
<body> | ||
<nav class="navbar is-fixed-top"> | ||
<div class="navbar-brand"> | ||
<div class="navbar-burger burger" data-target="navbarMenu"> | ||
<span></span> | ||
<span></span> | ||
<span></span> | ||
</div> | ||
</div> | ||
|
||
<div id="navbarMenu" class="navbar-menu"> | ||
<div class="navbar-end"> | ||
<div class="tabs is-right"> | ||
<ul> | ||
<li class="navbar-item"><button class="button is-info is-dark is-small" id="StoicQuote" disabled onclick="javascript:displayStoicQuote()">Stoic</button></li> | ||
<li class="navbar-item"><button class="button is-info is-dark is-small" id="langRu" disabled onclick="javascript:displayQuote('ru')">ru</button></li> | ||
<li class="navbar-item"><button class="button is-info is-dark is-small" id="langEn" disabled onclick="javascript:displayQuote('en')">en</button></li> | ||
</ul> | ||
</div> | ||
</div> | ||
</div> | ||
</nav> | ||
<section class="section"> | ||
<div class="container" id="regular" style="display:block;"> | ||
<h1 class="title">Quote of the Day</h1> | ||
|
||
<div class="quote-box"> | ||
<p id="quote-text" class="quote"></p> | ||
<p id="quote-author" class="author"></p> | ||
</div> | ||
</div> | ||
<div class="container" id="notFound" style="display:none;"> | ||
|
||
<div class="columns is-centered"> | ||
<div class="column is-half"> | ||
<div class="card"> | ||
<div class="card-content | ||
has-text-centered"> | ||
<p class="title is-4">404 Not Found</p> | ||
<p class="subtitle">The page you are looking for does not exist.</p> | ||
<p id="langContext"></p> | ||
<a href="/" class="button is-primary">Go Home</a> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</section> | ||
<!-- Footer --> | ||
<footer class="footer"> | ||
<div class="section-heading"> | ||
<p id="footer"> | ||
<strong>Poplauki</strong> by <a href="https://wirtaw.github.io">Vladimir Poplavskij</a>. | ||
</p> | ||
</div> | ||
</footer> | ||
<script src="script.js"></script> | ||
<script src="../js/cookieConsent.js"></script> | ||
<script> | ||
(function() { | ||
const footer = document.getElementById('footer'); | ||
if ('undefined' !== typeof footer) { | ||
const date = new Date(); | ||
footer.innerHTML = '© Poplauki <a href="https://wirtaw.github.io/">Vladimir Poplavskij</a> ' + date.getFullYear() + '.'; | ||
} | ||
const langContext = document.getElementById('langContext'); | ||
if ('undefined' !== typeof langContext) { | ||
langContext.innerHTML = `${navigator.languages.join(';').toString()}`; | ||
} | ||
|
||
const burger = document.querySelector('.burger'); | ||
const menu = document.querySelector('#'+burger.dataset.target); | ||
burger.addEventListener('click', function() { | ||
burger.classList.toggle('is-active'); | ||
menu.classList.toggle('is-active'); | ||
}); | ||
}()); | ||
</script> | ||
</body> | ||
</html> | ||
<!doctype html><html class="no-js" lang="en"><head><meta charset="utf-8"><meta http-equiv="x-ua-compatible" content="ie=edge"><title>Daily Quotes</title><meta name="viewport" content="width=device-width,initial-scale=1"><meta name="keywords" content="quotes"><link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.4.1/css/all.css" integrity="sha384-5sAR7xN1Nv6T6+dT2mhtzEpVJvfS3NScPQTrOxhwjIuvcA67KV2R5Jz6kr4abQsz" crossorigin="anonymous"><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/css/bulma.min.css"><link rel="stylesheet" type="text/css" href="./css/style.min.css"></head><body><nav class="navbar is-fixed-top"><div class="navbar-brand"><div class="navbar-burger burger" data-target="navbarMenu"><span></span> <span></span> <span></span></div></div><div id="navbarMenu" class="navbar-menu"><div class="navbar-end"><div class="tabs is-right"><ul><li class="navbar-item"><button class="button is-info is-dark is-small" id="StoicQuote" disabled="disabled" onclick="displayStoicQuote()">Stoic</button></li><li class="navbar-item"><button class="button is-info is-dark is-small" id="langRu" disabled="disabled" onclick='displayQuote("ru")'>ru</button></li><li class="navbar-item"><button class="button is-info is-dark is-small" id="langEn" disabled="disabled" onclick='displayQuote("en")'>en</button></li></ul></div></div></div></nav><section class="section"><div class="container" id="regular" style="display:block"><h1 class="title">Quote of the Day</h1><div class="quote-box"><p id="quote-text" class="quote"></p><p id="quote-author" class="author"></p></div></div><div class="container" id="notFound" style="display:none"><div class="columns is-centered"><div class="column is-half"><div class="card"><div class="card-content has-text-centered"><p class="title is-4">404 Not Found</p><p class="subtitle">The page you are looking for does not exist.</p><p id="langContext"></p><a href="/" class="button is-primary">Go Home</a></div></div></div></div></div></section><footer class="footer"><div class="section-heading"><p id="footer"><strong>Poplauki</strong> by <a href="https://wirtaw.github.io">Vladimir Poplavskij</a>.</p></div></footer><script src="./js/script.min.js"></script><script>(()=>{var e,t=document.getElementById("footer");void 0!==t&&(e=new Date,t.innerHTML='© Poplauki <a href="https://wirtaw.github.io/">Vladimir Poplavskij</a> '+e.getFullYear()+"."),void 0!==(t=document.getElementById("langContext"))&&(t.innerHTML=""+navigator.languages.join(";").toString());let i=document.querySelector(".burger"),a=document.querySelector("#"+i.dataset.target);i.addEventListener("click",function(){i.classList.toggle("is-active"),a.classList.toggle("is-active")})})()</script></body></html> |
Large diffs are not rendered by default.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.