diff --git a/README.md b/README.md index b4f065e..a95c8e2 100644 --- a/README.md +++ b/README.md @@ -67,3 +67,7 @@ - pip install pre-commit - pip freeze > requirements.txt - pre-commit install + + +### Requirements + - Create a mail services for **contact@webdevlab.com** diff --git a/client/assets/sass/HomePage.scss b/client/assets/sass/HomePage.scss index 17cd8e8..d91eeed 100644 --- a/client/assets/sass/HomePage.scss +++ b/client/assets/sass/HomePage.scss @@ -1,26 +1,26 @@ -#feature-card { - height: 60vh; +// #feature-card { +// height: 60vh; - img { - max-height: none !important; - max-width: none !important; - height: 100% !important; - } -} +// img { +// max-height: none !important; +// max-width: none !important; +// height: 100% !important; +// } +// } -#latest-posts { - .latest-post-card { - max-height: none !important; - max-width: none !important; - height: 6.9rem; +// #latest-posts { +// .latest-post-card { +// max-height: none !important; +// max-width: none !important; +// height: 6.9rem; - } +// } - .card { - border: none !important; +// .card { +// border: none !important; - .card-body{ - padding: 0 !important; - } - } -} \ No newline at end of file +// .card-body{ +// padding: 0 !important; +// } +// } +// } \ No newline at end of file diff --git a/client/components/article/ArticleCard.vue b/client/components/article/ArticleCard.vue deleted file mode 100644 index cc340bc..0000000 --- a/client/components/article/ArticleCard.vue +++ /dev/null @@ -1 +0,0 @@ - diff --git a/client/components/article/ArticleThumbCard.vue b/client/components/article/ArticleThumbCard.vue new file mode 100644 index 0000000..c79b211 --- /dev/null +++ b/client/components/article/ArticleThumbCard.vue @@ -0,0 +1,25 @@ + + + \ No newline at end of file diff --git a/client/components/category/CategoryAdd.vue b/client/components/category/CategoryAdd.vue index 20d4273..0ec1931 100644 --- a/client/components/category/CategoryAdd.vue +++ b/client/components/category/CategoryAdd.vue @@ -1,10 +1,18 @@ @@ -13,16 +21,11 @@ import { CREATE_CATEGORY } from '~/graphql/categories'; const categoryName = ref(''); -const { mutate: addComment } = useMutation(CREATE_CATEGORY); +const { mutate: addArticleCategory } = useMutation(CREATE_CATEGORY); const addCategory = async () => { try { - const response = await addComment({ - variables: { - name: categoryName.value, - }, - context: { - clientName: 'default', // Provide the client name explicitly - }, + const response = await addArticleCategory({ + name: categoryName.value, }); // Handle response as needed diff --git a/client/components/home/HomePage.backup.vue b/client/components/home/HomePage.backup.vue new file mode 100644 index 0000000..97de956 --- /dev/null +++ b/client/components/home/HomePage.backup.vue @@ -0,0 +1,188 @@ + + + diff --git a/client/components/home/HomePage.vue b/client/components/home/HomePage.vue index 56645d3..b28be12 100644 --- a/client/components/home/HomePage.vue +++ b/client/components/home/HomePage.vue @@ -1,205 +1,173 @@ + + + diff --git a/client/layouts/default.backup.vue b/client/layouts/default.backup.vue new file mode 100644 index 0000000..c227371 --- /dev/null +++ b/client/layouts/default.backup.vue @@ -0,0 +1,56 @@ + + + diff --git a/client/layouts/default.vue b/client/layouts/default.vue index a157032..01ce50b 100644 --- a/client/layouts/default.vue +++ b/client/layouts/default.vue @@ -1,56 +1,9 @@ diff --git a/client/nuxt.config.ts b/client/nuxt.config.ts index 30db24c..9f7ad2e 100644 --- a/client/nuxt.config.ts +++ b/client/nuxt.config.ts @@ -2,6 +2,7 @@ export default defineNuxtConfig({ ssr: false, + target: 'static', devtools: { enabled: true }, app: { // diff --git a/client/pages/admin/category.vue b/client/pages/admin/category.vue index cfa730b..0666b88 100644 --- a/client/pages/admin/category.vue +++ b/client/pages/admin/category.vue @@ -1,33 +1,37 @@ diff --git a/client/pages/category/[categoryId].vue b/client/pages/category/[categoryId].vue index 84840b7..e83cad6 100644 --- a/client/pages/category/[categoryId].vue +++ b/client/pages/category/[categoryId].vue @@ -1,32 +1,60 @@ \ No newline at end of file diff --git a/client/types/Category.ts b/client/types/Category.ts index cb0ba21..5c69165 100644 --- a/client/types/Category.ts +++ b/client/types/Category.ts @@ -9,5 +9,5 @@ export interface ICategory { export interface ICategoryWithArticle extends ICategory { id: number; name: string; - articleSet: IArticle[]; + allArticles: IArticle[]; }