fix(front) Сделан header footer адаптивные для мобильной и десктоп версии
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import { useState } from "react";
|
||||
import * as api from "../api"; // Импортируем все функции из api/index.js
|
||||
import Header from "../components/Header";
|
||||
import PageLayout from "../components/PageLayout";
|
||||
|
||||
export default function Dashboard() {
|
||||
const [formData, setFormData] = useState({
|
||||
@@ -39,8 +39,7 @@ export default function Dashboard() {
|
||||
};
|
||||
|
||||
return (
|
||||
<div>
|
||||
<Header />
|
||||
<PageLayout>
|
||||
<div className="max-w-md mx-auto mt-10 p-6 bg-white rounded-lg shadow-md border">
|
||||
<form onSubmit={handleSubmit} className="space-y-4">
|
||||
<div>
|
||||
@@ -109,6 +108,6 @@ export default function Dashboard() {
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</PageLayout>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user