Skip to content

Commit

Permalink
refactor: font & type
Browse files Browse the repository at this point in the history
  • Loading branch information
mrhrifat committed Nov 9, 2023
1 parent cf4d317 commit 32d7bb3
Show file tree
Hide file tree
Showing 2 changed files with 60 additions and 5 deletions.
10 changes: 5 additions & 5 deletions app/utils/font.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import { Poppins } from "next/font/google";

/**
* Title: font
* Description:
Expand All @@ -10,8 +8,10 @@ import { Poppins } from "next/font/google";
* Last Updated Date: Nov 09, 2023
*
*/
export const poppins = Poppins({

import { Inter } from "next/font/google";

export const inter = Inter({
subsets: ["latin"],
display: "auto",
weight: ["100", "300"],
display: "swap",
});
55 changes: 55 additions & 0 deletions app/utils/type.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
/**
* Title: type
* Description:
* Filename: type.ts
* Path: /app/utils/type.ts
* Author: Mrh Rifat (Programmer)
* Created Date: Nov 09, 2023
* Last Updated Date: Nov 09, 2023
*
*/

// Categroy Type
export type CategroyType = {
id: number;
cat_id: number;
cat_name_bn: string;
cat_name_en: string;
no_of_subcat: number;
no_of_dua: number;
cat_icon: string;
};

// Dua Type
export type DuaType = {
id: number;
cat_id: number;
subcat_id: number;
dua_id: number;
dua_name_bn: string;
dua_name_en: string;
top_bn: string;
top_en: string;
dua_arabic: string | null;
dua_indopak: string | null;
clean_arabic: string | null;
transliteration_bn: string | null;
transliteration_en: string | null;
translation_bn: string | null;
translation_en: string | null;
bottom_bn: string | null;
bottom_en: string | null;
refference_bn: string;
refference_en: string;
audio: string | null;
};

// Sub Category Type
export type SubCategoryType = {
id: number;
cat_id: number;
subcat_id: number;
subcat_name_bn: string;
subcat_name_en: string;
no_of_dua: number;
};

0 comments on commit 32d7bb3

Please sign in to comment.