Commit Graph

28 Commits

Author SHA1 Message Date
1fedd40899 Update header layout for media outlets and articles
Restructures the header component in Article, Community, MediaOutlet, and Report pages to display the logo on the left and the media outlet name below it, accommodating a two-line layout.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 9a264234-c5d7-4dcc-adf3-a954b149b30d
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/3df548ff-50ae-432f-9be4-25d34eccc983/9a264234-c5d7-4dcc-adf3-a954b149b30d/uCJPlBt
2025-10-15 05:28:58 +00:00
31150e5a34 Update article page to display related media outlet information
Modify article API response to include nested media outlet data and update client-side data fetching in Article.tsx to directly access outlet information from the article data, simplifying the component's data loading logic.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 9a264234-c5d7-4dcc-adf3-a954b149b30d
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/3df548ff-50ae-432f-9be4-25d34eccc983/9a264234-c5d7-4dcc-adf3-a954b149b30d/uCJPlBt
2025-10-15 05:22:29 +00:00
1c859e461c Update article page to display the correct media outlet header
Modify the Article page component to dynamically fetch and display the header information of the associated media outlet, including its logo and name, by introducing a new API call to retrieve MediaOutlet data.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 9a264234-c5d7-4dcc-adf3-a954b149b30d
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/3df548ff-50ae-432f-9be4-25d34eccc983/9a264234-c5d7-4dcc-adf3-a954b149b30d/uCJPlBt
2025-10-15 05:08:23 +00:00
3d14ed2c2b Add article thumbnail images to list view and article detail pages
Updated ArticleCard component to display thumbnail images on the right for list view. Modified Article page to display the article's image as a hero banner at the top.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 9a264234-c5d7-4dcc-adf3-a954b149b30d
Replit-Commit-Checkpoint-Type: intermediate_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/3df548ff-50ae-432f-9be4-25d34eccc983/9a264234-c5d7-4dcc-adf3-a954b149b30d/6ZMblp5
2025-10-14 07:44:42 +00:00
bc1ebd96ed Make article subheadings and excerpts larger than body text
Adjusted font sizes for article excerpts and subheadings in `Article.tsx` to be `text-xl` and `text-lg` respectively, enhancing visual hierarchy.

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/sXqrCAq
2025-09-30 06:34:25 +00:00
a1971efdc3 Add spacing to the bottom of all pages and update report content
Adjusts bottom padding on various page components to ensure adequate spacing and updates the HTML path for the Krysh Parker report.

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/hntn6cC
2025-09-30 05:45:05 +00:00
706d17b638 Add padding to the bottom of main content areas
Add `pb-24` class to `main` elements in various pages to provide adequate spacing between content and the bottom navigation bar.

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/hntn6cC
2025-09-30 05:16:47 +00:00
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