Skip to content

Commit

Permalink
deploy: a8dcdff
Browse files Browse the repository at this point in the history
  • Loading branch information
lucie07 committed Oct 12, 2023
1 parent 6e31c94 commit 6dce2e9
Show file tree
Hide file tree
Showing 9 changed files with 56 additions and 37 deletions.
6 changes: 3 additions & 3 deletions about/index.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<html lang="en-GB">
<head>
<meta charset="utf-8">
<!-- Built with 11ty - 2023-10-12 16:08 -->
<!-- Built with 11ty - 2023-10-12 17:51 -->
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="author" content="King's Digital Lab, King's College London">
<meta name="description" content="">
Expand All @@ -13,10 +13,10 @@

<title>About the project | BCC - Treatied Spaces</title>

<link rel="stylesheet" href="/bcc-11ty/assets/css/style.css?ts=1697126939">
<link rel="stylesheet" href="/bcc-11ty/assets/css/style.css?ts=1697133100">
<link rel="stylesheet" href="/bcc-11ty/assets/node_modules/leaflet/dist/leaflet.css" />
<link rel="stylesheet" href="/bcc-11ty/assets/node_modules/leaflet-dvf/dist/css/dvf.css" />
<script src="/bcc-11ty/assets/js/navbar-toggle.js?ts=1697126939"></script>
<script src="/bcc-11ty/assets/js/navbar-toggle.js?ts=1697133100"></script>

