diff --git a/frontend/.gitignore b/frontend/.gitignore new file mode 100644 index 0000000..a547bf3 --- /dev/null +++ b/frontend/.gitignore @@ -0,0 +1,24 @@ +# Logs +logs +*.log +npm-debug.log* +yarn-debug.log* +yarn-error.log* +pnpm-debug.log* +lerna-debug.log* + +node_modules +dist +dist-ssr +*.local + +# Editor directories and files +.vscode/* +!.vscode/extensions.json +.idea +.DS_Store +*.suo +*.ntvs* +*.njsproj +*.sln +*.sw? diff --git a/frontend/public/data/shared/theme-config.json b/frontend/public/data/shared/theme-config.json index b15b451..5005f9e 100644 --- a/frontend/public/data/shared/theme-config.json +++ b/frontend/public/data/shared/theme-config.json @@ -10,13 +10,11 @@ "navBar": { "navBarTheme": "navbar-dark", "background": "bg-secondary", - "buttonColor": "light", - "shadow": "-webkit-box-shadow: 1px 28px 20px -22px rgba(0,0,0,0.75); -moz-box-shadow: 1px 28px 20px -22px rgba(0,0,0,0.75); box-shadow: 1px 28px 20px -22px rgba(0,0,0,0.75);" + "buttonColor": "light" }, "footer": { "background": "bg-secondary", - "text": "bg-white", - "shadow": "1px -29px 20px -22px rgba(0,0,0,0.75)" + "text": "bg-white" } }, "lightTheme":{ @@ -29,14 +27,12 @@ "categoryNavigator": "dark", "navBar": { "navBarTheme": "navbar-light", - "background": "bg-primary", - "buttonColor": "light", - "shadow": "-webkit-box-shadow: 1px 28px 20px -22px rgba(0,0,0,0.75); -moz-box-shadow: 1px 28px 20px -22px rgba(0,0,0,0.75); box-shadow: 1px 28px 20px -22px rgba(0,0,0,0.75);" + "background": "bg-secondary", + "buttonColor": "light" }, "footer": { - "background": "bg-primary", - "text": "bg-white", - "shadow": "1px -29px 20px -22px rgba(0,0,0,0.75)" + "background": "bg-secondary", + "text": "bg-white" } } } \ No newline at end of file diff --git a/frontend/src/components/elements/toggle-button.jsx b/frontend/src/components/elements/toggle-button.jsx deleted file mode 100644 index 7fcfba2..0000000 --- a/frontend/src/components/elements/toggle-button.jsx +++ /dev/null @@ -1,14 +0,0 @@ -import React from "react"; -function ToggleButton(props){ - return ( - <> - - - - ); -} - -export default ToggleButton; \ No newline at end of file diff --git a/frontend/src/components/views/blog-list.jsx b/frontend/src/components/views/blog-list.jsx index 33565af..d7e9ee3 100644 --- a/frontend/src/components/views/blog-list.jsx +++ b/frontend/src/components/views/blog-list.jsx @@ -53,7 +53,7 @@ function BlogList(props) { - +
diff --git a/frontend/src/components/views/blog.jsx b/frontend/src/components/views/blog.jsx index 14af91b..e4c9dbf 100644 --- a/frontend/src/components/views/blog.jsx +++ b/frontend/src/components/views/blog.jsx @@ -24,7 +24,7 @@ function Blog(props) { if (GlobalTheme && ThemeConfig) { return ( - + diff --git a/frontend/src/components/views/category-list.jsx b/frontend/src/components/views/category-list.jsx index 5ce6d09..6c5b1cc 100644 --- a/frontend/src/components/views/category-list.jsx +++ b/frontend/src/components/views/category-list.jsx @@ -35,7 +35,7 @@ function Blogs(props) { return ( - + {/* Top Section - Categories */}
@@ -51,6 +51,7 @@ function Blogs(props) { {categoryMetadata.length > 0 ? categoryMetadata.map((item, index) => ( -
+
{UserData.profilePhoto !== "" ? : ""}