generated from lucien/api-template
add: generalized css classes and added a dark mode
This commit is contained in:
parent
9806fc3b3c
commit
4ca8a21477
28 changed files with 101 additions and 297 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue