forked from Suchitra-Sahoo/AgriLearnNetwork
-
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.
- Loading branch information
1 parent
a908e6f
commit 23b5985
Showing
2 changed files
with
26 additions
and
6 deletions.
There are no files selected for viewing
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
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 |
---|---|---|
|
@@ -4,18 +4,27 @@ | |
<head> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<title>About Us | AgriLearnNetwork</title> | ||
<link rel="stylesheet" href="../style.css"> | ||
|
||
<!-- custom styles --> | ||
<link rel="stylesheet" href="../style.css"> | ||
<link rel="stylesheet" href="about.css"> | ||
<link rel="stylesheet" href="../cursor/style.css"> | ||
|
||
|
||
<!-- font family --> | ||
<link href="https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap" | ||
rel="stylesheet"> | ||
|
||
<!-- icons --> | ||
<link href="https://unpkg.com/[email protected]/css/boxicons.min.css" rel="stylesheet" /> | ||
<script src="https://kit.fontawesome.com/c732ec9339.js" crossorigin="anonymous"></script> | ||
|
||
<title>About Us | AgriLearnNetwork</title> | ||
</head> | ||
|
||
<body> | ||
|
||
<!-- header --> | ||
<header class="header"> | ||
<img src="../icon.png" alt="logo" style="height: 50px; width: 50px; margin-right: 10px;" /> | ||
|
||
|
@@ -45,6 +54,7 @@ <h3>AgriLearnNetwork</h3> | |
</header> | ||
|
||
|
||
<!-- about us content --> | ||
<div class="hero"> | ||
|
||
<video class="hero-video" autoplay muted loop> | ||
|
@@ -103,6 +113,7 @@ <h4>Harvesting and Farm Management</h4> | |
|
||
</div> | ||
|
||
<!-- footer --> | ||
<footer class="footer"> | ||
<div class="footer-grid"> | ||
<div class="footer-title"> | ||
|
@@ -183,6 +194,7 @@ <h2>Quick Links</h2> | |
|
||
<script> | ||
|
||
// back to top control | ||
window.addEventListener('scroll', function () { | ||
var scrollPosition = window.scrollY; | ||
var backToTopButton = document.getElementById('backtoTop'); | ||
|
@@ -194,7 +206,7 @@ <h2>Quick Links</h2> | |
} | ||
}); | ||
|
||
// mode toggle function | ||
// theme toggle control | ||
document.addEventListener("DOMContentLoaded", function () { | ||
const themeToggle = document.querySelector(".theme-toggle"); | ||
const body = document.body; | ||
|
@@ -218,7 +230,7 @@ <h2>Quick Links</h2> | |
}); | ||
}); | ||
|
||
//navbar for small screen | ||
// navbar control | ||
let menuIcon = document.querySelectorAll('#menu-icon'); | ||
let navbar = document.querySelectorAll('.navbar'); | ||
let navContact = document.querySelectorAll('#nav--contact'); | ||
|
@@ -232,7 +244,7 @@ <h2>Quick Links</h2> | |
} | ||
}); | ||
|
||
// Add an event listener to navbar links | ||
// Navbar links control | ||
document.querySelectorAll('.navbar a').forEach(link => { | ||
link.addEventListener('click', () => { | ||
// Remove 'active' class from navbar | ||
|
@@ -246,6 +258,12 @@ <h2>Quick Links</h2> | |
}); | ||
}); | ||
|
||
var cursor = document.querySelector(".cursor"); | ||
var cursor2 = document.querySelector(".cursor2"); | ||
document.addEventListener("mousemove", function (e) { | ||
cursor.style.cssText = cursor2.style.cssText = "left: " + e.clientX + "px; top: " + e.clientY + "px;"; | ||
}); | ||
|
||
</script> | ||
<script type="text/javascript"> | ||
(function (d, t) { | ||
|