<style>
.map-label {
Expand Down
6 changes: 3 additions & 3 deletions accessibility/index.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<html lang="en-GB">
<head>
<meta charset="utf-8">
<!-- Built with 11ty - 2023-10-12 16:08 -->
<!-- Built with 11ty - 2023-10-12 17:51 -->
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="author" content="King's Digital Lab, King's College London">
<meta name="description" content="">
Expand All @@ -13,10 +13,10 @@

<title>Accessibility Statement for My Default Site | BCC - Treatied Spaces</title>

<link rel="stylesheet" href="/bcc-11ty/assets/css/style.css?ts=1697126939">
<link rel="stylesheet" href="/bcc-11ty/assets/css/style.css?ts=1697133100">
<link rel="stylesheet" href="/bcc-11ty/assets/node_modules/leaflet/dist/leaflet.css" />
<link rel="stylesheet" href="/bcc-11ty/assets/node_modules/leaflet-dvf/dist/css/dvf.css" />
<script src="/bcc-11ty/assets/js/navbar-toggle.js?ts=1697126939"></script>
<script src="/bcc-11ty/assets/js/navbar-toggle.js?ts=1697133100"></script>

<style>
.map-label {
Expand Down
6 changes: 3 additions & 3 deletions index.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<html lang="en-GB">
<head>
<meta charset="utf-8">
<!-- Built with 11ty - 2023-10-12 16:08 -->
<!-- Built with 11ty - 2023-10-12 17:51 -->
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="author" content="King's Digital Lab, King's College London">
<meta name="description" content="">
Expand All @@ -13,10 +13,10 @@

<title>This is the home page template | BCC - Treatied Spaces</title>

<link rel="stylesheet" href="/bcc-11ty/assets/css/style.css?ts=1697126939">
<link rel="stylesheet" href="/bcc-11ty/assets/css/style.css?ts=1697133100">
<link rel="stylesheet" href="/bcc-11ty/assets/node_modules/leaflet/dist/leaflet.css" />
<link rel="stylesheet" href="/bcc-11ty/assets/node_modules/leaflet-dvf/dist/css/dvf.css" />
<script src="/bcc-11ty/assets/js/navbar-toggle.js?ts=1697126939"></script>
<script src="/bcc-11ty/assets/js/navbar-toggle.js?ts=1697133100"></script>

<style>
.map-label {
Expand Down
6 changes: 3 additions & 3 deletions stories/homelands/index.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<html lang="en-GB">
<head>
<meta charset="utf-8">
<!-- Built with 11ty - 2023-10-12 16:08 -->
<!-- Built with 11ty - 2023-10-12 17:51 -->
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="author" content="King's Digital Lab, King's College London">
<meta name="description" content="">
Expand All @@ -13,10 +13,10 @@

<title>BCC | BCC - Treatied Spaces</title>

<link rel="stylesheet" href="/bcc-11ty/assets/css/style.css?ts=1697126939">
<link rel="stylesheet" href="/bcc-11ty/assets/css/style.css?ts=1697133100">
<link rel="stylesheet" href="/bcc-11ty/assets/node_modules/leaflet/dist/leaflet.css" />
<link rel="stylesheet" href="/bcc-11ty/assets/node_modules/leaflet-dvf/dist/css/dvf.css" />
<script src="/bcc-11ty/assets/js/navbar-toggle.js?ts=1697126939"></script>
<script src="/bcc-11ty/assets/js/navbar-toggle.js?ts=1697133100"></script>

<style>
.map-label {
Expand Down
45 changes: 32 additions & 13 deletions stories/index.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<html lang="en-GB">
<head>
<meta charset="utf-8">
<!-- Built with 11ty - 2023-10-12 16:08 -->
<!-- Built with 11ty - 2023-10-12 17:51 -->
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="author" content="King's Digital Lab, King's College London">
<meta name="description" content="">
Expand All @@ -13,10 +13,10 @@

<title>Stories Introduction | BCC - Treatied Spaces</title>

<link rel="stylesheet" href="/bcc-11ty/assets/css/style.css?ts=1697126939">
<link rel="stylesheet" href="/bcc-11ty/assets/css/style.css?ts=1697133100">
<link rel="stylesheet" href="/bcc-11ty/assets/node_modules/leaflet/dist/leaflet.css" />
<link rel="stylesheet" href="/bcc-11ty/assets/node_modules/leaflet-dvf/dist/css/dvf.css" />
<script src="/bcc-11ty/assets/js/navbar-toggle.js?ts=1697126939"></script>
<script src="/bcc-11ty/assets/js/navbar-toggle.js?ts=1697133100"></script>

<style>
.map-label {
Expand Down Expand Up @@ -316,7 +316,7 @@ <h2>Explore</h2>


<article id="half-page-filter">
<button id="toggleButton">Toggle Element</button>
<button id="toggleButton" class="active">Toggle Element</button>

<div id="filterContainer" class="map-filters">

Expand Down Expand Up @@ -542,7 +542,8 @@ <h2>Features</h2>
</span>
</label>
</div>


<br><br><br><br><br>
<style>
.checkbox-wrapper-1 *,
.checkbox-wrapper-1 *:after,
Expand Down Expand Up @@ -692,9 +693,10 @@ <h2>Features</h2>

#half-page-filter {

padding: 20px;
margin: 20px;
display: block;
padding: 0;
margin: 0;
height: 100%; /* Set the height to 100% to fill the screen */
overflow: auto; /* Add overflow: auto to enable scrolling if the content exceeds the screen height */
}

#filterContainer {
Expand All @@ -709,12 +711,26 @@ <h2>Features</h2>
cursor: pointer;
position: absolute;
bottom: 0;
/* right: 30; Align the button to the right side of the screen */
width: 100%;
right: 25; /* Align the button to the right side of the screen */
width: 15%;
z-index: 9999; /* A high z-index value to ensure it's on top */
pointer-events: auto;
}

button::before {
content: "▼"; /* Unicode characters. Initially, use the downward arrow */
display: inline-block;
font-size: 16px;
margin-right: 5px; /* control the spacing between the icon and the button text */
margin-bottom: 0px;
}

/* Add styles for the "active" state */
button.active::before {
content: "▲"; /* Use the upward arrow when active (shown) */
}


/* Ensure the button looks like a button */
button:hover {
background-color: #257c00; /* Change color on hover */
Expand Down Expand Up @@ -783,6 +799,7 @@ <h2>Features</h2>
</div>



<script defer type="text/javascript" src="/bcc-11ty/assets/node_modules/leaflet/dist/leaflet.js"></script>
<script defer type="text/javascript" src="/bcc-11ty/assets/node_modules/leaflet-dvf/dist/leaflet-dvf.js"></script>
<script defer type="text/javascript" src="/bcc-11ty/assets/js/leaflet/plugins/leaflet.textpath.js"></script>
Expand Down Expand Up @@ -818,9 +835,11 @@ <h2>Features</h2>
let isFilterVisible = true;

toggleButton.addEventListener('click', function() {
isFilterVisible = !isFilterVisible;
filterContainer.style.display = isFilterVisible ? 'block' : 'none';
});
isFilterVisible = !isFilterVisible;
filterContainer.style.display = isFilterVisible ? 'block' : 'none';
toggleButton.classList.toggle('active', isFilterVisible);
});

</script>


Expand Down
6 changes: 3 additions & 3 deletions stories/introduction/index.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<html lang="en-GB">
<head>
<meta charset="utf-8">
<!-- Built with 11ty - 2023-10-12 16:08 -->
<!-- Built with 11ty - 2023-10-12 17:51 -->
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="author" content="King's Digital Lab, King's College London">
<meta name="description" content="">
Expand All @@ -13,10 +13,10 @@

<title>BCC | BCC - Treatied Spaces</title>

<link rel="stylesheet" href="/bcc-11ty/assets/css/style.css?ts=1697126939">
<link rel="stylesheet" href="/bcc-11ty/assets/css/style.css?ts=1697133100">
<link rel="stylesheet" href="/bcc-11ty/assets/node_modules/leaflet/dist/leaflet.css" />
<link rel="stylesheet" href="/bcc-11ty/assets/node_modules/leaflet-dvf/dist/css/dvf.css" />
<script src="/bcc-11ty/assets/js/navbar-toggle.js?ts=1697126939"></script>
<script src="/bcc-11ty/assets/js/navbar-toggle.js?ts=1697133100"></script>

<style>
.map-label {
Expand Down
6 changes: 3 additions & 3 deletions stories/lines/index.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<html lang="en-GB">
<head>
<meta charset="utf-8">
<!-- Built with 11ty - 2023-10-12 16:08 -->
<!-- Built with 11ty - 2023-10-12 17:51 -->
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="author" content="King's Digital Lab, King's College London">
<meta name="description" content="">
Expand All @@ -13,10 +13,10 @@

<title>BCC | BCC - Treatied Spaces</title>

<link rel="stylesheet" href="/bcc-11ty/assets/css/style.css?ts=1697126939">
<link rel="stylesheet" href="/bcc-11ty/assets/css/style.css?ts=1697133100">
<link rel="stylesheet" href="/bcc-11ty/assets/node_modules/leaflet/dist/leaflet.css" />
<link rel="stylesheet" href="/bcc-11ty/assets/node_modules/leaflet-dvf/dist/css/dvf.css" />
<script src="/bcc-11ty/assets/js/navbar-toggle.js?ts=1697126939"></script>
<script src="/bcc-11ty/assets/js/navbar-toggle.js?ts=1697133100"></script>

<style>
.map-label {
Expand Down
6 changes: 3 additions & 3 deletions stories/pathways/index.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<html lang="en-GB">
<head>
<meta charset="utf-8">
<!-- Built with 11ty - 2023-10-12 16:08 -->
<!-- Built with 11ty - 2023-10-12 17:51 -->
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="author" content="King's Digital Lab, King's College London">
<meta name="description" content="">
Expand All @@ -13,10 +13,10 @@

<title>BCC | BCC - Treatied Spaces</title>

<link rel="stylesheet" href="/bcc-11ty/assets/css/style.css?ts=1697126939">
<link rel="stylesheet" href="/bcc-11ty/assets/css/style.css?ts=1697133100">
<link rel="stylesheet" href="/bcc-11ty/assets/node_modules/leaflet/dist/leaflet.css" />
<link rel="stylesheet" href="/bcc-11ty/assets/node_modules/leaflet-dvf/dist/css/dvf.css" />
<script src="/bcc-11ty/assets/js/navbar-toggle.js?ts=1697126939"></script>
<script src="/bcc-11ty/assets/js/navbar-toggle.js?ts=1697133100"></script>

<style>
.map-label {
Expand Down
6 changes: 3 additions & 3 deletions stories/villagers_settlers/index.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<html lang="en-GB">
<head>
<meta charset="utf-8">
<!-- Built with 11ty - 2023-10-12 16:08 -->
<!-- Built with 11ty - 2023-10-12 17:51 -->
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="author" content="King's Digital Lab, King's College London">
<meta name="description" content="">
Expand All @@ -13,10 +13,10 @@

<title>BCC | BCC - Treatied Spaces</title>

<link rel="stylesheet" href="/bcc-11ty/assets/css/style.css?ts=1697126939">
<link rel="stylesheet" href="/bcc-11ty/assets/css/style.css?ts=1697133100">
<link rel="stylesheet" href="/bcc-11ty/assets/node_modules/leaflet/dist/leaflet.css" />
<link rel="stylesheet" href="/bcc-11ty/assets/node_modules/leaflet-dvf/dist/css/dvf.css" />
<script src="/bcc-11ty/assets/js/navbar-toggle.js?ts=1697126939"></script>
<script src="/bcc-11ty/assets/js/navbar-toggle.js?ts=1697133100"></script>

<style>
.map-label {
Expand Down

0 comments on commit 6dce2e9

Please sign in to comment.