Skip to content

Commit db6a1ac

Browse files
authored
Merge pull request RiddhiM170904#481 from siri-chandana-macha/new
Added Copyright at footer
2 parents 6c5b560 + 1c7c5e4 commit db6a1ac

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

frontend/index.html

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -265,6 +265,7 @@
265265

266266

267267

268+
268269
</style>
269270
</head>
270271
<body class="load">
@@ -583,7 +584,11 @@ <h3>Saarthi</h3>
583584
</script>
584585
</div>
585586

586-
587+
588+
<script>
589+
document.getElementById("year").innerText = new Date().getFullYear();
590+
</script>
591+
587592

588593
</body>
589-
</html>
594+
</html>

frontend/src/components/navbar.jsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -204,6 +204,7 @@ const Navbar = () => {
204204

205205
{/* Footer */}
206206
<div className="absolute bottom-0 w-full p-4 text-sm text-center text-gray-500">
207+
<p>© {new Date().getFullYear()} Station Saarthi.All rights reserved.</p>
207208
<a
208209
href="/privacy-policy"
209210
onClick={() => {

0 commit comments

Comments
 (0)