Compare commits
No commits in common. "608698ce584a7606e8faec3767783be8b2bbbf5d" and "aa4ac7706a64269cbfc00c0729056b5b46bc29a5" have entirely different histories.
608698ce58
...
aa4ac7706a
@ -4,7 +4,7 @@ const things = {
|
|||||||
description: "an open source Navidrome client written in Swift",
|
description: "an open source Navidrome client written in Swift",
|
||||||
logo: "/assets/img/flo.png",
|
logo: "/assets/img/flo.png",
|
||||||
ctaTitle: "Try flo",
|
ctaTitle: "Try flo",
|
||||||
ctaLink: "https://client.flooo.club"
|
ctaLink: "/flo/"
|
||||||
}],
|
}],
|
||||||
runs: [
|
runs: [
|
||||||
{
|
{
|
||||||
|
@ -4,7 +4,6 @@
|
|||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
<meta http-equiv="X-UA-Compatible" content="ie=edge">
|
<meta http-equiv="X-UA-Compatible" content="ie=edge">
|
||||||
<meta http-equiv="refresh" content="0; URL=https://client.flooo.club" />
|
|
||||||
|
|
||||||
<title>flo</title>
|
<title>flo</title>
|
||||||
|
|
||||||
|
@ -91,7 +91,7 @@ layout: layouts/flo
|
|||||||
|
|
||||||
<div class="c-faq__section">
|
<div class="c-faq__section">
|
||||||
<h5>Any tutorial on running a Navidrome server?</h5>
|
<h5>Any tutorial on running a Navidrome server?</h5>
|
||||||
<p>Great! I wrote one <a target="_blank" rel="noopener norefer" href="https://dub.sh/flo-navidrome">here.</a></p>
|
<p>Great! I wrote one here.</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="c-faq__section">
|
<div class="c-faq__section">
|
||||||
@ -120,7 +120,7 @@ layout: layouts/flo
|
|||||||
<h2>Join the waitlist</h2>
|
<h2>Join the waitlist</h2>
|
||||||
<p>Currently flo is in early preview and we'll let you know when we're on the App Store.</p>
|
<p>Currently flo is in early preview and we'll let you know when we're on the App Store.</p>
|
||||||
<input id="email" type="email" placeholder="john@doe.com" required>
|
<input id="email" type="email" placeholder="john@doe.com" required>
|
||||||
<button id="submit">Submit</button>
|
<button id="submit"">Submit</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@ -135,36 +135,22 @@ const submitButton = document.getElementById('submit')
|
|||||||
|
|
||||||
openModal.onclick = function() {
|
openModal.onclick = function() {
|
||||||
modal.style.display = 'block'
|
modal.style.display = 'block'
|
||||||
|
|
||||||
setTimeout(function() {
|
|
||||||
emailForm.focus()
|
|
||||||
}, 66)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
openModal2.onclick = function() {
|
openModal2.onclick = function() {
|
||||||
modal.style.display = 'block'
|
modal.style.display = 'block'
|
||||||
|
|
||||||
setTimeout(function() {
|
|
||||||
emailForm.focus()
|
|
||||||
}, 66)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
closeModal.onclick = function() {
|
closeModal.onclick = function() {
|
||||||
modal.style.display = 'none'
|
modal.style.display = 'none'
|
||||||
}
|
}
|
||||||
|
|
||||||
document.onclick = function () {
|
window.onclick = function () {
|
||||||
if (event.target === modal) {
|
if (event.target === modal) {
|
||||||
modal.style.display = 'none'
|
modal.style.display = 'none'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
document.addEventListener('keydown', function(e) {
|
|
||||||
if (e.key === 'Escape' || e.keyCode === 27) {
|
|
||||||
modal.style.display = 'none'
|
|
||||||
}
|
|
||||||
})
|
|
||||||
|
|
||||||
submitButton.onclick = function() {
|
submitButton.onclick = function() {
|
||||||
if (!emailForm.value.match(/^[^\s@]+@[^\s@]+\.[^\s@]+$/)) {
|
if (!emailForm.value.match(/^[^\s@]+@[^\s@]+\.[^\s@]+$/)) {
|
||||||
window.alert("email doesnt seem valid")
|
window.alert("email doesnt seem valid")
|
||||||
|
Loading…
Reference in New Issue
Block a user