diff --git a/front/views/Home.tsx b/front/views/Home.tsx index 2f80322..051d6fd 100644 --- a/front/views/Home.tsx +++ b/front/views/Home.tsx @@ -4,20 +4,8 @@ import "../style/home/home.css" import { Header } from "./template/Header" import { BASE } from "../Constants" import { MainTitle } from "./component/Title" - -interface Tactic { - id: number - name: string - creation_date: string -} - -interface Team { - id: number - name: string - picture: string - main_color: string - second_color: string -} +import { Tactic } from "./model/Tactic" +import { Team } from "./model/Team" export default function Home({ lastTactics, @@ -81,8 +69,8 @@ function SideMenu({ width: width + "%", }}>
- - + +
) @@ -171,7 +159,7 @@ function BodyPersonalSpace({ allTactics }: { allTactics: Tactic[] }) { ) } -function Team({ teams }: { teams: Team[] }) { +function TeamMenu({ teams }: { teams: Team[] }) { return (
@@ -187,7 +175,7 @@ function Team({ teams }: { teams: Team[] }) { ) } -function Tactic({ lastTactics }: { lastTactics: Tactic[] }) { +function TacticMenu({ lastTactics }: { lastTactics: Tactic[] }) { return (
diff --git a/front/views/Settings.tsx b/front/views/Settings.tsx index 08a4fb9..c7d7960 100644 --- a/front/views/Settings.tsx +++ b/front/views/Settings.tsx @@ -1,5 +1,5 @@ import "../style/settings/settings.css" -import { MainTitle } from "./component/Title" +import { MainTitle, SecondTitle } from "./component/Title" import {Header} from './template/Header' export default function Settings({username} : {username : string}){ @@ -25,7 +25,24 @@ function Body() { function AccountSettings(){ return (
+ + +
+ ); +} +function ContentAccountSettings() { + return ( +
+
- ) -} \ No newline at end of file + ); +} + +// function InputSettings(){ +// return( +//
+//

{title}

+//
+// ) +// } \ No newline at end of file diff --git a/front/views/model/Tactic.tsx b/front/views/model/Tactic.tsx new file mode 100644 index 0000000..3fe72fa --- /dev/null +++ b/front/views/model/Tactic.tsx @@ -0,0 +1,5 @@ +export interface Tactic { + id: number + name: string + creation_date: string +} \ No newline at end of file diff --git a/front/views/model/Team.tsx b/front/views/model/Team.tsx new file mode 100644 index 0000000..8e179f6 --- /dev/null +++ b/front/views/model/Team.tsx @@ -0,0 +1,7 @@ +export interface Team { + id: number + name: string + picture: string + main_color: string + second_color: string +} \ No newline at end of file diff --git a/front/views/model/User.tsx b/front/views/model/User.tsx new file mode 100644 index 0000000..e69de29