Skip to content
Draft
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
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<link rel="icon" type="image/png" href="/kidapawan-seal.png" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>
BetterGov.ph | Republic of the Philippines | Community Powered Government
Expand Down
11 changes: 11 additions & 0 deletions public/CREDITS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Credits

## Kidapawan City Seal

`kidapawan-seal.png` is the official seal of the City of Kidapawan,
Cotabato, Philippines.

- Source: City Government of Kidapawan, via [Wikimedia Commons](https://commons.wikimedia.org/wiki/File:Seal_of_Kidapawan_City.png)
- License: [CC BY-SA 4.0](https://creativecommons.org/licenses/by-sa/4.0/)

Redistributions of this image must retain this credit and the same license.
Binary file added public/kidapawan-seal.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
20 changes: 2 additions & 18 deletions src/components/SEO.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -74,24 +74,8 @@ export default function SEO({
<link rel="canonical" href={fullUrl} />

{/* Favicon */}
<link rel="icon" type="image/x-icon" href="/favicon.ico" />
<link
rel="apple-touch-icon"
sizes="180x180"
href="/apple-touch-icon.png"
/>
<link
rel="icon"
type="image/png"
sizes="32x32"
href="/favicon-32x32.png"
/>
<link
rel="icon"
type="image/png"
sizes="16x16"
href="/favicon-16x16.png"
/>
<link rel="icon" type="image/png" href="/kidapawan-seal.png" />
<link rel="apple-touch-icon" href="/kidapawan-seal.png" />

{/* Preconnect to external domains */}
<link rel="preconnect" href="https://fonts.googleapis.com" />
Expand Down
23 changes: 5 additions & 18 deletions src/components/layout/Footer.tsx
Original file line number Diff line number Diff line change
@@ -1,11 +1,5 @@
import React from 'react';
import {
Facebook,
Twitter,
Instagram,
Youtube,
CheckCircle2,
} from 'lucide-react';
import { Facebook } from 'lucide-react';
import { footerNavigation } from '../../data/navigation';
import { Link } from 'react-router-dom';
import { useTranslation } from 'react-i18next';
Expand All @@ -17,12 +11,6 @@ const Footer: React.FC = () => {
switch (label) {
case 'Facebook':
return <Facebook className="h-5 w-5" />;
case 'Twitter':
return <Twitter className="h-5 w-5" />;
case 'Instagram':
return <Instagram className="h-5 w-5" />;
case 'YouTube':
return <Youtube className="h-5 w-5" />;
default:
return null;
}
Expand All @@ -34,12 +22,11 @@ const Footer: React.FC = () => {
<div className="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-8">
<div>
<div className="flex items-center mb-4">
<CheckCircle2 className="h-12 w-12 mr-3" />
{/* <img
src="/ph-logo.webp"
alt="Philippines Coat of Arms"
<img
src="/kidapawan-seal.png"
alt="Official Seal of the City of Kidapawan"
className="h-12 w-12 mr-3"
/> */}
/>

<div>
<div className="font-bold">{t('site_name')}</div>
Expand Down
18 changes: 5 additions & 13 deletions src/components/layout/Navbar.tsx
Original file line number Diff line number Diff line change
@@ -1,12 +1,5 @@
import React, { useState } from 'react';
import {
X,
Menu,
ChevronDown,
Globe,
Search,
CheckCircle2,
} from 'lucide-react';
import { X, Menu, ChevronDown, Globe, Search } from 'lucide-react';
import { mainNavigation } from '../../data/navigation';
import type { LanguageType } from '../../types/index';
import { Link } from 'react-router-dom';
Expand Down Expand Up @@ -96,12 +89,11 @@ const Navbar: React.FC = () => {
<div className="flex justify-between items-center py-4">
<div className="flex items-center">
<Link to="/" className="flex items-center">
<CheckCircle2 className="h-12 w-12 mr-3" />
{/* <img
src="/ph-logo.webp"
alt="Philippines Coat of Arms"
<img
src="/kidapawan-seal.png"
alt="Official Seal of the City of Kidapawan"
className="h-12 w-12 mr-3"
/> */}
/>
<div>
<div className="text-black font-bold">
{import.meta.env.VITE_GOVERNMENT_NAME}
Expand Down
8 changes: 4 additions & 4 deletions src/data/navigation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,9 @@ export const footerNavigation = {
},
],
socialLinks: [
{ label: 'Facebook', href: 'https://facebook.com/govph' },
{ label: 'Twitter', href: 'https://twitter.com/govph' },
{ label: 'Instagram', href: 'https://instagram.com/govph' },
{ label: 'YouTube', href: 'https://youtube.com/govph' },
{
label: 'Facebook',
href: 'https://www.facebook.com/CityGovernmentofKidapawan',
},
],
};