Improved overview layout
This commit is contained in:
@@ -16,8 +16,6 @@ export default function MyEvents() {
|
|||||||
if (result.ok) {
|
if (result.ok) {
|
||||||
const data = await result.json();
|
const data = await result.json();
|
||||||
|
|
||||||
console.debug(data);
|
|
||||||
|
|
||||||
return {
|
return {
|
||||||
items: data,
|
items: data,
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -3,15 +3,17 @@ import PengingEvents from "./PendingEvents";
|
|||||||
|
|
||||||
export default function Overview() {
|
export default function Overview() {
|
||||||
return (
|
return (
|
||||||
<div className="relative flex-1">
|
<div className="relative flex-1 grid-cols-2 lg:grid">
|
||||||
<div className="flex flex-wrap justify-center gap-4"></div>
|
<div>
|
||||||
|
<h1 className="mb-4 text-center text-4xl">My Events</h1>
|
||||||
<h1 className="mb-4 text-center text-4xl">My Events</h1>
|
<MyEvents />
|
||||||
<MyEvents />
|
</div>
|
||||||
<h1 className="mb-4 mt-8 text-center text-4xl">
|
<div>
|
||||||
events that I don't have entered an availability yet
|
<h1 className="mb-4 mt-8 text-center text-4xl lg:mt-0">
|
||||||
</h1>
|
Pending Events
|
||||||
<PengingEvents />
|
</h1>
|
||||||
|
<PengingEvents />
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user