Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
hmzi67 committed Nov 24, 2023
1 parent 9c2ad9d commit a5617cc
Show file tree
Hide file tree
Showing 17 changed files with 1,327 additions and 2 deletions.
Binary file added Portfolio/assets/6099605.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 Portfolio/assets/about.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 Portfolio/assets/azadKashmir.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 Portfolio/assets/bg-img.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 Portfolio/assets/calculator.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 Portfolio/assets/codeCraft.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 Portfolio/assets/cookSmart.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 Portfolio/assets/dailer.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 Portfolio/assets/home.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 Portfolio/assets/landingPage.PNG
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 Portfolio/assets/textUtils.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 Portfolio/assets/tinnyGenius.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 Portfolio/assets/tradingRoom.PNG
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
401 changes: 399 additions & 2 deletions Portfolio/index.html

Large diffs are not rendered by default.

75 changes: 75 additions & 0 deletions Portfolio/script.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
$(document).ready(function () {
$(window).scroll(function () {
// sticky navbar on scroll script
if (this.scrollY > 20) {
$(".navbar").addClass("sticky");
} else {
$(".navbar").removeClass("sticky");
}

// scroll-up button show/hide script
if (this.scrollY > 500) {
$(".scroll-up-btn").addClass("show");
} else {
$(".scroll-up-btn").removeClass("show");
}
});

// slide-up script
$(".scroll-up-btn").click(function () {
$("html").animate({ scrollTop: 0 });
// removing smooth scroll on slide-up button click
$("html").css("scrollBehavior", "auto");
});

$(".navbar .menu li a").click(function () {
// applying again smooth scroll on menu items click
$("html").css("scrollBehavior", "smooth");
});

// toggle menu/navbar script
$(".menu-btn").click(function () {
$(".navbar .menu").toggleClass("show");
$(".menu-btn i").toggleClass("show");
});

// typing text animation script
var typed = new Typed(".typing", {
strings: ["WEB Developer", "Freelancer", "Student BSCS"],
typeSpeed: 100,
backSpeed: 60,
smooth: true,
loop: true,
});

var typed = new Typed(".typing-2", {
strings: ["WEB Developer", "Freelancer", "Student BSCS"],
typeSpeed: 100,
backSpeed: 60,
loop: true,
smooth: true,
});

// owl carousel script
$(".carousel").owlCarousel({
margin: 20,
loop: true,
autoplay: true,
autoplayTimeOut: 2000,
autoplayHoverPause: true,
responsive: {
0: {
items: 1,
nav: false,
},
60: {
items: 2,
nav: false,
},
100: {
items: 3,
nav: false,
},
},
});
});
Loading

0 comments on commit a5617cc

Please sign in to comment.