diff --git a/src/App.css b/src/App.css index 74b5e05..c12282b 100644 --- a/src/App.css +++ b/src/App.css @@ -1,38 +1,4 @@ -.App { - text-align: center; -} - -.App-logo { - height: 40vmin; - pointer-events: none; -} - -@media (prefers-reduced-motion: no-preference) { - .App-logo { - animation: App-logo-spin infinite 20s linear; - } -} - -.App-header { - background-color: #282c34; - min-height: 100vh; - display: flex; - flex-direction: column; - align-items: center; - justify-content: center; - font-size: calc(10px + 2vmin); - color: white; -} - -.App-link { - color: #61dafb; -} - -@keyframes App-logo-spin { - from { - transform: rotate(0deg); - } - to { - transform: rotate(360deg); - } -} +.custom-bg { + background-image: url('./assets/bg/bg_1.jpg') !important; + background-size: 100%; +} \ No newline at end of file diff --git a/src/App.js b/src/App.js index 2cac372..b249c52 100644 --- a/src/App.js +++ b/src/App.js @@ -1,19 +1,7 @@ import { QueryClientProvider, QueryClient } from '@tanstack/react-query' import AppRouters from './AppRouters'; -import axios from 'axios'; -// import './App.css'; - -// axios.interceptors.request.use( -// config => { -// config.headers['Authorization'] = `Bearer localStorage.getItem('access_token')`; -// config.baseURL = 'https://devapi.mermsemr.com' -// return config; -// }, -// error => { -// return Promise.reject(error); -// } -// ); +import './App.css'; function App() { diff --git a/src/assets/bg/bg_1.jpg b/src/assets/bg/bg_1.jpg new file mode 100644 index 0000000..8525b77 Binary files /dev/null and b/src/assets/bg/bg_1.jpg differ diff --git a/src/component/auth/Login2.jsx b/src/component/auth/Login2.jsx index 8ea2974..e2cc3e0 100644 --- a/src/component/auth/Login2.jsx +++ b/src/component/auth/Login2.jsx @@ -100,10 +100,10 @@ export default function Login() { -
+
- + {/* */}