diff --git a/src/assets/favicon.ico b/public/favicon.ico
similarity index 100%
rename from src/assets/favicon.ico
rename to public/favicon.ico
diff --git a/src/components/Members/Home.tsx b/src/components/Members/Home.tsx
index 185b97d..c48fba7 100644
--- a/src/components/Members/Home.tsx
+++ b/src/components/Members/Home.tsx
@@ -1,75 +1,4 @@
-import type { ComponentChild } from "preact";
-import { FaCog } from "react-icons/fa";
-
-function User() {
- return (
-
-

-
John Doe
-
- )
-}
-
-function Channels() {
- const channels = ["Discussion", "Nature", "Portrait", "Architecture"];
-
- return (
-
-
-
- {channels.map((channel) => (
- -
-
- # {channel}
-
-
-
- ))}
-
-
- )
-}
-
-function UserPersonnalLinks() {
- return (
-
- Galerie personelle
-
- )
-}
-
-function SectionLink({children, className = ""}: {children: ComponentChild, className?: string}) {
- return (
- {children}
- )
-}
-
-function SiteManagement() {
- return (
-
-
Gestion du site
-
Membres
-
Pages
-
Galeries
-
- )
-}
-
-function LeftPanel() {
- return (
-
-
-
-
-
-
- )
-}
+import LeftPanel from "./LeftPanel"
function Chat() {
return (
diff --git a/src/components/Members/LeftPanel/Channels.tsx b/src/components/Members/LeftPanel/Channels.tsx
new file mode 100644
index 0000000..994b920
--- /dev/null
+++ b/src/components/Members/LeftPanel/Channels.tsx
@@ -0,0 +1,26 @@
+import { FaCog } from "react-icons/fa";
+
+export default function Channels() {
+ const channels = ["Discussion", "Nature", "Portrait", "Architecture"];
+
+ return (
+
+
+
+ {channels.map((channel) => (
+ -
+
+ # {channel}
+
+
+
+ ))}
+
+
+ )
+}
diff --git a/src/components/Members/LeftPanel/SectionLink.tsx b/src/components/Members/LeftPanel/SectionLink.tsx
new file mode 100644
index 0000000..ac7c448
--- /dev/null
+++ b/src/components/Members/LeftPanel/SectionLink.tsx
@@ -0,0 +1,7 @@
+import type { ComponentChild } from "preact";
+
+export default function SectionLink({ children, className = "" }: { children: ComponentChild, className?: string }) {
+ return (
+ {children}
+ )
+}
diff --git a/src/components/Members/LeftPanel/SiteManagement.tsx b/src/components/Members/LeftPanel/SiteManagement.tsx
new file mode 100644
index 0000000..cd040fa
--- /dev/null
+++ b/src/components/Members/LeftPanel/SiteManagement.tsx
@@ -0,0 +1,12 @@
+import SectionLink from "./SectionLink";
+
+export default function SiteManagement() {
+ return (
+
+
Gestion du site
+
Membres
+
Pages
+
Galeries
+
+ )
+}
diff --git a/src/components/Members/LeftPanel/User.tsx b/src/components/Members/LeftPanel/User.tsx
new file mode 100644
index 0000000..7309d11
--- /dev/null
+++ b/src/components/Members/LeftPanel/User.tsx
@@ -0,0 +1,8 @@
+export default function User() {
+ return (
+
+

+
John Doe
+
+ )
+}
diff --git a/src/components/Members/LeftPanel/UserPersonnalLinks.tsx b/src/components/Members/LeftPanel/UserPersonnalLinks.tsx
new file mode 100644
index 0000000..362312e
--- /dev/null
+++ b/src/components/Members/LeftPanel/UserPersonnalLinks.tsx
@@ -0,0 +1,9 @@
+import SectionLink from "./SectionLink";
+
+export default function UserPersonnalLinks() {
+ return (
+
+ Galerie personelle
+
+ )
+}
diff --git a/src/components/Members/LeftPanel/index.tsx b/src/components/Members/LeftPanel/index.tsx
new file mode 100644
index 0000000..cf3841f
--- /dev/null
+++ b/src/components/Members/LeftPanel/index.tsx
@@ -0,0 +1,15 @@
+import Channels from "./Channels";
+import SiteManagement from "./SiteManagement";
+import User from "./User";
+import UserPersonnalLinks from "./UserPersonnalLinks";
+
+export default function LeftPanel() {
+ return (
+
+
+
+
+
+
+ )
+}
diff --git a/src/layouts/Layout.astro b/src/layouts/Layout.astro
index 918d6b9..187e0e3 100644
--- a/src/layouts/Layout.astro
+++ b/src/layouts/Layout.astro
@@ -22,7 +22,9 @@ const { title, footer = true } = Astro.props;
-
+
+
+
{footer && }