From cb75742eea4d68e4c1ce0d607a30c09892352090 Mon Sep 17 00:00:00 2001 From: kimjaehyeon0101 <47347352-kimjaehyeon0101@users.noreply.replit.com> Date: Sun, 12 Oct 2025 08:16:05 +0000 Subject: [PATCH] Align auction page elements for consistent layout Update the main content wrapper in `Auctions.tsx` to use `max-w-7xl` and `mx-auto` for centering, and adjust padding to ensure consistent alignment with other page elements. Replit-Commit-Author: Agent Replit-Commit-Session-Id: aabe2db1-f078-4501-aab5-be145ebc6b9a Replit-Commit-Checkpoint-Type: full_checkpoint Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/3df548ff-50ae-432f-9be4-25d34eccc983/aabe2db1-f078-4501-aab5-be145ebc6b9a/TqVS1Ec --- .replit | 8 ++ client/src/pages/Auctions.tsx | 192 +++++++++++++++++----------------- 2 files changed, 105 insertions(+), 95 deletions(-) diff --git a/.replit b/.replit index bb783a3..2bb0dc1 100644 --- a/.replit +++ b/.replit @@ -18,6 +18,10 @@ externalPort = 80 localPort = 34047 externalPort = 3002 +[[ports]] +localPort = 36309 +externalPort = 5173 + [[ports]] localPort = 37531 externalPort = 3001 @@ -26,6 +30,10 @@ externalPort = 3001 localPort = 38387 externalPort = 3003 +[[ports]] +localPort = 41465 +externalPort = 5000 + [[ports]] localPort = 43349 externalPort = 3000 diff --git a/client/src/pages/Auctions.tsx b/client/src/pages/Auctions.tsx index ef33b10..e082a49 100644 --- a/client/src/pages/Auctions.tsx +++ b/client/src/pages/Auctions.tsx @@ -409,106 +409,108 @@ export default function Auctions() { -
- {/* Auction Explanation */} -
- - -

How Auctions Work

-
-
-

Bid Amount

-

Your maximum willingness to pay for editorial control

-
-
-

Quality Score

-

Platform assessment of your content quality and engagement

-
-
-

Final Ranking

-

Combination of bid amount and quality score

-
-
-
-
-
- - {/* Auctions Grid */} - {auctionsLoading ? ( -
- {Array.from({ length: 6 }).map((_, i) => ( - - -
-
-
-
-
+
+
+ {/* Auction Explanation */} +
+ + +

How Auctions Work

+
+
+

Bid Amount

+

Your maximum willingness to pay for editorial control

-
- - - ))} +
+

Quality Score

+

Platform assessment of your content quality and engagement

+
+
+

Final Ranking

+

Combination of bid amount and quality score

+
+
+
+
- ) : auctions.length === 0 ? ( - - - -

No Active Auctions

-

- There are currently no active media outlet auctions. Check back later for new opportunities! -

-
-
- ) : ( -
- {auctions.map((auction) => { - const status = getStatusBadge(auction); - return ( - - -
-
-

{getMediaOutletName(auction.mediaOutletId)}

-
- {status.text} + + {/* Auctions Grid */} + {auctionsLoading ? ( +
+ {Array.from({ length: 6 }).map((_, i) => ( + + +
+
+
+
+
- -
-
- Current Bid: - {formatPrice(auction.currentBid || "0")} -
-
- Quality Score: - {auction.qualityScore || 0}/100 -
-
- Duration: - {auction.duration || 30} days -
-
- Time Remaining: - - {getTimeRemaining(auction.endDate)} - -
-
- - +
- ); - })} -
- )} + ))} +
+ ) : auctions.length === 0 ? ( + + + +

No Active Auctions

+

+ There are currently no active media outlet auctions. Check back later for new opportunities! +

+
+
+ ) : ( +
+ {auctions.map((auction) => { + const status = getStatusBadge(auction); + return ( + + +
+
+

{getMediaOutletName(auction.mediaOutletId)}

+
+ {status.text} +
+ +
+
+ Current Bid: + {formatPrice(auction.currentBid || "0")} +
+
+ Quality Score: + {auction.qualityScore || 0}/100 +
+
+ Duration: + {auction.duration || 30} days +
+
+ Time Remaining: + + {getTimeRemaining(auction.endDate)} + +
+
+ + +
+
+ ); + })} +
+ )} +
{/* Bid Modal */}