add: generalized css classes and added a dark mode

This commit is contained in:
Lukian 2025-04-27 00:29:26 +02:00
parent 9806fc3b3c
commit 4ca8a21477
28 changed files with 101 additions and 297 deletions

View file

@ -4,8 +4,6 @@ import { User } from "../types";
import axios from "axios";
import TopBar from "../components/TopBar";
import "../styles/CreateChannel.css";
export default function CreateChannel() {
const navigate = useNavigate();
const [name, setName] = useState("");
@ -39,9 +37,9 @@ export default function CreateChannel() {
}
return (
<div className="create-channel-page">
<div className="forum-page">
<TopBar user={user}/>
<div className="create-channel">
<div className="forum-section">
<h1>Create Channel</h1>
<form onSubmit={handleSubmit}>
<p>