From 5398c26e575984a8c3893617affb4ca9eed2a389 Mon Sep 17 00:00:00 2001 From: Nicole Martin Date: Sun, 9 Jun 2024 18:06:25 -0700 Subject: [PATCH 1/4] updates Light and Dark modeicons and copy --- .hintrc | 8 ++++ public/index.html | 5 +- src/App.js | 5 +- src/Components/Blogs/BlogItem.js | 64 ++++++++++++------------- src/Components/Blogs/Blogs.js | 72 ++++++++++++++--------------- src/Components/Blogs/blogData.js | 28 +++++------ src/Components/Contact.js | 57 ++++++++++++----------- src/Components/UI/Nav.js | 11 +++-- src/darkMode/services/themeUtils.js | 16 ------- 9 files changed, 132 insertions(+), 134 deletions(-) create mode 100644 .hintrc diff --git a/.hintrc b/.hintrc new file mode 100644 index 0000000..798957b --- /dev/null +++ b/.hintrc @@ -0,0 +1,8 @@ +{ + "extends": [ + "development" + ], + "hints": { + "apple-touch-icons": "off" + } +} \ No newline at end of file diff --git a/public/index.html b/public/index.html index 5346f26..0ef5cf0 100644 --- a/public/index.html +++ b/public/index.html @@ -52,10 +52,7 @@ name="Nicole Martin | Software Developer" content="Website for Software Developer Nicole Martin" /> - + Nicole Martin | Software Developer diff --git a/src/App.js b/src/App.js index 4f3d5dc..7db2bd5 100644 --- a/src/App.js +++ b/src/App.js @@ -34,13 +34,16 @@ function App() { }); // Dark Mode! + const toggleTheme = useThemeStore((state) => state.toggleTheme); useTheme(); + const theme = useThemeStore((state) => state.theme); + return (
-