Compare commits
No commits in common. "ai-dev" and "main" have entirely different histories.
@ -1,17 +0,0 @@
|
|||||||
<?php
|
|
||||||
// Generated by setup_mariadb_project.sh — edit as needed.
|
|
||||||
define('DB_HOST', '127.0.0.1');
|
|
||||||
define('DB_NAME', 'app_38683');
|
|
||||||
define('DB_USER', 'app_38683');
|
|
||||||
define('DB_PASS', '4a2fcf37-215a-4b4c-9845-b6bd764e7067');
|
|
||||||
|
|
||||||
function db() {
|
|
||||||
static $pdo;
|
|
||||||
if (!$pdo) {
|
|
||||||
$pdo = new PDO('mysql:host='.DB_HOST.';dbname='.DB_NAME.';charset=utf8mb4', DB_USER, DB_PASS, [
|
|
||||||
PDO::ATTR_ERRMODE => PDO::ERRMODE_EXCEPTION,
|
|
||||||
PDO::ATTR_DEFAULT_FETCH_MODE => PDO::FETCH_ASSOC,
|
|
||||||
]);
|
|
||||||
}
|
|
||||||
return $pdo;
|
|
||||||
}
|
|
||||||
@ -4,6 +4,7 @@ import { useTheme } from "styles/mui";
|
|||||||
import { Badge, Chip, Button } from '../../components/Wrappers';
|
import { Badge, Chip, Button } from '../../components/Wrappers';
|
||||||
import Tabs from './Components/Tabs';
|
import Tabs from './Components/Tabs';
|
||||||
import Donut from './Components/DonutChart';
|
import Donut from './Components/DonutChart';
|
||||||
|
import RNSWidget from './Components/RNSWIdget';
|
||||||
import ToDo from './Components/ToDo';
|
import ToDo from './Components/ToDo';
|
||||||
import Calendar from './Components/Calendar/Calendar';
|
import Calendar from './Components/Calendar/Calendar';
|
||||||
import MediaBlock from './Components/MediaBlock';
|
import MediaBlock from './Components/MediaBlock';
|
||||||
@ -104,7 +105,11 @@ function Profile() {
|
|||||||
<Donut />
|
<Donut />
|
||||||
</Widget>
|
</Widget>
|
||||||
</Grid>
|
</Grid>
|
||||||
|
<Grid size={{ xs: 12, sm: 4, md: 4, lg: 12 }}>
|
||||||
|
<Widget>
|
||||||
|
<RNSWidget/>
|
||||||
|
</Widget>
|
||||||
|
</Grid>
|
||||||
</Grid>
|
</Grid>
|
||||||
</Grid>
|
</Grid>
|
||||||
<Grid size={{ xs: 12, lg: 4 }}>
|
<Grid size={{ xs: 12, lg: 4 }}>
|
||||||
|
|||||||
@ -67,8 +67,7 @@ export default defineConfig(({ mode }) => ({
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
server: {
|
server: {
|
||||||
port: 3001,
|
port: 3000,
|
||||||
allowedHosts: true,
|
|
||||||
},
|
},
|
||||||
test: {
|
test: {
|
||||||
globals: true,
|
globals: true,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user