Skip to content

issue #244 - Update landing page design #278

Merged
sumn2u merged 1 commit intosumn2u:mainfrom
dinuone:issue-244
Jul 27, 2025
Merged

issue #244 - Update landing page design #278
sumn2u merged 1 commit intosumn2u:mainfrom
dinuone:issue-244

Conversation

@dinuone
Copy link
Copy Markdown
Contributor

@dinuone dinuone commented Jul 26, 2025

Features

  • Update landing page to clean design
  • Add some Icons

@vercel
Copy link
Copy Markdown

vercel Bot commented Jul 26, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
learn-javascript ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 26, 2025 0:38am

@dinuone dinuone changed the title update landing page desing issue #244 - Update landing page design Jul 26, 2025
@sumn2u sumn2u requested a review from Copilot July 27, 2025 11:07
Copy link
Copy Markdown
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 completely redesigns the landing page with a modern, clean interface to improve user experience and visual appeal. The changes transform the basic language selection page into a comprehensive hero-driven layout with enhanced typography, icons, and interactive elements.

  • Replaces the SVG-based cover layout with a modern hero section featuring gradient text and 3D book cover effects
  • Transforms the basic list of languages into a responsive card-based grid with preview and download actions
  • Adds comprehensive styling with CSS custom properties, animations, and responsive design
Comments suppressed due to low confidence (1)

_layouts/website/languages.html:7

  • Font Awesome version 6.4.0 may not exist or be available. Consider using a more recent stable version like 6.5.1 or verify the version exists.
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">

</div>
</div>

<style>
Copy link

Copilot AI Jul 27, 2025

Choose a reason for hiding this comment

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

Embedding 350+ lines of CSS directly in the HTML template creates maintainability issues. Consider moving the styles to a separate CSS file or using a CSS-in-JS solution for better organization and reusability.

Copilot uses AI. Check for mistakes.
--card-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

body {
Copy link

Copilot AI Jul 27, 2025

Choose a reason for hiding this comment

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

Applying global body styles within a component template can cause conflicts with existing site styles. Consider scoping these styles to a specific container class instead.

Suggested change
body {
.language-selector-container {

Copilot uses AI. Check for mistakes.
Comment on lines +136 to +142
color: var(--dark-color);
font-weight: 800;
line-height: 1.2;
background: linear-gradient(90deg, #4361ee, #3a0ca3);
-webkit-background-clip: text;
background-clip: text;
color: transparent;
Copy link

Copilot AI Jul 27, 2025

Choose a reason for hiding this comment

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

Using gradient text with color: transparent may cause accessibility issues as the text may not be visible in high contrast mode or if CSS fails to load. Consider providing a fallback color.

Suggested change
color: var(--dark-color);
font-weight: 800;
line-height: 1.2;
background: linear-gradient(90deg, #4361ee, #3a0ca3);
-webkit-background-clip: text;
background-clip: text;
color: transparent;
color: #4361ee; /* Fallback color for accessibility */
font-weight: 800;
line-height: 1.2;
background: linear-gradient(90deg, #4361ee, #3a0ca3);
-webkit-background-clip: text;
background-clip: text;
color: transparent; /* Transparent color for gradient text */

Copilot uses AI. Check for mistakes.
box-shadow: var(--card-shadow);
transform: rotateY(-10deg);
transition: transform 0.5s ease;
position: relative;
Copy link

Copilot AI Jul 27, 2025

Choose a reason for hiding this comment

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

The 3D transform effect on the book cover may cause motion sensitivity issues for some users. Consider respecting the prefers-reduced-motion media query to disable animations for users who prefer reduced motion.

Suggested change
position: relative;
position: relative;
}
@media (prefers-reduced-motion: reduce) {
.book-cover {
transform: none;
transition: none;
}

Copilot uses AI. Check for mistakes.
@sumn2u
Copy link
Copy Markdown
Owner

sumn2u commented Jul 27, 2025

Nice work @dinuone. Loved the updated UI.

Fixes #244

@sumn2u sumn2u merged commit a327f52 into sumn2u:main Jul 27, 2025
3 checks passed
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.

3 participants