diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md new file mode 100644 index 00000000..0d525ea0 --- /dev/null +++ b/.github/pull_request_template.md @@ -0,0 +1,18 @@ +## Summarise the feature +Issue ticket # (issue) + +Description: + +## Type of change +- [ ] Bug fix (non-breaking change which fixes an issue) +- [ ] New feature (non-breaking change which adds functionality) +- [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected) +- [ ] This change requires a documentation update + +## Checklist +- [ ] My code follows the style guidelines of this project +- [ ] I have performed a self-review of my code +- [ ] I have commented my code, particularly in hard-to-understand areas +- [ ] I have made corresponding changes to the documentation +- [ ] My changes generate no new warnings +- [ ] I have added tests that prove my fix is effective or that my feature works diff --git a/apps/docs/content/docs/develop/(template)/contact-us.mdx b/apps/docs/content/docs/develop/(template)/contact-us.mdx index ea64d244..30f072b9 100644 --- a/apps/docs/content/docs/develop/(template)/contact-us.mdx +++ b/apps/docs/content/docs/develop/(template)/contact-us.mdx @@ -1,6 +1,428 @@ --- title: Contact Us -description: Explore the integrated accessibility testing tools in our development environment that help identify and resolve accessibility issues during development. These tools work together to ensure our components meet WCAG standards and provide a better experience for all users. +description: A responsive, accessible contact us screen template with MYDS components. --- -## Work In Progress \ No newline at end of file +import { Button } from "@/components/myds"; +import { Input } from "@/components/myds"; +import { + GlobeIcon, + GoogleIcon, + JataNegaraIcon, +} from "@govtechmy/myds-react/icon"; +import { Navbar, NavbarLogo } from "@/components/myds"; +import { + Select, + SelectTrigger, + SelectValue, + SelectContent, + SelectItem, +} from "@/components/myds"; +import { ThemeSwitch } from "@/components/myds"; +import { Link } from "@govtechmy/myds-react/link"; +import { clx } from "@govtechmy/myds-react/utils"; +import ContactUsTemplate from "@/templates/contact-us.tsx"; +import Preview from "@/components/preview"; +import { Tab, Tabs } from "fumadocs-ui/components/tabs"; + + + + +
+ +
+
+ + ```tsx +import { Button } from "@govtechmy/myds-react/button"; +import { + PhoneIcon, + EmailIcon, + FacebookIcon, + InstagramIcon, + PinIcon, + TwitterXIcon, + TiktokIcon, +} from "@govtechmy/myds-react/icon"; + +export default function ContactUsTemplate() { + return ( + <> +
+
+

+ Contact Us +

+
+
+ +
+
+
+
+
+
+

+ Office +

+ +
+

Ministry of Digital

+

+ Aras 13, 14 & 15, Blok Menara, Menara Usahawan +
+ No. 18, Persiaran Perdana, Presint 2 +
+ Pusat Pentadbiran Kerajaan Persekutuan +
+ 62000 Putrajaya, Malaysia +

+
+ +
+ {[ + { + name: "Google Maps", + href: "https://www.google.com/maps/dir//Menara+Usahawan", + }, + { + name: "Waze", + href: "https://www.waze.com/en/live-map/directions/menara-usahawan-persiaran-perdana-18-putrajaya", + }, + ].map(({ name, href }) => ( + + ))} +
+
+ +