Skip to content
This repository has been archived by the owner on Feb 27, 2024. It is now read-only.

Commit

Permalink
remove dep from my gitea
Browse files Browse the repository at this point in the history
  • Loading branch information
Requinard committed Feb 26, 2024
1 parent c5f949c commit e894fbe
Show file tree
Hide file tree
Showing 7 changed files with 1,040 additions and 279 deletions.
78 changes: 73 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
"@mui/x-date-pickers": "^5.0.12",
"@react-spring/web": "^9.6.1",
"@reduxjs/toolkit": "^1.9.1",
"@requinard/eslint-config": "^0.3.2",
"@svgr/core": "^6.5.1",
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^13.4.0",
Expand All @@ -39,14 +38,14 @@
"@types/redux-persist": "^4.3.1",
"@vitejs/plugin-react-swc": "^3.0.0",
"dayjs": "^1.11.7",
"eslint": "^8.29.0",
"eslint": "^8.57.0",
"husky": "^8.0.0",
"i18next": "^22.4.5",
"jsdom": "^21.0.0",
"lodash": "^4.17.21",
"material-ui-popup-state": "^5.0.4",
"mui-image": "^1.0.7",
"prettier": "^2.8.1",
"prettier": "^3.2.5",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-i18next": "^12.1.1",
Expand All @@ -70,12 +69,81 @@
"vitest": "^0.26.3"
},
"eslintConfig": {
"settings": {
"jest": {
"version": 27
}
},
"extends": [
"@requinard"
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"plugin:import/recommended"
],
"parser": "@typescript-eslint/parser",
"plugins": [
"@typescript-eslint",
"prettier"
],
"rules": {
"semi": "off",
"tabs": "off",
"indent": "off",
"prettier/prettier": [
"warn",
{
"singleQuote": false,
"trailingComma": "es5",
"tabs": false,
"tabWidth": 4,
"semi": true,
"brackedSpacing": true,
"brackedSameLine": false
}
],
"import/no-unresolved": "off",
"import/first": "warn",
"import/no-duplicates": "warn",
"import/group-exports": "off",
"import/no-default-export": "error",
"import/prefer-default-export": "off",
"import/order": [
"warn",
{
"newlines-between": "always"
}
]
},
"overrides": [
{
"files": [
"**/*.spec.*",
"**.*.test.*"
],
"extends": [
"plugin:jest/recommended",
"plugin:jest/style"
]
},
{
"files": [
"**/vite.config.*",
"**/vitest.config.*"
],
"rules": {
"import/no-default-export": "off"
}
}
]
},
"eslintIgnore": [
"**/gdakon.events.json"
],
"packageManager": "[email protected]"
"packageManager": "[email protected]",
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^7.0.2",
"@typescript-eslint/parser": "^7.0.2",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-jest": "^27.9.0",
"eslint-plugin-prettier": "^5.1.3"
}
}
Binary file added src/assets/bg.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed src/assets/bg.webp
Binary file not shown.
3 changes: 1 addition & 2 deletions src/components/Home/HomeScreen.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import { Box, Grid, styled, useTheme } from "@mui/material";
import { useWindowSize } from "usehooks-ts";
import { useMemo } from "react";

import { Logo } from "../images/Logo";
import { BackgroundBanner } from "../images/BackgroundBanner";
import { OverviewCard } from "../EventSchedule/OverviewCard";

Expand Down Expand Up @@ -79,7 +78,7 @@ export const HomeScreen = () => {
[theme.breakpoints.down("sm")]: { pt: 8, p: 4 },
}}
>
<Logo />
{/*<Logo />*/}
</Box>

<OnlineCheck />
Expand Down
2 changes: 1 addition & 1 deletion src/components/images/BackgroundBanner.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Image } from "mui-image";

import BackgroundImage from "../../assets/bg.webp?blur=3&imagetools";
import BackgroundImage from "../../assets/bg.png?blur=3&imagetools";

export const BackgroundBanner = () => (
<Image
Expand Down
2 changes: 1 addition & 1 deletion src/react-i18next.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ import { defaultNS, resources } from "./i18n";
declare module "react-i18next" {
interface CustomTypeOptions {
defaultNS: typeof defaultNS;
resources: typeof resources["en"];
resources: (typeof resources)["en"];
}
}
Loading

0 comments on commit e894fbe

Please sign in to comment.