Skip to content

Commit 89ade36

Browse files
authored
Merge pull request #1836 from Muskankr/fix/add-footer-sustainable-farming
feat: added responsive footer to Sustainable Farming Page
2 parents fbcd1d8 + dedead0 commit 89ade36

1 file changed

Lines changed: 130 additions & 0 deletions

File tree

sustainable-farming.html

Lines changed: 130 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -960,6 +960,102 @@
960960
::-webkit-scrollbar-thumb:hover {
961961
background: var(--text-muted);
962962
}
963+
964+
.site-footer {
965+
background: linear-gradient(135deg, #2e7d32, #66bb6a);
966+
color: #fff;
967+
margin-top: 80px;
968+
padding: 2rem 1.25rem;
969+
}
970+
971+
.site-footer .footer-inner {
972+
max-width: 1200px;
973+
margin: 0 auto;
974+
display: grid;
975+
grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
976+
gap: 1.5rem;
977+
align-items: flex-start;
978+
}
979+
980+
.footer-brand {
981+
display: flex;
982+
flex-direction: column;
983+
gap: .5rem
984+
}
985+
986+
.footer-logo {
987+
width: 48px;
988+
height: 48px;
989+
border-radius: 8px;
990+
object-fit: cover;
991+
background: #fff;
992+
padding: 4px
993+
}
994+
995+
.site-footer h3,
996+
.site-footer h4 {
997+
margin: 0 0 .5rem 0
998+
}
999+
1000+
.site-footer p {
1001+
margin: 0;
1002+
opacity: .9
1003+
}
1004+
1005+
.site-footer ul {
1006+
list-style: none;
1007+
padding: 0;
1008+
margin: 0;
1009+
display: flex;
1010+
flex-direction: column;
1011+
gap: .4rem
1012+
}
1013+
1014+
.site-footer a {
1015+
color: #fff;
1016+
text-decoration: none;
1017+
opacity: .9;
1018+
transition: opacity .2s
1019+
}
1020+
1021+
.site-footer a:hover {
1022+
opacity: 1;
1023+
text-decoration: underline
1024+
}
1025+
1026+
.footer-bottom {
1027+
max-width: 1200px;
1028+
margin: 1rem auto 0;
1029+
padding-top: 1rem;
1030+
border-top: 1px solid rgba(255, 255, 255, .25);
1031+
text-align: center;
1032+
font-size: .9rem;
1033+
opacity: .9
1034+
}
1035+
1036+
.social-media {
1037+
display: flex;
1038+
gap: 1rem;
1039+
margin-top: .5rem
1040+
}
1041+
1042+
.social-media a {
1043+
display: flex;
1044+
align-items: center;
1045+
justify-content: center;
1046+
width: 40px;
1047+
height: 40px;
1048+
background: rgba(255, 255, 255, .1);
1049+
border-radius: 50%;
1050+
transition: all .3s ease;
1051+
font-size: 1.2rem
1052+
}
1053+
1054+
.social-media a:hover {
1055+
background: rgba(255, 255, 255, .2);
1056+
transform: translateY(-2px)
1057+
}
1058+
9631059
</style>
9641060
</head>
9651061

@@ -1301,6 +1397,40 @@ <h4>
13011397
</div>
13021398
<!-- Cursor Trail -->
13031399
<div class="circle-container" id="cursorTrail"></div>
1400+
1401+
<footer class="site-footer">
1402+
<div class="footer-inner">
1403+
<div class="footer-brand">
1404+
<img src="images/logo.png" alt="AgriTech logo" class="footer-logo">
1405+
<h3>AgriTech</h3>
1406+
<p>Empowering India's Farming Future</p>
1407+
<div class="social-media">
1408+
<a href="https://instagram.com" target="_blank"><i class="fab fa-instagram"></i></a>
1409+
<a href="https://github.com/omroy07" target="_blank"><i class="fab fa-github"></i></a>
1410+
<a href="https://www.linkedin.com/in/om-roy-3b809628a/" target="_blank"><i class="fab fa-linkedin"></i></a>
1411+
</div>
1412+
</div>
1413+
<div class="footer-links">
1414+
<h4>Quick Links</h4>
1415+
<ul>
1416+
<li><a href="index.html">Home</a></li>
1417+
<li><a href="main.html">Dashboard</a></li>
1418+
<li><a href="feed-back.html">Feedback</a></li>
1419+
<li><a href="chat.html">AI Assistant</a></li>
1420+
</ul>
1421+
</div>
1422+
<div class="footer-links">
1423+
<h4>Tools</h4>
1424+
<ul>
1425+
<li><a href="crop_recommendation/templates/index.html">Crop Recommendation</a></li>
1426+
<li><a href="Crop Yield Prediction/crop_yield_app/templates/index.html">Yield Prediction</a></li>
1427+
<li><a href="disease.html">Disease Detector</a></li>
1428+
</ul>
1429+
</div>
1430+
</div>
1431+
<div class="footer-bottom">© 2025 AgriTech • Made for farmers</div>
1432+
</footer>
1433+
13041434
<script>
13051435
// Update range slider values
13061436
['currentPractices', 'waterUsage', 'organicUse', 'energyEfficiency'].forEach(id => {

0 commit comments

Comments
 (0)