Skip to content

Commit

Permalink
Add Christmas-themed components and update styles
Browse files Browse the repository at this point in the history
  • Loading branch information
MatinDehghanian committed Dec 25, 2024
1 parent df03d1c commit ee88f15
Show file tree
Hide file tree
Showing 11 changed files with 1,191 additions and 29 deletions.
401 changes: 397 additions & 4 deletions package-lock.json

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
"dependencies": {
"@emotion/react": "^11.13.3",
"@emotion/styled": "^11.13.0",
"@iconify/react": "^5.1.0",
"@mui/icons-material": "^6.1.1",
"@mui/material": "^6.1.1",
"axios": "^1.7.7",
Expand All @@ -25,6 +26,7 @@
"react-spinners": "^0.14.1",
"react-toastify": "^10.0.5",
"rollup-plugin-obfuscator": "^1.1.0",
"sass": "^1.83.0",
"vite-plugin-singlefile": "^2.0.2"
},
"devDependencies": {
Expand Down
5 changes: 4 additions & 1 deletion src/App.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ import {
import { ToastContainer } from "react-toastify";
import RadioButtons from "./components/RadioButtons";
import { Helmet } from "react-helmet";
import SnowEffect from "./christmas/SnowEffect";
import Santa from "./christmas/Santa";

function App() {
const [isDarkMode, setIsDarkMode] = useState(false);
Expand Down Expand Up @@ -66,7 +68,6 @@ function App() {
}
}, [data?.links]);


const getAdjustedUrl = (subURL) => {
if (import.meta.env.VITE_PANEL_DOMAIN) {
return subURL.replace(
Expand Down Expand Up @@ -123,6 +124,7 @@ function App() {
content="Powered by https://github.com/MatinDehghanian"
/>
</Helmet>
<SnowEffect />
<Grid container justifyContent={"center"}>
<Grid
container
Expand Down Expand Up @@ -152,6 +154,7 @@ function App() {
setIsDarkMode={setIsDarkMode}
handleLanguageChange={handleLanguageChange}
/>
<Santa />
{isOffSections.logoBox && <LogoBox />}
{isOffSections.userBox && (
<UserBox
Expand Down
Loading

0 comments on commit ee88f15

Please sign in to comment.