Commit Graph

21 Commits

Author SHA1 Message Date
e997b5895c Improve layout and spacing of prediction market elements on article pages
Adjusted various padding and margin values in Article.tsx to reduce whitespace between prediction market components.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 0fb68265-c270-4198-9584-3d9be9bddb41
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/3df548ff-50ae-432f-9be4-25d34eccc983/0fb68265-c270-4198-9584-3d9be9bddb41/XHpsebf
2025-09-30 04:58:38 +00:00
c478d37b58 Update the prediction market UI and translate related text to English
Translate prediction market UI elements and success/error messages to English. Refactor prediction market display, including market questions, resolution dates, and bet options, to align with updated UI/UX design principles.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 0fb68265-c270-4198-9584-3d9be9bddb41
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/3df548ff-50ae-432f-9be4-25d34eccc983/0fb68265-c270-4198-9584-3d9be9bddb41/rOJiPGe
2025-09-30 04:36:22 +00:00
8ae8a55ca8 Align all elements on the article page to have consistent horizontal spacing
Constrain the max-width of the prediction markets section to match the article body by applying `max-w-4xl mx-auto` to the section element in `client/src/pages/Article.tsx`.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 0fb68265-c270-4198-9584-3d9be9bddb41
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/3df548ff-50ae-432f-9be4-25d34eccc983/0fb68265-c270-4198-9584-3d9be9bddb41/rOJiPGe
2025-09-30 04:16:05 +00:00
6c4d4dcadf Add functionality to upload and display articles with associated images
Update article page to handle image uploads and display articles from text files. Refactor currency and date formatting, and add a method to fetch prediction markets by ID.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 0fb68265-c270-4198-9584-3d9be9bddb41
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/3df548ff-50ae-432f-9be4-25d34eccc983/0fb68265-c270-4198-9584-3d9be9bddb41/rOJiPGe
2025-09-30 04:12:43 +00:00
117f2e468d Adjust spacing between article title, subtitle, and content sections
Update margins and padding in `Article.tsx` to visually improve readability by adjusting spacing between the article title, subtitle, headings, and paragraphs.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 0fb68265-c270-4198-9584-3d9be9bddb41
Replit-Commit-Checkpoint-Type: full_checkpoint
2025-09-30 04:00:20 +00:00
02dfbd867f Reduce spacing between article subtitle and main content
Adjusted margin-top for article content div in Article.tsx to -mt-8.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 0fb68265-c270-4198-9584-3d9be9bddb41
Replit-Commit-Checkpoint-Type: full_checkpoint
2025-09-30 03:51:45 +00:00
77f3f3048b Reduce spacing between article subtitle and main content
Adjusted the `mb-2` to `mb-0` on the `p` tag for the article excerpt in `client/src/pages/Article.tsx` to decrease the bottom margin.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 0fb68265-c270-4198-9584-3d9be9bddb41
Replit-Commit-Checkpoint-Type: full_checkpoint
2025-09-30 03:50:53 +00:00
07083ca152 Adjust spacing for article titles, subtitles, and body content
Update `client/src/pages/Article.tsx` to decrease margin between excerpt and title, and increase line-height for article body.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 0fb68265-c270-4198-9584-3d9be9bddb41
Replit-Commit-Checkpoint-Type: full_checkpoint
2025-09-30 03:48:59 +00:00
bf323d8e0a Adjust text box sizes to fit content precisely
Trim whitespace from article content and adjust line-height for better text fitting within the article display.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 069d4324-6c40-4355-955e-c714a50de1ea
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/3df548ff-50ae-432f-9be4-25d34eccc983/069d4324-6c40-4355-955e-c714a50de1ea/BkMEyqX
2025-09-30 03:44:46 +00:00
82d8ccafc3 Update article display to adjust line spacing
Modified the `Article.tsx` component to change `leading-normal` to `leading-tight` for paragraph elements, reducing vertical spacing between lines. Also, an image file `article_paragraphs.png` was added, though its purpose is unclear from the diff alone.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 887925db-3598-4f1b-ade3-3c14f6e73e74
Replit-Commit-Checkpoint-Type: full_checkpoint
2025-09-30 03:42:50 +00:00
7eaef92fec Restored to '29e4194cd85589f897daebcf14ae1b0030cf7a9f'
Replit-Restored-To: 29e4194cd8
2025-09-30 03:38:56 +00:00
324013c2e5 Saved your changes before starting work
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 887925db-3598-4f1b-ade3-3c14f6e73e74
Replit-Commit-Checkpoint-Type: full_checkpoint
2025-09-30 03:38:44 +00:00
29e4194cd8 Improve article display to better fit text content
Adjusted CSS class `text-base leading-7 text-gray-800` to `text-base text-gray-800` and `mb-2 whitespace-pre-wrap leading-7` to `mb-3 whitespace-pre-wrap leading-normal` in `client/src/pages/Article.tsx` to resolve text overflow issues.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 069d4324-6c40-4355-955e-c714a50de1ea
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/3df548ff-50ae-432f-9be4-25d34eccc983/069d4324-6c40-4355-955e-c714a50de1ea/DGb2VKl
2025-09-30 03:32:08 +00:00
4afe828e74 Adjust box size to perfectly fit article content and reduce spacing
Refactor Article component to remove unnecessary wrapper div and adjust paragraph margins for tighter content fitting, aligning with user feedback on excessive spacing.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 069d4324-6c40-4355-955e-c714a50de1ea
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/3df548ff-50ae-432f-9be4-25d34eccc983/069d4324-6c40-4355-955e-c714a50de1ea/DGb2VKl
2025-09-30 03:27:34 +00:00
231d5ebc44 Add a fixed footer to the article page for consistent navigation
Appends the Footer component to the Article page layout to ensure persistent visibility.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 069d4324-6c40-4355-955e-c714a50de1ea
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/3df548ff-50ae-432f-9be4-25d34eccc983/069d4324-6c40-4355-955e-c714a50de1ea/DGb2VKl
2025-09-30 03:21:08 +00:00
759698b3f8 Improve the visual appearance and readability of article content
Update CSS classes and styling in `client/src/pages/Article.tsx` to enhance the presentation of article titles, excerpts, and body content, improving overall readability.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 069d4324-6c40-4355-955e-c714a50de1ea
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/3df548ff-50ae-432f-9be4-25d34eccc983/069d4324-6c40-4355-955e-c714a50de1ea/DGb2VKl
2025-09-30 03:16:52 +00:00
303c846eae Adjust spacing between article paragraphs and subheadings
Update `mt-8 mb-4` to `mt-6 mb-2` for subheadings and `mb-5` to `mb-3` for paragraphs in Article.tsx to reduce vertical spacing.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 069d4324-6c40-4355-955e-c714a50de1ea
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/3df548ff-50ae-432f-9be4-25d34eccc983/069d4324-6c40-4355-955e-c714a50de1ea/DGb2VKl
2025-09-30 03:13:14 +00:00
d856f72bca Unify article page UI and CSS with home screen for consistent branding
Remove back and home buttons from article page header, integrate logo navigation to home, and update styling to match home page.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 069d4324-6c40-4355-955e-c714a50de1ea
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/3df548ff-50ae-432f-9be4-25d34eccc983/069d4324-6c40-4355-955e-c714a50de1ea/pIEDxt1
2025-09-30 03:04:37 +00:00
36e910112f Add articles to the Chayan Asli media outlet page
Implement parsing logic for article content to distinguish between main text and section headers, updating the Article page component and removing an unused API endpoint.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 069d4324-6c40-4355-955e-c714a50de1ea
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/3df548ff-50ae-432f-9be4-25d34eccc983/069d4324-6c40-4355-955e-c714a50de1ea/pIEDxt1
2025-09-30 02:46:48 +00:00
d6682e32d9 Add betting functionality to prediction markets for users
Integrates prediction market betting with new API endpoints, database schema, and client-side UI elements.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 069d4324-6c40-4355-955e-c714a50de1ea
Replit-Commit-Checkpoint-Type: intermediate_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/3df548ff-50ae-432f-9be4-25d34eccc983/069d4324-6c40-4355-955e-c714a50de1ea/6XTzcDL
2025-09-29 19:14:42 +00:00
2cbad88faa Add core UI components and layout for media platform
Initializes the client-side application with fundamental UI components, including navigation, cards for articles and auctions, and various elements for user interaction and display.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 069d4324-6c40-4355-955e-c714a50de1ea
Replit-Commit-Checkpoint-Type: intermediate_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/3df548ff-50ae-432f-9be4-25d34eccc983/069d4324-6c40-4355-955e-c714a50de1ea/bVdKIaU
2025-09-29 14:35:50 +00:00