实现投稿ui

This commit is contained in:
2026-01-23 11:16:07 +08:00
parent 2bb3db5966
commit 5932adcd9a
8 changed files with 839 additions and 16 deletions

View File

@@ -1,10 +1,10 @@
import { BrowserRouter, Routes, Route } from 'react-router-dom';
import { MainLayout } from './layouts/MainLayout';
import About from './components/About';
import CreatePost from './components/CreatePost';
import './App.css';
const Home = () => <h1>Home Page</h1>;
const CreatePost = () => <h1>Create Post</h1>;
const NotFound = () => <h1>404 Not Found</h1>;
function App() {