Footer Logo
The Footer Logo component is a standardized footer implementation for Malaysian government websites.
Overview
The Footer Logo component provides a standardized footer design for Malaysian government websites.
It includes copyright text, last updated information, and official social media links.
Usage
To implement this, import the necessary components and icons from MYDS React:
Then, create your footer logo component:
Props & Customization
Footer
–> Base wrapper for the footer.FooterSection
–> Defines layout and alignment inside the footer.FooterLogo
-> Displays an official agency/ministry logo in the footer. Accepts a logo prop (usually an<img />
).SiteInfo
-> Standardized block that shows site information (domain, ownership, disclaimer). Ensures consistency across government sites.Link
–> Ensures consistent styling for external links.Icons
–> (Facebook, TwitterX, etc.) – Provided by MYDS React icon library.
You may update:
- The last updated date manually.
- The social media links with the official URLs of your ministry/agency.
- The logos in
FooterLogo
— replace thesrc
with your own logo file path (e.g.,/public/logos/agency.png
).
Example with Real URLs
Explanation of className (Styling)
This component uses Tailwind CSS utility classes for layout, spacing, and styling.
FooterSection
Link
p
Icon
This ensures a consistent and standardized footer across all Malaysian government websites, in line with the MYDS (Malaysia Government Design System).