Skip to content

Commit

Permalink
developed By akbar Mohammadi
Browse files Browse the repository at this point in the history
Data: 2023/4/27
  • Loading branch information
akbar-mh committed Apr 27, 2023
1 parent 06ea47b commit 31697cd
Show file tree
Hide file tree
Showing 49 changed files with 1,095 additions and 0 deletions.
1 change: 1 addition & 0 deletions assets/css/minfy.css

Large diffs are not rendered by default.

Binary file added assets/img/header.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/img/img.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/img/img01.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/img/img02.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/img/img03.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/img/img04.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/img/img05.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/img/img06.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/img/img07.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/img/img08.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/img/img09.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/img/img10.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/img/img11.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/img/img12.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/img/img13.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/img/img14.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/img/img15.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/img/img16.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/img/img17.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/img/img18.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/img/img19.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/img/img20.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/img/img21.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/img/img22.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/img/img23.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/img/img24.jpg
Binary file added assets/img/img25.png
Binary file added assets/img/img26.jpg
Binary file added assets/img/img27.jpg
Binary file added assets/img/img28.jpg
Binary file added assets/img/img29.jpg
Binary file added assets/img/img30.jpg
Binary file added assets/img/img31.jpg
Binary file added assets/img/img32.png
Binary file added assets/img/img33.jpg
Binary file added assets/img/img34.jpg
Binary file added assets/img/img35.jpg
Binary file added assets/img/img36.jpg
Binary file added assets/img/img37.jpg
Binary file added assets/img/img38.jpg
Binary file added assets/img/img39.jpg
Binary file added assets/img/img40.png
Binary file added assets/img/released_game_.png
Binary file added assets/img/t-footer.jpg
Binary file added assets/img/title_bar.png
Binary file added assets/img/zils.png
120 changes: 120 additions & 0 deletions assets/js/app.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,120 @@
let _togl = document.querySelector('._cart')
const progressCircle = document.querySelector(".autoplay-progress svg");
const progressContent = document.querySelector(".autoplay-progress span");
const friba = document.querySelectorAll('#friba>figure')




document.getElementById('_cart').addEventListener('click', function () {

_togl.style.opacity = " 1"
})
document.getElementById("_cart").addEventListener('mouseenter', function () {

_togl.style.opacity = " 0"
})

document.getElementById("search_").addEventListener("click", function () {
document.querySelector('.search-box').style.opacity = "1"
document.querySelector('.search-box').style.visibility = "visible"
})


document.querySelector(".close").addEventListener("click", function (e) {
e.stopPropagation()
document.querySelector('.search-box').style.opacity = "0"
document.querySelector('.search-box').style.visibility = "hidden"
})



const swiper = new Swiper(".mySwiper", {
pagination: {
el: ".swiper-pagination",
},
autoplay: {
delay: 2500,
disableOnInteraction: false
},

on: {
autoplayTimeLeft(s, time, progress) {
progressCircle.style.setProperty("--progress", 1 - progress);
progressContent.textContent = `${Math.ceil(time / 1000)}s`;
}
}
});


/* top swiperslider to top */


const topSwiper = new Swiper("._mySwiper", {
//direction: "vertical",
slidesPerView: 1,
mousewheel: true,
autoplay: {
delay: 2500,
disableOnInteraction: false
},

pagination: {
el: ".swiper-pagination",
clickable: true,
},

});



friba.forEach((val) => {
val.addEventListener("click", function () {
let temp = val.children[0]

temp.style.border = '4px solid #E8AE1A '
})
val.addEventListener("mouseleave", function () {
let temp = val.children[0]

temp.style.border = '4px solid #565555'
})
})


const roSwiper = new Swiper("#myswiper", {

slidesPerView: 4,
spaceBetween: 30,
autoplay: {
delay: 2500,
disableOnInteraction: false
},
navigation: {
nextEl: ".swiper-button-next",
prevEl: ".swiper-button-prev",
},
breakpoints: {
400: {
slidesPerView: 1,
spaceBetween: 20,
},
640: {
slidesPerView: 2,
spaceBetween: 20,
},
768: {
slidesPerView: 3,
spaceBetween: 30,
},
1024: {
slidesPerView: 4,
spaceBetween: 30,
},
},

pagination: {
el: ".swiper-pagination",
clickable: true,
},
});
Loading

0 comments on commit 31697cd

Please sign in to comment.