diff --git a/src/components/home.jsx b/src/components/home.jsx index f168128..1715b70 100644 --- a/src/components/home.jsx +++ b/src/components/home.jsx @@ -106,7 +106,11 @@ function Home({ isDark, toggleDarkMode }) { />
- Made with ❤ - by Anup + Made with ❤ - by{' '} + + {' '} + Anup +
diff --git a/src/index.html b/src/index.html index cc0628b..a9b699a 100644 --- a/src/index.html +++ b/src/index.html @@ -42,6 +42,7 @@ /> + diff --git a/src/styles/loader.css b/src/styles/loader.css new file mode 100644 index 0000000..44a9bfe --- /dev/null +++ b/src/styles/loader.css @@ -0,0 +1,56 @@ +.loader-container { + width: 100%; + height: 100vh; + background-color: #eee; + display: flex; + justify-content: center; + align-items: center; +} + +.loader { + width: 100px; + height: 100px; + background-color: #4de6d4; + border-radius: 50%; + position: relative; + overflow: hidden; +} + +.loader:after { + content: ''; + position: absolute; + width: 100px; + height: 100px; + background-color: #fff; +} + +.loader:before { + content: ''; + position: absolute; + width: 100px; + height: 100px; + background-color: #fff; +} + +.loader:before { + top: -40px; + border-radius: 50%; + background: rgba(255, 255, 255, 0.7); + animation: wave 5s linear infinite; +} + +.loader:after { + top: -40px; + border-radius: 30%; + background: rgba(255, 255, 255, 0.3); + animation: wave 5s linear infinite; +} + +@keyframes wave { + 0% { + transform: rotate(0); + } + 100% { + transform: rotate(360deg); + } +}