diff --git a/src/app/components/AZCards.tsx b/src/app/components/AZCards.tsx
new file mode 100644
index 0000000..b1a0e83
--- /dev/null
+++ b/src/app/components/AZCards.tsx
@@ -0,0 +1,96 @@
+"use client";
+
+import { AZCards as AZCardsType } from "@/app/types";
+
+type AZCardsProps = {
+ azCards: AZCardsType;
+};
+
+const AZCards = ({ azCards }: AZCardsProps) => {
+ const { health, medicine } = azCards;
+
+ return (
+
+ );
+};
+
+export default AZCards;
diff --git a/src/app/data/translations.json b/src/app/data/translations.json
index 0f80680..f8ac9d0 100644
--- a/src/app/data/translations.json
+++ b/src/app/data/translations.json
@@ -2,6 +2,46 @@
"en": {
"title": "Expert backed, FREE medical advice for your Rheumatic Condition",
"description": "Everything about your pre-diagnosed rheumatic condition is just a button-click away with RheumaConnect.",
- "button": "Get Started"
+ "button": "Get Started",
+ "az-cards": {
+ "health": {
+ "title": "Health A to Z",
+ "description": "Find out about conditions, symptoms and treatments, including what to do and when to get help"
+ },
+ "medicine": {
+ "title": "Medicine A to Z",
+ "description": "Find out how your medicine works, how and when to take it, and possible side effects"
+ }
+ }
+ },
+ "ta": {
+ "title": "உங்கள் மூட்டுவலி நிலைக்கு நிபுணர் ஆதரவு, இலவச மருத்துவ ஆலோசனை",
+ "description": "உங்கள் முன்கூட்டியே கண்டறியப்பட்ட மூட்டுவலி நிலை குறித்த அனைத்தும் RheumaConnect மூலம் ஒரு பட்டனை அழுத்துவதன் மூலம் அணுகக்கூடியது.",
+ "button": "தொடங்குங்கள்",
+ "az-cards": {
+ "health": {
+ "title": "சுகாதாரம் A முதல் Z வரை",
+ "description": "நோய்கள், அறிகுறிகள் மற்றும் சிகிச்சைகள் குறித்த தகவல்களை, செய்யவேண்டியவை மற்றும் உதவி எப்போது பெற வேண்டும் என்பதை அறியவும்"
+ },
+ "medicine": {
+ "title": "மருந்துகள் A முதல் Z வரை",
+ "description": "உங்கள் மருந்து எவ்வாறு செயல்படுகிறது, அதை எப்போது எடுக்க வேண்டும், மற்றும் சாத்தியமான பக்க விளைவுகள் குறித்ததைப் பாருங்கள்"
+ }
+ }
+ },
+ "si": {
+ "title": "ඔබේ සන්ධි රෝග තත්ත්වය සඳහා විශේෂඥ මඟ පෙන්වීමක් සහිත, නොමිලේ වෛද්ය උපදෙස්",
+ "description": "ඔබගේ පෙර අධ්යයනය කළ සන්ධි රෝග තත්ත්වය පිළිබඳ සියල්ල RheumaConnect මඟින් බොත්තමක් ක්ලික් කිරීමෙන් ලබාගත හැක.",
+ "button": "ආරම්භ කරන්න",
+ "az-cards": {
+ "health": {
+ "title": "සෞඛ්යය A සිට Z දක්වා",
+ "description": "රෝග තත්ත්ව, ලක්ෂණ සහ ප්රතිකාර පිළිබඳව, කුමක් කරන්නද සහ උදව් ගන්නා අවස්ථාවන් පිළිබඳව දැනගන්න"
+ },
+ "medicine": {
+ "title": "ඔෂධ A සිට Z දක්වා",
+ "description": "ඔබේ ඔෂධය කෙසේ කටයුතු කරන්නේද, එය කවදා ගැනීමටත්, සහ සම්බන්ධ පාර්ශ්ව පලවිපාක පිළිබඳව දැනගන්න"
+ }
+ }
}
}
diff --git a/src/app/page.tsx b/src/app/page.tsx
index 84e955c..e8fae56 100644
--- a/src/app/page.tsx
+++ b/src/app/page.tsx
@@ -1,6 +1,10 @@
import HeroSection from "./components/HeroSection";
+import AZCards from "@/app/components/AZCards";
+import translations from "@/app/data/translations.json";
+import { Translations } from "@/app/types";
import ContactCard from "./components/ContactCard";
import MainCategorySection from "./components/MainCategorySection";
+const translationsData: Translations = translations;
export default function Home() {
return (
@@ -8,6 +12,7 @@ export default function Home() {
+
);
}
diff --git a/src/app/types/AZCards.ts b/src/app/types/AZCards.ts
new file mode 100644
index 0000000..c5b1592
--- /dev/null
+++ b/src/app/types/AZCards.ts
@@ -0,0 +1,9 @@
+export type AZCard = {
+ title: string;
+ description: string;
+};
+
+export type AZCards = {
+ health: AZCard;
+ medicine: AZCard;
+};
diff --git a/src/app/types/Translations.ts b/src/app/types/Translations.ts
new file mode 100644
index 0000000..108c774
--- /dev/null
+++ b/src/app/types/Translations.ts
@@ -0,0 +1,10 @@
+import { AZCards } from "./AZCards";
+
+export type Translations = {
+ [key: string]: {
+ title: string;
+ description: string;
+ button: string;
+ "az-cards": AZCards;
+ };
+};
diff --git a/src/app/types/index.ts b/src/app/types/index.ts
new file mode 100644
index 0000000..48015c0
--- /dev/null
+++ b/src/app/types/index.ts
@@ -0,0 +1,2 @@
+export * from "./AZCards";
+export * from "./Translations";