forked from XceeDesigns/Website
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add feature smooth scrolling XceeDesigns#237
- Loading branch information
Showing
10 changed files
with
117 additions
and
5 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -128,6 +128,20 @@ | |
<link rel="stylesheet" href="css/style.css" /> | ||
|
||
<link rel="stylesheet" href="css/animate.min.css" /> | ||
|
||
<!-- Smmooth Scrolling --> | ||
<script src="https://unpkg.com/[email protected]/dist/lenis.min.js"></script> | ||
<script> | ||
const lenis = new Lenis() | ||
|
||
function raf(time) { | ||
lenis.raf(time) | ||
requestAnimationFrame(raf) | ||
} | ||
|
||
requestAnimationFrame(raf) | ||
</script> | ||
|
||
</head> | ||
|
||
<body> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -57,7 +57,19 @@ | |
<link rel="stylesheet" href="css/style.css"> | ||
|
||
<link rel='stylesheet' href="css/animate.min.css"> | ||
|
||
|
||
<!-- Smmooth Scrolling --> | ||
<script src="https://unpkg.com/[email protected]/dist/lenis.min.js"></script> | ||
<script> | ||
const lenis = new Lenis() | ||
|
||
function raf(time) { | ||
lenis.raf(time) | ||
requestAnimationFrame(raf) | ||
} | ||
|
||
requestAnimationFrame(raf) | ||
</script> | ||
|
||
<style> | ||
/* Style for dashboard entries */ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -127,6 +127,20 @@ | |
<link rel="stylesheet" href="css/style.css" /> | ||
|
||
<link rel="stylesheet" href="css/animate.min.css" /> | ||
|
||
<!-- Smmooth Scrolling --> | ||
<script src="https://unpkg.com/[email protected]/dist/lenis.min.js"></script> | ||
<script> | ||
const lenis = new Lenis() | ||
|
||
function raf(time) { | ||
lenis.raf(time) | ||
requestAnimationFrame(raf) | ||
} | ||
|
||
requestAnimationFrame(raf) | ||
</script> | ||
|
||
</head> | ||
|
||
<body> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -71,9 +71,22 @@ | |
|
||
<link rel="stylesheet" href="css/style.css"> | ||
<link rel="stylesheet" href="font-6/css/all.css"> | ||
|
||
|
||
<link rel='stylesheet' href="css/animate.min.css"> | ||
|
||
<!-- Smmooth Scrolling --> | ||
<script src="https://unpkg.com/[email protected]/dist/lenis.min.js"></script> | ||
<script> | ||
const lenis = new Lenis() | ||
|
||
function raf(time) { | ||
lenis.raf(time) | ||
requestAnimationFrame(raf) | ||
} | ||
|
||
requestAnimationFrame(raf) | ||
</script> | ||
<!--== all the linked files ends here ==--> | ||
|
||
</head> | ||
|
@@ -679,13 +692,13 @@ <h3><span class="bold ">CALL US</span></h3> | |
<div class="left"> | ||
|
||
<div class="footer-2-copy"> | ||
<p class="copyright">© XceeDesigns | ||
<p class="copyright">© XceeDesigns | ||
<script> | ||
document.write(new Date().getFullYear()); | ||
</script>| All rights reserved | ||
</p> | ||
</div> | ||
|
||
</div> | ||
|
||
</div> | ||
|
@@ -887,7 +900,7 @@ <h3><span class="bold ">CALL US</span></h3> | |
</script> | ||
<script> | ||
document.getElementById('showSearch').addEventListener('click', function() { | ||
// Show the hidden section | ||
// Show the hidden section | ||
var input = document.getElementById('q'); | ||
input.focus(); | ||
}); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -49,6 +49,20 @@ | |
<link rel="stylesheet" href="css/style.css" /> | ||
|
||
<link rel="stylesheet" href="css/animate.min.css" /> | ||
|
||
<!-- Smmooth Scrolling --> | ||
<script src="https://unpkg.com/[email protected]/dist/lenis.min.js"></script> | ||
<script> | ||
const lenis = new Lenis() | ||
|
||
function raf(time) { | ||
lenis.raf(time) | ||
requestAnimationFrame(raf) | ||
} | ||
|
||
requestAnimationFrame(raf) | ||
</script> | ||
|
||
</head> | ||
<body> | ||
<div id="loader-overflow"> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -128,6 +128,20 @@ | |
<link rel="stylesheet" href="css/style.css" /> | ||
|
||
<link rel="stylesheet" href="css/animate.min.css" /> | ||
|
||
<!-- Smmooth Scrolling --> | ||
<script src="https://unpkg.com/[email protected]/dist/lenis.min.js"></script> | ||
<script> | ||
const lenis = new Lenis() | ||
|
||
function raf(time) { | ||
lenis.raf(time) | ||
requestAnimationFrame(raf) | ||
} | ||
|
||
requestAnimationFrame(raf) | ||
</script> | ||
|
||
</head> | ||
|
||
<body> | ||
|