Skip to content

Commit

Permalink
chore: make some ui changes to the website (#3)
Browse files Browse the repository at this point in the history
* chore: make some ui changes to the website
* chore: fix prettier formatting
  • Loading branch information
thenishantsapkota authored Oct 27, 2023
1 parent dc4387b commit 68dd600
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 3 deletions.
Binary file added public/knowNepalLogo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 3 additions & 1 deletion src/components/app/footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@ export default function AppFooter() {
<footer className="px-2 py-5 md:p-10">
<div className="mb-5 w-full border-b border-gray-300" />

<p className="text-center">© 2023 Know Nepal. All rights reserved.</p>
<p className="text-center">
© {new Date().getFullYear()} Know Nepal. All rights reserved.
</p>
</footer>
);
}
5 changes: 4 additions & 1 deletion src/components/app/navbar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,10 @@ export default function AppNavbar() {
return (
<nav className="flex justify-between px-2 py-7 md:px-10">
<Link to="/" className="font-sans text-xl uppercase">
Know Nepal
<div className="flex items-center">
<img src="/knowNepalLogo.png" alt="" className="mr-2 h-8 w-8" />
Know Nepal
</div>
</Link>

<div className="flex gap-x-5">
Expand Down
4 changes: 3 additions & 1 deletion src/pages/government-websites.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export default function GovernmentWebsitesPage() {
//
return (
<div>
<p className="text-center text-3xl">Government websites in Nepal</p>
<p className="text-center text-3xl">Government Websites of Nepal</p>

{isFetching && <p>Loading data...</p>}

Expand Down Expand Up @@ -50,6 +50,8 @@ export default function GovernmentWebsitesPage() {
<p className="mb-3 mt-10 text-center">
<a
href={govWebsite.url}
rel="noopener"
target="_blank"
className="rounded-sm bg-highlight px-3 py-2 text-gray-900"
>
Visit website
Expand Down

0 comments on commit 68dd600

Please sign in to comment.