Changed Dates

This commit is contained in:
James Dinh 2022-06-07 01:43:29 -07:00
parent 4b77949983
commit 0ff7b4e7db
3 changed files with 681 additions and 681 deletions

File diff suppressed because it is too large Load Diff

View File

@ -62,7 +62,7 @@
<div id="header"> <div id="header">
<img id="logo" src="img/Gilroy Hacks Logo [Summer].png" height="400" width="400" alt="logo"/> <img id="logo" src="img/Gilroy Hacks Logo [Summer].png" height="400" width="400" alt="logo"/>
<hr id="line-header"> <hr id="line-header">
<h2 id="header-subtitle-date">Aug 12 - 141</h2> <h2 id="header-subtitle-date">Aug 12 - 14</h2>
<div id="spots-container"> <div id="spots-container">
<div class="blob green" aria-hidden="true"></div> <div class="blob green" aria-hidden="true"></div>
<h2 id="header-subtitle-spots">40 spots remaining</h2> <h2 id="header-subtitle-spots">40 spots remaining</h2>

View File

@ -1,24 +1,24 @@
var map = L.map('map').setView([37.00508, -121.57268], 18); var map = L.map('map').setView([37.00508, -121.57268], 18);
var myIcon = L.icon({ var myIcon = L.icon({
iconUrl: '/img/leaflet/marker-icon.png' iconUrl: '/img/leaflet/marker-icon.png'
}); });
L.tileLayer('https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', { L.tileLayer('https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', {
maxZoom: 18, maxZoom: 18,
attribution: '&copy; <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors' attribution: '&copy; <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors'
}).addTo(map); }).addTo(map);
let marker = L.marker([37.00529, -121.572764], {icon: myIcon}).addTo(map) let marker = L.marker([37.00529, -121.572764], {icon: myIcon}).addTo(map)
L.popup().setLatLng([37.00529, -121.572697]).setContent('<h3 style="text-align: center">Gilroy Library</h3><br>350 W 6th St, Gilroy, CA 95020') L.popup().setLatLng([37.00529, -121.572697]).setContent('<h3 style="text-align: center">Gilroy Library</h3><br>350 W 6th St, Gilroy, CA 95020')
.openOn(map); .openOn(map);
// var circle = L.circle([37.00508, -121.57268], { // var circle = L.circle([37.00508, -121.57268], {
// color: 'blue', // color: 'blue',
// fillColor: '#6393c4d2', // fillColor: '#6393c4d2',
// fillOpacity: 0.5, // fillOpacity: 0.5,
// radius: 50 // radius: 50
// }).addTo(map) // }).addTo(map)
// .bindPopup('<h3 style="text-align: center">Gilroy Library</h3><br>350 W 6th St, Gilroy, CA 95020') // .bindPopup('<h3 style="text-align: center">Gilroy Library</h3><br>350 W 6th St, Gilroy, CA 95020')
// .openPopup(); // .openPopup();