29 Commits

Author SHA1 Message Date
721462601d Merge pull request '- Fix submenu border' (#3) from develop into main
Reviewed-on: #3
2026-01-21 07:53:34 +00:00
f00c77369f Merge branch 'main' into develop 2026-01-21 07:53:15 +00:00
Warren Chen
b71baa2293 - Fix submenu border 2026-01-21 16:47:42 +09:00
be93761b48 Merge pull request 'Staging deploy 2026/1/21' (#2) from develop into main
Reviewed-on: #2
2026-01-21 07:41:05 +00:00
499ac5b558 Merge branch 'main' into develop 2026-01-21 07:40:45 +00:00
Warren Chen
4e642872b9 - Complete CSS for category page 2026-01-21 16:34:57 +09:00
Warren Chen
21df14bc2c Merge branch 'develop' of https://gitea.innovedus.com/warrenchen/innovedus_cms into develop 2026-01-20 14:20:53 +09:00
Warren Chen
b2ab5a352d - Complete reponsitive for 575-767 and 574-
- Fix the bug of choosing 1st article on homepage news
2026-01-20 14:20:50 +09:00
Warren Chen
f93d56eb1b Responsive for width 768 - 1023 2026-01-17 03:13:46 +09:00
Warren Chen
cdd9c10db0 Refactor homepage layout and styles
- Updated home_banner.html to increase image width from 1200 to 1280 pixels for better resolution.
- Modified home.css to remove unnecessary styles and added a new rule for .home-banner img to ensure responsive images.
- Adjusted horizontal_list.css to increase gap between items from 24px to 30px and removed padding for a cleaner layout.
- Changed news_list.css to update grid layout for news articles, including new flex properties for content alignment and added a gradient overlay for better readability.
- Refined home_page.html to use a full-bleed class for the hero band and simplified the structure by removing unnecessary divs.
- Enhanced news_list.html to improve the structure of the first news article display, including better content organization and styling.
- Updated mysite.css to refine container styles and improve header and footer layouts, ensuring better responsiveness and visual consistency.
- Adjusted base.html to wrap content in a main tag for better semantic structure.
- Improved footer.html to streamline social media links and added a new section for footer navigation links.
- Enhanced header.html to ensure consistent styling and layout with the new site container.
2026-01-16 11:47:12 +09:00
Warren Chen
fcfaba52c0 Enhance styling and structure for list titles and horizontal list items; add section-specific colors and new date display. 2026-01-15 16:38:52 +09:00
Warren Chen
e62a316924 Add new image assets and implement horizontal and block list functionality
- Added multiple PNG images for various sections of the site.
- Introduced JavaScript functionality for horizontal and block lists, allowing smooth scrolling and dynamic arrow visibility based on scroll position.
- Created a new template for displaying news articles, including a hero section for the latest article and a list for additional articles.
- Enhanced the news list with responsive design and fallback images for articles without cover images.
2026-01-14 14:27:08 +09:00
Warren Chen
21475448d2 Ready to deploy via docker 2025-11-28 17:36:54 +09:00
Warren Chen
2c21cca5a7 Clean up and re-generate migrations 2025-11-26 17:29:52 +09:00
78f29a14cd revert a72e23e9e0dc1f39f2f000a90284d81104e6a74f
revert Update Docker configuration and production settings for improved environment management
2025-11-25 02:04:40 +00:00
Warren Chen
a72e23e9e0 Update Docker configuration and production settings for improved environment management 2025-11-25 11:03:21 +09:00
Warren Chen
97ddd2dfd1 Refactor search view to improve query handling and pagination logic 2025-11-11 13:49:10 +09:00
Warren Chen
653847df6a Add search functionality to ArticlePage and enhance search templates
- Implement search fields in ArticlePage model for indexing.
- Update hashtag search view to include site root in context.
- Enhance header with a search form for articles.
- Modify search results template to improve user experience and display.
2025-11-10 16:42:15 +09:00
Warren Chen
a98d36da14 Add hashtag search functionality and create hashtag page template 2025-11-10 15:39:43 +09:00
Warren Chen
d75ea17b32 Normalize article dates and update ArticlePage model to use DateTimeField; configure S3 storage settings and update requirements for django-storages 2025-11-10 14:58:22 +09:00
Warren Chen
b04ad110a6 Add tagging and trending functionality to ArticlePage
- Created ArticlePageTag model for tagging articles.
- Added ClusterTaggableManager to ArticlePage for tag management.
- Renamed 'recommended' field to 'trending' in ArticlePage.
- Updated migrations to reflect changes in models.
- Implemented methods to retrieve trending articles and related articles based on tags.
- Modified templates to display tags and related articles on article pages.
- Refactored category and homepage templates to accommodate new sections and layouts.
- Removed deprecated templates and added new includes for better modularity.
- Updated header to include links for latest and trending articles.
- Added environment variable support for configurable block and page sizes.
- Updated requirements to include python-dotenv for environment variable management.
2025-11-06 16:49:31 +09:00
Warren Chen
7c9fe7f6f9 Enhance ValidatingEmbedBlock with strict host validation and update ArticlePage fields in migration 2025-10-29 18:41:16 +09:00
Warren Chen
ee6eb0db17 Add banner image support to ArticlePage and enhance embed validation
- Introduced `banner_image` field to ArticlePage model.
- Updated article templates to display banner images.
- Added ValidatingEmbedBlock for improved URL validation.
- Refactored category block templates to use static template loading.
- Enhanced header navigation to include submenu support.
- Updated .gitignore to exclude media files.
2025-10-29 15:59:20 +09:00
Warren Chen
3232de90d4 Add article and category page models, templates, and default cover image 2025-10-17 17:47:21 +09:00
Warren Chen
0874255859 Add header 2025-10-16 15:29:55 +09:00
Warren Chen
b97fed5340 Implement footer navigation and social media 2025-10-16 12:02:57 +09:00
0ad93cfb78 Merge pull request 'Add .gitignore and launch configuration; remove compiled Python files and unused database settings' (#1) from develop into main
Reviewed-on: #1
2025-10-10 07:33:48 +00:00
Warren Chen
8a11ff2c28 Add .gitignore and launch configuration; remove compiled Python files and unused database settings 2025-10-10 16:30:36 +09:00
Warren Chen
1ed89ebb32 reate project 2025-10-10 13:51:49 +09:00