added changes
This commit is contained in:
1 parent
ff2a233e51
commit
86b7d50692
1 file changed
+49
-27
+49
-27
@@ -5,19 +5,9 @@
|
|||||||
<meta content="width=device-width, initial-scale=1" name="viewport"/>
|
<meta content="width=device-width, initial-scale=1" name="viewport"/>
|
||||||
<meta content="#000000" name="theme-color"/>
|
<meta content="#000000" name="theme-color"/>
|
||||||
<link href="" rel="shortcut icon"/>
|
<link href="" rel="shortcut icon"/>
|
||||||
<link
|
<link href="" rel="apple-touch-icon" izes="76x76" />
|
||||||
href=""
|
<link href="" rel="stylesheet" />
|
||||||
rel="apple-touch-icon"
|
<link href="styles.css" rel="stylesheet" />
|
||||||
sizes="76x76"
|
|
||||||
/>
|
|
||||||
<link
|
|
||||||
href=""
|
|
||||||
rel="stylesheet"
|
|
||||||
/>
|
|
||||||
<link
|
|
||||||
href="styles.css"
|
|
||||||
rel="stylesheet"
|
|
||||||
/>
|
|
||||||
<title>Crunchy Desk</title>
|
<title>Crunchy Desk</title>
|
||||||
<script src='https://api.mapbox.com/mapbox-gl-js/v1.12.0/mapbox-gl.js'></script>
|
<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'/>
|
<link href='https://api.mapbox.com/mapbox-gl-js/v1.12.0/mapbox-gl.css' rel='stylesheet'/>
|
||||||
@@ -335,7 +325,7 @@
|
|||||||
</ul>
|
</ul>
|
||||||
<ul class="flex flex-row ml-auto hidden sm:block">
|
<ul class="flex flex-row ml-auto hidden sm:block">
|
||||||
<li class="flex items-center">
|
<li class="flex items-center">
|
||||||
<button class="bg-indigo-700 text-gray-200 active:bg-gray-100 text-md font-semibold xl:font-normal tracking-wide capitalize sm:px-8 md:px-14 lg:px-5 xl:px-8 py-2 rounded-none hover:shadow-md outline-none focus:outline-none"
|
<button class="bg-indigo-700 text-gray-200 bg-gray-100 text-md font-semibold xl:font-normal tracking-wide capitalize sm:px-8 md:px-14 lg:px-5 xl:px-8 py-2 rounded-none hover:bg-indigo-900 border-2 border-indigo-900 hover:border-indigo-700 hover:text-indigo-700 hover:font-bold outline-none focus:outline-none"
|
||||||
type="button"
|
type="button"
|
||||||
onclick="toggleSidebar('example-collapse-sidebar2');toggleOverlay('example-collapse-overlay')"> Post Space
|
onclick="toggleSidebar('example-collapse-sidebar2');toggleOverlay('example-collapse-overlay')"> Post Space
|
||||||
</button>
|
</button>
|
||||||
@@ -670,7 +660,7 @@
|
|||||||
<div class="relative">
|
<div class="relative">
|
||||||
<div class="z-10 absolute w-11/12 mx-4 lg:mx-6 my-5 pt-14 pb-10 px-5 h-auto bg-indigo-900 rounded-lg hidden"
|
<div class="z-10 absolute w-11/12 mx-4 lg:mx-6 my-5 pt-14 pb-10 px-5 h-auto bg-indigo-900 rounded-lg hidden"
|
||||||
id="example-collapse-location">
|
id="example-collapse-location">
|
||||||
<a href="#"><img class="absolute top-0 right-0 m-3" src="svg/icon_close.svg" alt=""></a>
|
<a href="#"><img class="absolute top-0 right-0 m-3" src="svg/icon_close.svg" alt="" onclick="toggleDropdown('example-collapse-location')"></a>
|
||||||
<div class="relative">
|
<div class="relative">
|
||||||
<div class="w-full px-3 py-2 mx-auto bg-white rounded-lg">
|
<div class="w-full px-3 py-2 mx-auto bg-white rounded-lg">
|
||||||
<button class="w-full px-3 text-lg text-left text-indigo-900 focus:outline-none rounded-lg"
|
<button class="w-full px-3 text-lg text-left text-indigo-900 focus:outline-none rounded-lg"
|
||||||
@@ -708,6 +698,7 @@
|
|||||||
|
|
||||||
<div class="relative">
|
<div class="relative">
|
||||||
<a href="#">
|
<a href="#">
|
||||||
|
|
||||||
<div class="flex absolute h-10 ml-4 mt-5 px-4 py-2 text-md md:mt-3 md:text-md lg:text-md lg:h-10 lg:mt-5 xl:h-10 xl:mt-5 xl:text-md xxl:mt-4 bg-indigo-700 text-white font-light md:tracking-normal font-sans">
|
<div class="flex absolute h-10 ml-4 mt-5 px-4 py-2 text-md md:mt-3 md:text-md lg:text-md lg:h-10 lg:mt-5 xl:h-10 xl:mt-5 xl:text-md xxl:mt-4 bg-indigo-700 text-white font-light md:tracking-normal font-sans">
|
||||||
P 1,299 / month
|
P 1,299 / month
|
||||||
<div class="tooltip">
|
<div class="tooltip">
|
||||||
@@ -739,12 +730,12 @@
|
|||||||
onclick="toggleSidebar('example-collapse-sidebar2');toggleOverlay('example-collapse-overlay')">
|
onclick="toggleSidebar('example-collapse-sidebar2');toggleOverlay('example-collapse-overlay')">
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="absolute py-4 px-3 md:pb-4 md:pt-4 md:px-2 xxl:px-3 right-0 bottom-0 bg-indigo-900 hidden">
|
<div class="absolute py-4 px-3 md:pb-4 md:pt-4 md:px-2 xxl:px-3 right-0 bottom-0 bg-indigo-900">
|
||||||
<img alt="" class=""
|
<img alt="" class=""
|
||||||
onclick="toggleNavbar('collapse-tool-tip10')"
|
onclick="toggleNavbar('collapse-tool-tip10')"
|
||||||
src="svg/icon_ellipsis.svg">
|
src="svg/icon_ellipsis.svg">
|
||||||
</div>
|
</div>
|
||||||
<div class="absolute right-0 bottom-0 bg-indigo-900">
|
<div class="absolute right-0 bottom-0 bg-indigo-900 hidden">
|
||||||
<img alt="" class="h-6 w-6 m-2"
|
<img alt="" class="h-6 w-6 m-2"
|
||||||
onclick="toggleNavbar('collapse-tool-tip10')"
|
onclick="toggleNavbar('collapse-tool-tip10')"
|
||||||
src="svg/icon_remove.svg">
|
src="svg/icon_remove.svg">
|
||||||
@@ -772,25 +763,26 @@
|
|||||||
</div>
|
</div>
|
||||||
</a>
|
</a>
|
||||||
<!--availability upload progress bar-->
|
<!--availability upload progress bar-->
|
||||||
<div class="absolute bottom-0 h-3 w-full bg-indigo-900">
|
<div class="absolute bottom-0 h-3 w-full bg-indigo-900 hidden">
|
||||||
<div class="h-3 w-3/12 bg-green-300"></div>
|
<div class="h-3 w-3/12 bg-green-300"></div>
|
||||||
</div>
|
</div>
|
||||||
<!--end availability upload progress bar-->
|
<!--end availability upload progress bar-->
|
||||||
</div>
|
</div>
|
||||||
<div class="h-auto sm:h-full lg:h-80 xl:h-auto lg:overflow-y-auto">
|
<div class="h-auto sm:h-full lg:h-80 xl:h-auto lg:overflow-y-auto" id="tabs-id">
|
||||||
<ul class="flex flex-wrap">
|
<ul class="flex flex-wrap">
|
||||||
<li class="w-1/3">
|
<li class="w-1/3">
|
||||||
<a class="w-full h-10 text-center inline-block border-l border-t rounded-t py-2 px-4 text-gray-500" href="#">Description</a>
|
<a class="w-full h-10 text-center inline-block border-l border-t rounded-t py-2 px-4" onclick="changeAtiveTab(event,'tab-description')">Description</a>
|
||||||
</li>
|
</li>
|
||||||
<li class=" w-1/3">
|
<li class=" w-1/3">
|
||||||
<a class="w-full h-10 text-center bg-white inline-block py-2 px-4 text-gray-500" href="#">Availability</a>
|
<a class="w-full h-10 text-center bg-white inline-block py-2 px-4 " onclick="changeAtiveTab(event,'tab-availability')">Availability</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="w-1/3">
|
<li class="w-1/3">
|
||||||
<a class="w-full h-10 text-sm md:text-base text-center bg-white inline-block py-2 px-4 text-gray-500 overflow-y-auto" href="#">Contact Info</a>
|
<a class="w-full h-10 text-sm md:text-base text-center bg-white inline-block py-2 px-4 overflow-y-auto" onclick="changeAtiveTab(event,'tab-contact')">Contact Info</a>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
<div class="tab-content tab-space">
|
||||||
<!-- post space description section-->
|
<!-- post space description section-->
|
||||||
<div class="mt-8 px-3 md:mt-3 lg:mt-8 lg:px-7 xxl:mt-6">
|
<div class="mt-8 px-3 md:mt-3 lg:mt-8 lg:px-7 xxl:mt-6 block" id="tab-description">
|
||||||
<div class="w-full mt-2 md:mt-1 lg:mt-2 xxl:mt-1">
|
<div class="w-full mt-2 md:mt-1 lg:mt-2 xxl:mt-1">
|
||||||
<input class="w-full px-3 py-2 rounded-md focus:outline-none" type="text" placeholder="Title">
|
<input class="w-full px-3 py-2 rounded-md focus:outline-none" type="text" placeholder="Title">
|
||||||
</div>
|
</div>
|
||||||
@@ -905,7 +897,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<!-- end post space description section-->
|
<!-- end post space description section-->
|
||||||
<!-- post space Availability section-->
|
<!-- post space Availability section-->
|
||||||
<div class="mt-5 px-3 md:px-7 md:mt-3 lg:mt-4 lg:px-7 xxl:mt-6 hidden">
|
<div class="mt-5 px-3 md:px-7 md:mt-3 lg:mt-4 lg:px-7 xxl:mt-6 hidden" id="tab-availability">
|
||||||
<div class="flex w-full mt-2 md:mt-1 lg:mt-2 xxl:mt-1">
|
<div class="flex w-full mt-2 md:mt-1 lg:mt-2 xxl:mt-1">
|
||||||
<button class="py-2 px-3 w-full h-10 bg-white text-sm text-center rounded-l-lg focus:outline-none uppercase">
|
<button class="py-2 px-3 w-full h-10 bg-white text-sm text-center rounded-l-lg focus:outline-none uppercase">
|
||||||
sun
|
sun
|
||||||
@@ -965,7 +957,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<!-- end post space Availability section-->
|
<!-- end post space Availability section-->
|
||||||
<!-- post space contact info section-->
|
<!-- post space contact info section-->
|
||||||
<div class="mt-8 px-3 md:mt-3 lg:mt-8 lg:px-7 xxl:mt-6 hidden">
|
<div class="mt-8 px-3 md:mt-3 lg:mt-8 lg:px-7 xxl:mt-6 hidden" id="tab-contact">
|
||||||
<div class="w-full mt-2 md:mt-1 lg:mt-2 xxl:mt-1">
|
<div class="w-full mt-2 md:mt-1 lg:mt-2 xxl:mt-1">
|
||||||
<input class="w-full px-3 py-2 rounded-md focus:outline-none" type="text" placeholder="Name of Coworking Space">
|
<input class="w-full px-3 py-2 rounded-md focus:outline-none" type="text" placeholder="Name of Coworking Space">
|
||||||
</div>
|
</div>
|
||||||
@@ -982,14 +974,16 @@
|
|||||||
<textarea class="w-full px-3 py-1 xxl:py-3 text-gray-500 rounded-md focus:outline-none" rows="4">Email Address</textarea>
|
<textarea class="w-full px-3 py-1 xxl:py-3 text-gray-500 rounded-md focus:outline-none" rows="4">Email Address</textarea>
|
||||||
</div>
|
</div>
|
||||||
<div class="w-full mt-4 md:mt-5 xxl:mt-2 mb-3">
|
<div class="w-full mt-4 md:mt-5 xxl:mt-2 mb-3">
|
||||||
<button class="relative flex justify-center items-center py-2 w-full text-md lg:text-lg xxl:text-md font-bold bg-green-300 rounded-none border-none focus:outline-none">
|
<button class="relative flex justify-center items-center py-2 w-full text-md lg:text-lg xxl:text-md font-bold bg-green-300 rounded-none border-none focus:outline-none uppercase">
|
||||||
<img class="animate-spin absolute -ml-12 mt-4 h-4 top-0" src="svg/icon_spinner.svg" alt="">SUBMIT</button>
|
<img class="animate-spin absolute -ml-20 mt-3 h-4 top-0" src="svg/icon_spinner.svg" alt="">Send Inquiry</button>
|
||||||
<p class="mt-1 text-xs xl:text-sm text-gray-600 font-thin tracking-tight">By Submitting your agree to the
|
<p class="mt-1 text-xs xl:text-sm text-gray-600 font-thin tracking-tight">By Submitting your agree to the
|
||||||
<b>Terms and Conditions</b></p>
|
<b>Terms and Conditions</b></p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<!-- end post space contact info section-->
|
<!-- end post space contact info section-->
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</aside>
|
</aside>
|
||||||
@@ -1487,5 +1481,33 @@
|
|||||||
document.getElementById(collapseID).classList.toggle("hidden");
|
document.getElementById(collapseID).classList.toggle("hidden");
|
||||||
document.getElementById(collapseID).classList.toggle("block");
|
document.getElementById(collapseID).classList.toggle("block");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<script type="text/javascript">
|
||||||
|
//tab js
|
||||||
|
function changeAtiveTab(event,tabID){
|
||||||
|
let element = event.target;
|
||||||
|
while(element.nodeName !== "A"){
|
||||||
|
element = element.parentNode;
|
||||||
|
}
|
||||||
|
ulElement = element.parentNode.parentNode;
|
||||||
|
aElements = ulElement.querySelectorAll("li > a");
|
||||||
|
tabContents = document.getElementById("tabs-id").querySelectorAll(".tab-content > div");
|
||||||
|
for(let i = 0 ; i < aElements.length; i++){
|
||||||
|
aElements[i].classList.remove("text-gray-800");
|
||||||
|
aElements[i].classList.remove("bg-gray-200");
|
||||||
|
aElements[i].classList.add("text-gray-400");
|
||||||
|
aElements[i].classList.add("bg-white");
|
||||||
|
tabContents[i].classList.add("hidden");
|
||||||
|
tabContents[i].classList.remove("block");
|
||||||
|
}
|
||||||
|
element.classList.remove("text-gray-400");
|
||||||
|
element.classList.remove("bg-white");
|
||||||
|
element.classList.add("text-gray-800");
|
||||||
|
element.classList.add("bg-gray-200");
|
||||||
|
document.getElementById(tabID).classList.remove("hidden");
|
||||||
|
document.getElementById(tabID).classList.add("block");
|
||||||
|
}
|
||||||
</script>
|
</script>
|
||||||
</html>
|
</html>
|
||||||
Reference in new issue
Block a user