This commit is contained in:
unknown committed 2020-10-18 21:01:24 +08:00
commit cde6e23c73
2 files changed
+1685

No files matched your search

+95
View File
@@ -19,6 +19,62 @@
href="styles.css" href="styles.css"
/> />
<title>Crunchy Desk</title> <title>Crunchy Desk</title>
<script src='https://api.mapbox.com/mapbox-gl-js/v1.12.0/mapbox-gl.js'></script>
<link href='https://api.mapbox.com/mapbox-gl-js/v1.12.0/mapbox-gl.css' rel='stylesheet' />
<style>
.map-overlay {
font: 12px/20px 'Helvetica Neue', Arial, Helvetica, sans-serif;
position: absolute;
width: 200px;
top: 0;
left: 0;
padding: 10px;
}
.map-overlay .map-overlay-inner {
background-color: #fff;
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
border-radius: 3px;
padding: 10px;
margin-bottom: 10px;
}
.map-overlay-inner fieldset {
border: none;
padding: 0;
margin: 0 0 10px;
}
.map-overlay-inner fieldset:last-child {
margin: 0;
}
.map-overlay-inner select {
width: 100%;
}
.map-overlay-inner label {
display: block;
font-weight: bold;
margin: 0 0 5px;
}
.map-overlay-inner button {
display: inline-block;
width: 36px;
height: 20px;
border: none;
cursor: pointer;
}
.map-overlay-inner button:focus {
outline: none;
}
.map-overlay-inner button:hover {
box-shadow: inset 0 0 0 3px rgba(0, 0, 0, 0.1);
}
</style>
</head> </head>
<body class="text-gray-900 antialiased font-body"> <body class="text-gray-900 antialiased font-body">
<nav class="sticky top-0 absolute z-50 w-full flex flex-wrap items-center justify-between py-1 navbar-expand-lg bg-indigo-900"> <nav class="sticky top-0 absolute z-50 w-full flex flex-wrap items-center justify-between py-1 navbar-expand-lg bg-indigo-900">
@@ -440,10 +496,49 @@
<p class="pr-2 ml-6 md:ml-0 flex-none text-xs text-gray-600 tracking-wide">5 hrs ago</p> <p class="pr-2 ml-6 md:ml-0 flex-none text-xs text-gray-600 tracking-wide">5 hrs ago</p>
</div> </div>
</div> </div>
<div class="pb-3 rounded-sm hover:shadow-xl tracking-wide bg-gray-200">
<div class="relative h-60 md:h-60 lg:h-58 xl:h-64">
<a href="#">
<p class="flex absolute h-10 md:h-8 m-4 px-2 py-2 text-md md:text-xs bg-indigo-700 text-white tracking-tighter md:tracking-tight">P
1,299 / monthly
<img class="flex absolute top-0 right-0 h-10 md:h-8 p-2 pt-3 -mr-10 md:-mr-7 bg-green-300 text-xs"
src="svg/icon_message.svg" alt="">
</p>
<img class="absolute py-4 px-3 md:pb-3 md:pt-4 md:px-2 right-0 bottom-0 bg-indigo-900" src="svg/icon_ellipsis.svg" alt="">
<div class="h-full w-full object-cover " id="map"></div>
</a>
</div>
<div class="flex px-3 mt-2 md:mt-3 xl:mt-1">
<a href="#">
<p class="font-bold text-lg tracking-wider md:tracking-tight leading-7 md:leading-6">Cozy coworking space in the
heart of the south</p>
</a>
<img class="ml-6 mr-2 -mt-4 lg:ml-0 lg:mr-0 xl:mt-0" src="svg/icon_heart.svg" alt="">
</div>
<div class="flex pl-3">
<p class=" flex text-xs text-gray-600 capitalize">incub8 space, centennial road, brgy.
batong dalig, kawit, cavite</p>
<p class="pr-2 ml-6 md:ml-0 flex-none text-xs text-gray-600 tracking-wide">5 hrs ago</p>
</div>
</div>
</div> </div>
</div> </div>
</section> </section>
</main> </main>
<script>
mapboxgl.accessToken = 'pk.eyJ1Ijoia2VyYnltYXJ0aW5vIiwiYSI6ImNrZ2VrdnA1azAyZDMydHMycXdkZjF5cnQifQ.gDQS43xv_d1IPqBd2_pSOQ';
var map = new mapboxgl.Map({
container: 'map',
style: 'mapbox://styles/kerbymartino/ckgelkqho1xjc19pam4a2k94o',
center: [120.895031,14.429678],
zoom: 15
});
map.addControl(new mapboxgl.NavigationControl());
var marker = new mapboxgl.Marker()
.setLngLat([120.895031,14.429678])
.addTo(map);
</script>
</body> </body>
<script> <script>
function toggleNavbar(collapseID) { function toggleNavbar(collapseID) {
File diff suppressed because it is too large. Load diff