added rendering of clients from data file

This commit is contained in:
Michael Tenson
2025-04-30 19:07:35 +03:00
parent 14aacb9e56
commit 61cf94651f
17 changed files with 429 additions and 82 deletions

18
src/pages/Home.jsx Normal file
View File

@@ -0,0 +1,18 @@
import React from "react";
import Client from "../components/Client/Client";
import ClientsList from "../components/ClientList/ClientList";
import './Home.css'
export function MainPage() {
return (
<>
<div id="main-container">
<div id="main-header">
<h2>WireGuard</h2>
<a href="/">Выйти</a>
</div>
<ClientsList/>
</div>
</>
)
}