diff --git a/assets/common/img/bin.svg b/assets/common/img/bin.svg new file mode 100644 index 0000000..386e67b --- /dev/null +++ b/assets/common/img/bin.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/components/global/ContextMenu.vue b/components/global/ContextMenu.vue index bca228d..ee7ffff 100644 --- a/components/global/ContextMenu.vue +++ b/components/global/ContextMenu.vue @@ -9,6 +9,7 @@ data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" + data-bs-toggle="dropdown" > @@ -34,7 +35,8 @@ > - + + {{ action.title }} @@ -48,7 +50,7 @@ > - + {{ action.title }} diff --git a/components/global/MyNuxtImg.vue b/components/global/MyNuxtImg.vue new file mode 100644 index 0000000..c37df96 --- /dev/null +++ b/components/global/MyNuxtImg.vue @@ -0,0 +1,35 @@ + + + diff --git a/plugins/httpService.ts b/plugins/httpService.ts index d5c15a2..880a3b7 100644 --- a/plugins/httpService.ts +++ b/plugins/httpService.ts @@ -8,8 +8,8 @@ export default defineNuxtPlugin((nuxtApp) => { const api = $fetch.create({ onRequest({ request, options, error }) { options.baseURL = - config.public.NUXT_PUBLIC_BASE_URL + - config.public.NUXT_PUBLIC_API_NAME + + config.public.NUXT_PUBLIC_BASE_URL + + config.public.NUXT_PUBLIC_API_NAME + options.baseURL; if (token) { @@ -38,10 +38,10 @@ export default defineNuxtPlugin((nuxtApp) => { // Add custom methods for GET, POST, and DELETE const http = { - getRequest: (url, options = {}) => api(url, { method: "GET", ...options }), - postRequest: (url, body, options = {}) => + getRequest: (url: string, options = {}) => api(url, { method: "GET", ...options }), + postRequest: (url: string, body: any, options = {}) => api(url, { method: "POST", body, ...options }), - deleteRequest: (url, options = {}) => + deleteRequest: (url: string, options = {}) => api(url, { method: "DELETE", ...options }), }; diff --git a/public/img/haditha/background.png b/public/img/haditha/background.png new file mode 100644 index 0000000..7ec7756 Binary files /dev/null and b/public/img/haditha/background.png differ diff --git a/public/img/haditha/background.svg b/public/img/haditha/background.svg new file mode 100644 index 0000000..82fef6b --- /dev/null +++ b/public/img/haditha/background.svg @@ -0,0 +1,46 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/public/img/haditha/box-1-bgi.svg b/public/img/haditha/box-1-bgi.svg new file mode 100644 index 0000000..12f51e8 --- /dev/null +++ b/public/img/haditha/box-1-bgi.svg @@ -0,0 +1,16 @@ + + + + + + + + + + + + + + + + diff --git a/public/img/haditha/logo.svg b/public/img/haditha/logo.svg new file mode 100644 index 0000000..5cad894 --- /dev/null +++ b/public/img/haditha/logo.svg @@ -0,0 +1,77 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/public/img/haditha/section-three-bgi.png b/public/img/haditha/section-three-bgi.png new file mode 100644 index 0000000..4e45d9e Binary files /dev/null and b/public/img/haditha/section-three-bgi.png differ diff --git a/public/img/haditha/section-three-bgi.svg b/public/img/haditha/section-three-bgi.svg new file mode 100644 index 0000000..4c6fd5c --- /dev/null +++ b/public/img/haditha/section-three-bgi.svg @@ -0,0 +1,11 @@ + + + + + + + + + + +