From ba67eea1df963e51020f2f006be56cc364d92ca5 Mon Sep 17 00:00:00 2001 From: fwedwicc Date: Tue, 7 Jan 2025 13:58:50 +0800 Subject: [PATCH] Refactor Draft page by removing AppHeader component and integrating header elements directly for improved layout and user experience --- src/pages/Draft.jsx | 122 ++++++++++++++++++++++++++++++++++++-------- 1 file changed, 100 insertions(+), 22 deletions(-) diff --git a/src/pages/Draft.jsx b/src/pages/Draft.jsx index 12324dc..4a6dd0a 100644 --- a/src/pages/Draft.jsx +++ b/src/pages/Draft.jsx @@ -49,23 +49,6 @@ const Draft = () => { ); }; - const AppHeader = () => { - return ( -
- Bot Avatar - -
- ) - } - const AppNav = ({ active }) => { return (
@@ -108,7 +91,23 @@ const Draft = () => {
{/* Header */} - +
+ + Bot Avatar + +
{/* Content */} {/* Bottom Navigation */} @@ -119,12 +118,91 @@ const Draft = () => {
{/* Header */} - +
+ +

+ Boarding Pass +

+ +
{/* Content */} -
- Lorem ipsum dolor sit amet consectetur adipisicing elit. Ut maxime blanditiis rerum, ea animi ipsum laboriosam, sapiente fugiat non esse doloribus quae a nemo recusandae necessitatibus consequatur architecto eos fuga! +
+ {/* Ticket Container */} +
+ {/* Header */} +
+
+
+ +
+

Philippine Airlines

+
+

+ PH1-7598672 +

+
+ {/* Ticket Informations */} +
+ {[ + { label: 'Flight', value: 'PR127' }, + { label: 'Flight', value: 'PR127' }, + { label: 'Flight', value: 'PR127' }, + { label: 'Flight', value: 'PR127' }, + { label: 'Flight', value: 'PR127' }, + { label: 'Flight', value: 'PR127' }, + ].map((item, index) => ( +
+

{item.label}

+

{item.value}

+
+ ))} +
+ {/* Additional Informations */} +
+
+

From

+

From

+
+
+

CGK

+
+
+
+ + + +
+
+

LGA

+
+
+

Jakarta

+

New York

+
+
+

00:45

+

21h 45min

+

23:30

+
+
+ {/* Ticket Divider */} +
+ +
+ +
+ {/* Bar Code */} +
Lorem ipsum dolor sit, amet consectetur adipisicing elit. Quaerat nostrum odit rem excepturi odio ullam optio animi, dolore eligendi,
+
-