-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5 from giannistolou/dev
Dev to main
- Loading branch information
Showing
22 changed files
with
284 additions
and
56 deletions.
There are no files selected for viewing
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
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
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
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
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
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 |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<html> | ||
<head> | ||
{% load static %} {% include "commonHead.html" %} | ||
<link rel="stylesheet" href="{% static 'style/page404.css' %}" /> | ||
<title>404 error</title> | ||
<link rel="stylesheet" href="{% static 'style/cafes.css' %}" /> | ||
<script src="{% static 'bundle.js' %}" async></script> | ||
</head> | ||
|
||
<body> | ||
{% include "header.html" %} | ||
<main class="mdc-top-app-bar--fixed-adjust"> | ||
<div class="page404"> | ||
<h1>404</h1> | ||
<p>Η σελίδα δεν βρέθηκε</p> | ||
<a href="/" class="mdc-button mdc-button--raised">Αρχική</a> | ||
</div> | ||
</main> | ||
</body> | ||
</html> |
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,19 +1,8 @@ | ||
<html> | ||
<head> | ||
{% load static %} | ||
<meta charset="UTF-8" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
{% load static %} {% include "commonHead.html" %} | ||
<title>{{cafe.name}}</title> | ||
<link rel="stylesheet" href="{% static 'style/cafe.css' %}" /> | ||
<link rel="preconnect" href="https://fonts.googleapis.com" /> | ||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin /> | ||
<link | ||
href="https://fonts.googleapis.com/css2?family=Roboto&display=swap" | ||
rel="stylesheet" | ||
/> | ||
<link | ||
rel="stylesheet" | ||
href="https://fonts.googleapis.com/css2?family=Material+Symbols+Sharp:opsz,wght,FILL,[email protected],100..700,0..1,-50..200" | ||
/> | ||
<script src="{% static 'bundle.js' %}" async></script> | ||
</head> | ||
|
||
|
@@ -24,7 +13,7 @@ | |
<div class="imgCnt"> | ||
<h1 class="name">{{cafe.name}}</h1> | ||
<img | ||
src="/{{cafe.thumbnail}}" | ||
src="https://cafe.book-community.com/media/{{cafe.thumbnail}}" | ||
alt="thumbnail {{cafe.name}}" | ||
/> | ||
</div> | ||
|
@@ -69,5 +58,6 @@ <h1 class="name">{{cafe.name}}</h1> | |
{{cafe.description.html | safe}} | ||
</section> | ||
</main> | ||
{% include "footer.html" %} | ||
</body> | ||
</html> |
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
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,17 +1,8 @@ | ||
<html> | ||
<head> | ||
{% load static %} | ||
<meta charset="UTF-8" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
{% load static %} {% include "commonHead.html" %} | ||
<title>Βρες την καφετέρια που σου ταιριάζει</title> | ||
<link rel="stylesheet" href="{% static 'style/cafes.css' %}" /> | ||
<link | ||
href="https://fonts.googleapis.com/css2?family=Roboto&display=swap" | ||
rel="stylesheet" | ||
/> | ||
<link | ||
rel="stylesheet" | ||
href="https://fonts.googleapis.com/css2?family=Material+Symbols+Sharp:opsz,wght,FILL,[email protected],100..700,0..1,-50..200" | ||
/> | ||
<script src="{% static 'bundle.js' %}" async></script> | ||
</head> | ||
|
||
|
@@ -82,5 +73,6 @@ | |
</div> | ||
{% include "cafesList.html" %} | ||
</main> | ||
{% include "footer.html" %} | ||
</body> | ||
</html> |
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
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 |
---|---|---|
@@ -0,0 +1,23 @@ | ||
{% load static %} | ||
<meta charset="UTF-8" /> | ||
<link | ||
rel="icon" | ||
href="data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22><text y=%22.9em%22 font-size=%2290%22>📖</text></svg>" | ||
/> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
<link rel="preconnect" href="https://fonts.googleapis.com" /> | ||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin /> | ||
<link | ||
href="https://fonts.googleapis.com/css2?family=Roboto&display=swap" | ||
rel="stylesheet" | ||
/> | ||
<link | ||
rel="stylesheet" | ||
href="https://fonts.googleapis.com/css2?family=Material+Symbols+Sharp:opsz,wght,FILL,[email protected],100..700,0..1,-50..200" | ||
/> | ||
<script | ||
defer | ||
data-domain="cafe.book-community.com" | ||
src="https://plausible.io/js/plausible.js" | ||
></script> | ||
<link rel="stylesheet" href="{% static 'style/footer.css' %}" /> |
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 |
---|---|---|
@@ -0,0 +1,70 @@ | ||
<div class="cookie-banner" style="display: none"> | ||
<p> | ||
Χρησιμοποιούμε cookies για την υπηρεσία του newsletter, για περισσότερα | ||
διάβασε την | ||
<a href="https://book-community.com/privacy-policy.html" | ||
>πολιτική απορρήτου</a | ||
> | ||
</p> | ||
<div class="options"> | ||
<button class="decline" onclick="closeCookieBanner()">Απόρριψη</button> | ||
<button class="accept" onclick="acceptCookies()">Αποδοχή</button> | ||
</div> | ||
</div> | ||
|
||
<section class="newsletter"> | ||
<div class="container"> | ||
<div class="title">Κάνε εγγραφή στο newsletter μας</div> | ||
<div class="subtitle"> | ||
Για να μαθαίνεις την πορεία του project και ενδιαφέροντα θέματα γύρω | ||
από το βιβλίο! | ||
</div> | ||
|
||
<div id="newsletterProblem" style="display: none"> | ||
<p style="text-align: center"> | ||
Αποδεχτείτε τα cookies για να κάνετε εγγραφή στο newsletter | ||
</p> | ||
<button class="btnCookie" onclick="acceptCookies()"> | ||
Αποδοχή cookies | ||
</button> | ||
</div> | ||
<form class="form"> | ||
<iframe | ||
title="newsletter iframe" | ||
frameborder="0" | ||
scrolling="no" | ||
></iframe> | ||
</form> | ||
</div> | ||
</section> | ||
|
||
<script> | ||
var cookieBanner = document.querySelector(".cookie-banner"); | ||
var decline = document.querySelector(".decline"); | ||
var accept = document.querySelector(".accept"); | ||
var iframes = document.querySelectorAll("iframe"); | ||
var newsletterProblem = document.querySelector("#newsletterProblem"); | ||
|
||
if (localStorage.getItem("cookieSeen") != "shown") { | ||
cookieBanner.style.display = "flex"; | ||
newsletterProblem.style.display = "flex"; | ||
} else { | ||
acceptCookies(); | ||
} | ||
|
||
function closeCookieBanner() { | ||
cookieBanner.style.animation = "cookieHide 1s"; | ||
setTimeout(() => { | ||
cookieBanner.style.display = "none"; | ||
}, 1000); | ||
} | ||
|
||
function acceptCookies() { | ||
closeCookieBanner(); | ||
newsletterProblem.style.display = "none"; | ||
localStorage.setItem("cookieSeen", "shown"); | ||
iframes.forEach((el) => { | ||
el.src = "https://bookcommunitygr.substack.com/embed"; | ||
}); | ||
} | ||
</script> |
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
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
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,17 +1,8 @@ | ||
<html> | ||
<head> | ||
{% load static %} | ||
<meta charset="UTF-8" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
{% load static %} {% include "commonHead.html" %} | ||
<title>Βρες την βιβλιοθήκη που σου ταιριάζει</title> | ||
<link rel="stylesheet" href="{% static 'style/cafes.css' %}" /> | ||
<link | ||
href="https://fonts.googleapis.com/css2?family=Roboto&display=swap" | ||
rel="stylesheet" | ||
/> | ||
<link | ||
rel="stylesheet" | ||
href="https://fonts.googleapis.com/css2?family=Material+Symbols+Sharp:opsz,wght,FILL,[email protected],100..700,0..1,-50..200" | ||
/> | ||
<script src="{% static 'bundle.js' %}" async></script> | ||
</head> | ||
|
||
|
@@ -82,5 +73,6 @@ | |
</div> | ||
{% include "cafesList.html" %} | ||
</main> | ||
{% include "footer.html" %} | ||
</body> | ||
</html> |
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,15 +1,9 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
{% load static %} | ||
<meta charset="utf-8" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
<title>Βρες την καφετέρια που σου ταιριάζει</title> | ||
{% load static %} {% include "commonHead.html" %} | ||
<link rel="stylesheet" href="{% static 'style/theme.css' %}" /> | ||
<link | ||
rel="stylesheet" | ||
href="https://fonts.googleapis.com/css2?family=Material+Symbols+Sharp:opsz,wght,FILL,[email protected],100..700,0..1,-50..200" | ||
/> | ||
<title>Display a map on a webpage</title> | ||
<meta | ||
name="viewport" | ||
content="initial-scale=1,maximum-scale=1,user-scalable=no" | ||
|
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
Oops, something went wrong.