Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
751 changes: 90 additions & 661 deletions activities.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion bookVenue.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<div id="explorenavbar">

<div id="logodiv" >
<img id="logo" src="https://playo-website.imgix.net/company/logo1.png?auto=compress,format" alt="playo logo">
<img id="logo" src="https://playo.co/_next/image?url=https%3A%2F%2Fplayo-website.gumlet.io%2Fplayo-website-v2%2FLogo%2Bwith%2BTrademark_Filled.png%3Fq%3D20%26format%3Dauto&w=1920&q=75" alt="playo logo">
</div>

<div id="nav2div">
Expand Down
6 changes: 3 additions & 3 deletions components/footer.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@ function footer()
return `<div id="infooter">
<div id="div1">
<div id="weblogo">
<a href="index.html"><img src="https://playo-website.gumlet.net/logo/playo-logo-footer-website.png?auto=format,compress&h=100" alt="logo" width="100%" height="100%"></a>
<a href="index.html"><img src="https://playo-website.gumlet.io/playo-website-v2/Logo+with+Trademark_Filled.png" alt="logo" width="100%" height="100%"></a>
</div>
<div id="playstore">
<a href="https://play.google.com/store/apps/details?id=com.techmash.playo">
<img src="https://playo-website.gumlet.net/icons/download-android.png?auto=format,compress " >
<img src="https://playo.co/_next/image?url=https%3A%2F%2Fplayo-website.gumlet.io%2Fplayo-website-v2%2Fstatic_pages%2FPlay%2Bstore.png&w=1920&q=75" width="100%" height="100%" >
</a>
<a href="https://apps.apple.com/us/app/playo-local-sports-community/id1018786950?ls=1">
<img src="https://playo-website.gumlet.net/icons/download-ios.png?auto=format,compress" >
<img src="https://playo.co/_next/image?url=https%3A%2F%2Fplayo-website.gumlet.io%2Fplayo-website-v2%2Fstatic_pages%2Fapple-padding-2x.png&w=1920&q=75" width="100%" height="100%" >
</a>
</div>
<div id="copyright">
Expand Down
1 change: 1 addition & 0 deletions data.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"cities": [
{

"city": "hyderabad",
"name": "Daniel Cricket Academy",
"location": "hyderabad",
Expand Down
19 changes: 19 additions & 0 deletions db.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"posts": [
{
"id": 1,
"title": "json-server",
"author": "typicode"
}
],
"comments": [
{
"id": 1,
"body": "some comment",
"postId": 1
}
],
"profile": {
"name": "typicode"
}
}
155 changes: 21 additions & 134 deletions explore.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

<div id="logodiv" >
<a href="index.html">
<img id="logo" src="https://playo-website.imgix.net/company/logo1.png?auto=compress,format" alt="playo logo" style="margin-top: 7px;">
<img id="logo" src="https://playo-website.gumlet.io/playo-website-v2/Logo+with+Trademark_Filled.png" alt="playo logo" style="margin-top: 7px;">
</a>

</div>
Expand Down Expand Up @@ -65,152 +65,39 @@
<p class="filtertext">Categories</p>
<select class="bold space1">
<option value="Select Sports">All</option>
<option value="hyderabad">Cricket</option>
<option value="Swimming">Swimming</option>
<option value="Football">Football</option>
</select>
</div>
</div>
</div>
<div id="con"></div>
<!-- <div id= "places">
<div>
<img src="https://playo-activities.gumlet.io/SVMBOWLINGALLEY/SVMBowlingAlleycover.jpg?q=40" alt="" class="conimage">
<p class="imgtext">Book</p>
</div>
<p class="highlighttext">shiva</p>
<p class="location">hyd</p>
<p class="timing"><img src="./images/clock.png" alt="" class="clockicon">ljljl</p>
<p class="coaching">lsjdfljsd</p>
</div> -->
<div id="infooter">
<div id="div1">
<div id="weblogo">
<a href="index.html"><img src="https://playo-website.gumlet.net/logo/playo-logo-footer-website.png?auto=format,compress&h=100" alt="logo" width="100%" height="100%"></a>
</div>
<div id="playstore">
<a href="https://play.google.com/store/apps/details?id=com.techmash.playo">
<img src="https://playo-website.gumlet.net/icons/download-android.png?auto=format,compress " >
</a>
<a href="https://apps.apple.com/us/app/playo-local-sports-community/id1018786950?ls=1">
<img src="https://playo-website.gumlet.net/icons/download-ios.png?auto=format,compress" >
</a>
</div>
<div id="copyright">
<p>©2022 TechMash Solutions Private Limited.<span> All Rights Reserved.</span></p>
</div>
<div id="loweritems">
<a href="faq.html"><p>FAQs</p></a>
<a href=""><p>Privacy POlicy</p></a>
<a href=""><p>Terms Of Service</p></a>
<a href=""><p>Cancellation & Refund Policy</p></a>
<a href=""><p>Careers</p></a>
<a href=""><p id="hiring">We're Hiring!</p></a>
</div>
</div>
<div id="div2">
<a href="about.html"><p>About Us</p></a>
<a href="partner.html"><p>Partner With Us</p></a>
<a href="brandact.html"><p>Brand Activations</p></a>
<a href="corporate.html"><p>Corporate Offerings</p></a>
<a href="contact.html"><p>contact Us</p></a>
</div>
<div id="div3">
<a href="venues.html"><p>Book Venues</p></a>
<a href="activities.html"><p>Activities</p></a>
<a href="blog.html"><p>Blog</p></a>
<a href="faq.html"><p>FAQ's</p></a>
</div>
<div id="div4">
<a href="https://www.facebook.com/PlayoApp/"><p>Facebook</p></a>
<a href="https://twitter.com/playoApp"><p>Twitter</p></a>
<a href="https://www.instagram.com/playoapp/"><p>Instagram</p></a>
<a href="https://www.linkedin.com/company/playo"><p>LinkdIn</p></a>
</div>
</div>
</div>


<div id="footer"></div>
</body>
</html>



<script >
<script type="module">
import footer from "./components/footer.js"

let container = document.querySelector("#footer");
container.innerHTML = footer();


// for (let x in data) {
// var cityx = data[x];
// }
// console.log(cityx);

// let con = document.getElementById("con");

// async function add(url) {
// try {
// var url = `http://127.0.0.1:5000/playo/cities`;
// let response = await fetch(url, {
// method: "GET",
// headers: {
// "Content-Type": "application/json",
// },
// });
// let d = await response.json();
// console.log("d:", d);
// display(d);
// } catch (err) {
// console.log("err:", err);
// }
// }


