Skip to content

Conversation

@awcodify
Copy link
Owner

Description

This pull request introduces enhancements to the Jekyll theme, focusing on a new social media-inspired layout (home-v2), improved navigation, and added functionality like a site statistics widget. The changes aim to modernize the user experience and provide additional customization options.

New Layout and Features:

  • Social Media-Inspired Layout: Added a modern home-v2 layout with Instagram-style stories and engaging post cards. (README.md - [1] _layouts/default.html - [2]
  • Post Feed V2: Introduced a new post-feed-v2.html template with features like author avatars, featured post badges, share buttons, and reading time estimation. (_includes/post-feed-v2.html - _includes/post-feed-v2.htmlR1-R169)

Navigation Enhancements:

  • New Navigation Item: Added a "V2" navigation link pointing to the new layout (/v2). (_config.yml - _config.ymlR126-R128)

Functional Additions:

  • Site Statistics Widget: Enabled an optional widget for displaying site statistics on the homepage. (_config.yml - _config.ymlR103-R107)

Minor Improvements:

  • Giscus Comments Wrapper: Added an id attribute to the comments wrapper for better integration with post actions. (_includes/giscus.html - _includes/giscus.htmlL2-R2)

Related Issue

Type of Change

  • 🐛 Bug fix
  • ✨ New feature
  • 💥 Breaking change
  • 📝 Documentation update
  • 🎨 Style/UI change
  • ♻️ Code refactor
  • ⚡ Performance improvement
  • 🧪 Test update

Checklist

  • I have tested my changes
  • I have updated the documentation accordingly
  • My changes don't break existing functionality

Screenshots

Arsxy-Theme-A-clean-fast-and-SEO-friendly-Jekyll-theme-focused-on-technical-content-and-code-readability--05-30-2025_03_24_PM

awcodify added 30 commits May 30, 2025 15:14
- Introduced a new homepage layout (home-v2) with a modern, social media-inspired design.
- Implemented CSS styles in _sass/components/_home-v2.scss for layout aesthetics and responsiveness.
- Added JavaScript functionality in assets/js/home-v2.js for interactive features like stories navigation, post filtering, and share actions.
- Updated extended.scss and main.scss to include the new home-v2 styles.
- Created documentation (docs/home-v2-layout.md) detailing features, usage, and customization options for the new layout.
- Updated layouts.md to include a summary of the home-v2 layout and its key features.
- Changed the index.html layout to use home-v2 for the main page.
…-inspired home layout post with engaging features
@awcodify awcodify requested a review from Copilot May 30, 2025 08:42
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR introduces a new social media–inspired homepage (home-v2), updates documentation and navigation to surface the new layout, and adds a site-statistics widget plus minor style and template tweaks.

  • Added home-v2 layout, supporting templates, scripts, and styles
  • Updated documentation, navigation, and README to reference the new layout
  • Introduced an optional site statistics widget and improved comments wrapper integration

Reviewed Changes

Copilot reviewed 23 out of 23 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
v2.md New front-matter page for /v2/ layout
docs/layouts.md Added “Home-v2 Layout” section and usage example
docs/index.md Linked new layout in docs index
assets/js/home-v2.js Interactive JS for view toggles, filter tabs, and animations
assets/css/main.scss Imported components/home-v2
assets/css/extended.scss Imported components/home-v2 in extended styles
_sass/components/_search.scss Removed redundant border rules
_sass/components/_pagination.scss Revised responsive pagination layout
_posts/2025-05-30-introducing-social-media-inspired-home-layout.md Announcement post for home-v2
_posts/2025-05-14-new-features-in-arsxy-theme.md Adjusted category capitalization in front-matter
_posts/2025-05-13-configurable-hero-section.md Adjusted category capitalization; removed featured flag
_posts/2025-05-13-advanced-arsxy-theme-features.md Added featured: true flag
_posts/2025-05-12-welcome-to-arsxy-theme.md Removed featured flag from sample post
_layouts/home-v2.html New template for social media–style homepage
_layouts/default.html Conditionally loads home-v2.js script
_includes/post-feed-v2.html New include for post feed with avatars, badges, actions
_includes/giscus.html Added id="comments-wrapper" for post actions
_config.yml Added “V2” navigation link and stats widget config
README.md Updated features list to include social layout
Comments suppressed due to low confidence (3)

_posts/2025-05-14-new-features-in-arsxy-theme.md:4

  • [nitpick] The category updates is lowercase while Features is capitalized. Consider consistent capitalization (e.g. [Features, Updates]) to avoid splitting categories in Jekyll.
categories: [Features, updates]

_posts/2025-05-13-configurable-hero-section.md:4

  • [nitpick] Mixed capitalization in categories (Features vs customization). Standardize to [Features, Customization] for consistency.
categories: [Features, customization]

assets/js/home-v2.js:1

  • The new interactive features in home-v2.js (view toggles, filter tabs, animations) lack accompanying unit or integration tests. Consider adding tests to validate these behaviors and prevent regressions.
// Social Media Inspired Homepage (home-v2) JavaScript

@awcodify awcodify requested a review from Copilot May 30, 2025 08:52
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds a new social media–inspired home-v2 layout to the Jekyll theme, updates navigation and documentation, and enables a site statistics widget.

  • Introduce home-v2 layout, assets, and scripts for Instagram-style stories, post cards, view toggles, and filters
  • Update docs and navigation to reference the new layout
  • Enable and document a site statistics widget

Reviewed Changes

Copilot reviewed 23 out of 23 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
v2.md Added frontmatter for the /v2 landing page
docs/layouts.md Documented the new home-v2 layout
docs/index.md Added link to the Home-v2 layout
assets/js/home-v2.js New JS for view toggles, filters, and animations
assets/css/main.scss Imported home-v2 component styles
assets/css/extended.scss Imported home-v2 component styles
_sass/components/_search.scss Removed redundant borders
_sass/components/_pagination.scss Refactored mobile pagination styles
_posts/2025-05-30-introducing-social-media-inspired… New blog post announcing the home-v2 layout
_posts/2025-05-14-new-features-in-arsxy-theme.md Adjusted category casing in frontmatter
_posts/2025-05-13-configurable-hero-section.md Adjusted category casing, removed duplicate featured
_posts/2025-05-13-advanced-arsxy-theme-features.md Added featured: true flag
_posts/2025-05-12-welcome-to-arsxy-theme.md Removed outdated featured flag
_layouts/home-v2.html New layout template for home-v2
_layouts/default.html Conditional inclusion of home-v2.js
_includes/post-feed-v2.html New include for post cards with v2 features
_includes/giscus.html Added id="comments-wrapper" for anchor linking
_config.yml Enabled stats widget and added “V2” nav entry
README.md Updated feature list with home-v2 layout
Comments suppressed due to low confidence (2)

_posts/2025-05-14-new-features-in-arsxy-theme.md:4

  • [nitpick] Category names use inconsistent casing—consider standardizing (e.g., all lowercase or Title Case).
categories: [Features, updates]

_posts/2025-05-13-configurable-hero-section.md:4

  • [nitpick] Category names use inconsistent casing—consider standardizing across posts for consistency.
categories: [Features, customization]

{% endif %}
{% include post-feed-v2.html posts=posts_to_show %}

<!-- Fetured Posts Section -->
Copy link

Copilot AI May 30, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Typo in comment: "Fetured" should be "Featured".

Suggested change
<!-- Fetured Posts Section -->
<!-- Featured Posts Section -->

Copilot uses AI. Check for mistakes.
Comment on lines +40 to +57
postsContainer.style.display = 'grid';
postsContainer.style.gridTemplateColumns = 'repeat(auto-fit, minmax(350px, 1fr))';
postsContainer.style.gap = '1.5rem';

// Adjust post cards for grid view
document.querySelectorAll('.post-card').forEach(card => {
card.style.marginBottom = '0';
});
} else {
postsContainer.classList.remove('grid-view');
postsContainer.style.display = 'flex';
postsContainer.style.flexDirection = 'column';
postsContainer.style.gap = '2rem';
postsContainer.style.gridTemplateColumns = 'none';

// Reset post cards for feed view
document.querySelectorAll('.post-card').forEach(card => {
card.style.marginBottom = '';
Copy link

Copilot AI May 30, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[nitpick] Multiple inline style assignments can be hard to maintain; consider toggling CSS classes instead of setting many inline styles.

Suggested change
postsContainer.style.display = 'grid';
postsContainer.style.gridTemplateColumns = 'repeat(auto-fit, minmax(350px, 1fr))';
postsContainer.style.gap = '1.5rem';
// Adjust post cards for grid view
document.querySelectorAll('.post-card').forEach(card => {
card.style.marginBottom = '0';
});
} else {
postsContainer.classList.remove('grid-view');
postsContainer.style.display = 'flex';
postsContainer.style.flexDirection = 'column';
postsContainer.style.gap = '2rem';
postsContainer.style.gridTemplateColumns = 'none';
// Reset post cards for feed view
document.querySelectorAll('.post-card').forEach(card => {
card.style.marginBottom = '';
postsContainer.classList.remove('feed-view');
// Adjust post cards for grid view
document.querySelectorAll('.post-card').forEach(card => {
card.classList.add('grid-post-card');
card.classList.remove('feed-post-card');
});
} else {
postsContainer.classList.add('feed-view');
postsContainer.classList.remove('grid-view');
// Reset post cards for feed view
document.querySelectorAll('.post-card').forEach(card => {
card.classList.add('feed-post-card');
card.classList.remove('grid-post-card');

Copilot uses AI. Check for mistakes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants