Skip to content

Commit

Permalink
Merge pull request #242 from Ayush-may/feature/issue_237
Browse files Browse the repository at this point in the history
add feature smooth scrolling #237
  • Loading branch information
XceeDesigns authored Jul 12, 2024
2 parents e7e59ad + c849172 commit 18f16fe
Show file tree
Hide file tree
Showing 10 changed files with 117 additions and 5 deletions.
5 changes: 5 additions & 0 deletions .idea/.gitignore

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 12 additions & 0 deletions .idea/Website.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions .idea/modules.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/vcs.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 14 additions & 0 deletions 404.html
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
14 changes: 13 additions & 1 deletion contact-dashboard.html
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down
14 changes: 14 additions & 0 deletions contact.html
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
21 changes: 17 additions & 4 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down Expand Up @@ -679,13 +692,13 @@ <h3><span class="bold ">CALL US</span></h3>
<div class="left">

<div class="footer-2-copy">
<p class="copyright">&copy; XceeDesigns
<p class="copyright">&copy; XceeDesigns
<script>
document.write(new Date().getFullYear());
</script>| All rights reserved
</p>
</div>

</div>

</div>
Expand Down Expand Up @@ -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();
});
Expand Down
14 changes: 14 additions & 0 deletions maintenance-page.html
Original file line number Diff line number Diff line change
Expand Up @@ -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">
Expand Down
14 changes: 14 additions & 0 deletions services.html
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit 18f16fe

Please sign in to comment.