// display = (e) => {
// // console.log('e:', e)
// e.forEach((el) => {
// for (x in data) {
// var c = data[x];
// }

// // var div = document.getElementById("places");
// // // div.setAttribute("id","places")
// // var location= document.createElement("p");
// // location.innerText= el.location
// // let img= document.createElement("img")
// // img.src= el.image
// // img.setAttribute("id","conimage")

// // let timing= document.createElement("p")
// // timing.innerText=el.timing

// // // console.log(el.timing)

// // var name = document.createElement("p");
// // name.innerText=el.name

// // Book= "BOOKABLE",
// // safe= "Safe & Hygiene"

// if (el.city === c) {
// let y = ` <div onclick="details(${el.id})" id= "places">
// <div>
// <img src="${el.image}" alt="" class="conimage">
// <p class="imgtext">Coaching</p>
// </div>
// <p class="highlighttext">${el.name}</p>
// <p class="location">${el.location}</p>
// <p class="timing"><img src="./images/clock.png" alt="" class="clockicon">${el.timing}</p>
// <p class="coaching">${el.name} Coaching</p>
// </div>`;

// let place = document.getElementById("place");
// place.setAttribute("class", "bold");
// place.innerHTML = el.city;
// con.innerHTML += y;
// } else {
// console.log("err");
// }
// });
// };


// add();


let catfilter = document.getElementById("catfilter")
catfilter.addEventListener("change", function () {
let filtered = fetchData.filter(function (element) {
if (element.category === filter.value) {
return element;
}
});
apprndData(filtered);
});



Expand Down
8 changes: 6 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,18 @@
<!-- Download Playo app from google play -->
<div class="download_inner">
<a href="https://play.google.com/store/apps/details?id=com.techmash.playo">
<img class="app_download_image" src="https://playo-website.gumlet.net/download/google-play-new.png?auto=compress,format" alt="Google-play">
<img class="app_download_image"
src="https://playo.co/_next/image?url=https%3A%2F%2Fplayo-website.gumlet.io%2Fplayo-website-v2%2Fstatic_pages%2FPlay%2Bstore.png&w=1920&q=75"
alt="Google-play">
</a>
</div>

<!-- Download Playo app from apple play store -->
<div class="download_inner">
<a href="https://apps.apple.com/us/app/playo-local-sports-community/id1018786950?ls=1">
<img class="app_download_image" src="https://playo-website.gumlet.net/download/app-store-new.png?auto=compress,format" alt="Apple-store">
<img class="app_download_image"
src="https://playo.co/_next/image?url=https%3A%2F%2Fplayo-website.gumlet.io%2Fplayo-website-v2%2Fstatic_pages%2Fapple-padding-2x.png&w=1920&q=75"
alt="Apple-store">
</a>
</div>

Expand Down
42 changes: 42 additions & 0 deletions scripts/activities.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@

let id ;

const Debounce = (fun) =>{
if (id){
clearTimeout(id)
}
id = setTimeout(()=>{
fun()

},500)
}



const main = async () =>{
try{
let search = document.getElementById("typesearch").value
let res = await fetch(`https://puce-lazy-lemming.cyclic.app/cities?city=${search}`)
let data = await res.json()
console.log(data)
displayData(data)
}
catch(err){
console.log(err)
}

}


function displayData(data){


data.map((ele)=>{

let location = localStorage.setItem("name", JSON.stringify(ele));
window.location.href = "explore.html";



})
}
6 changes: 6 additions & 0 deletions scripts/venues.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@

//Login and pop up full functionalities start

import footer from "../components/footer.js"

let container = document.querySelector("#footer");
container.innerHTML = footer();


document.querySelector("#logo").addEventListener("click", ()=>{
window.location.href = "index.html";
})
Expand Down
8 changes: 4 additions & 4 deletions styles/footer.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ body{
}
a{
text-decoration: none;
color:rgb(212, 212, 212);
color:black;
}
#infooter{
width:100%;
height:290px;
display: flex;
background-color:#212121 ;
/* background-color:#212121 ; */
}

#div1{
Expand Down Expand Up @@ -73,7 +73,7 @@ a{
font-style: italic;
line-height: 0%;
font-family: Lato, sans-serif;
color:rgb(128, 128, 128);
color:black;
}
#copy{
font-size: 10px;
Expand All @@ -91,6 +91,6 @@ a{
justify-content: space-between;
}
#hiring{
background-color:#4daa0b ;
/* background-color:#4daa0b ; */
/* line-height: 0%; */
}
2 changes: 1 addition & 1 deletion styles/venues.css
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@
font-size: 36px;
letter-spacing: 0.5px;
line-height: 46.8px;
color: #ffff00;
color: black;
margin-right: 7px;
font-weight: 700;
font-style: italic;
Expand Down
Loading