Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: make some ui changes to the website #3

Merged
merged 2 commits into from
Oct 27, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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