Skip to content

Fix/hero 100vh - #28

Merged
kamycoding merged 2 commits into
mainfrom
fix/hero-100vh
Aug 10, 2026
Merged

Fix/hero 100vh#28
kamycoding merged 2 commits into
mainfrom
fix/hero-100vh

Conversation

@kamycoding

Copy link
Copy Markdown
Owner

No description provided.

Copilot AI lite review requested due to automatic review settings August 10, 2026 22:31
@netlify

netlify Bot commented Aug 10, 2026

Copy link
Copy Markdown

Deploy Preview for fanciful-cannoli-268c0c ready!

Name Link
🔨 Latest commit efc5977
🔍 Latest deploy log https://app.netlify.com/projects/fanciful-cannoli-268c0c/deploys/6a7a51521c074700082bd1da
😎 Deploy Preview https://deploy-preview-28--fanciful-cannoli-268c0c.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@kamycoding
kamycoding merged commit 6570ee8 into main Aug 10, 2026
5 checks passed
@kamycoding
kamycoding deleted the fix/hero-100vh branch August 10, 2026 22:32

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: efc5977e72

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread src/app/app.routes.ts
component: ProjectDetail,
canActivate: [projectDetailGuard],
title: 'Project - Kamycoding',
data: { titleKey: 'pageTitles.projectDetail' },

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Preserve the project-specific title after language changes

When the user switches languages while viewing a project, LocalizedTitleStrategy reacts to this new key and sets the document title to the generic Project | KamyCoding/Projekt | KamyCoding. The component's title effect only depends on the project signal, so it does not rerun to restore Join | KamyCoding, causing every project page to lose its specific title after a language change.

Useful? React with 👍 / 👎.

Comment on lines +181 to +184
.hero__polaroid {
width: 165px;
height: 198px;
}

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Fit the shortened polaroid around its children

On viewports at most 700px tall, this 198px border-box still contains 14px top padding, the newly configured 143px portrait, and the unchanged 54px caption, requiring 211px in total. Since the figure does not hide overflow, the caption extends 13px beyond the white polaroid background on the exact short-mobile layouts this media query targets.

Useful? React with 👍 / 👎.

Comment on lines 7 to +8
min-height: 812px;
min-height: 100svh;

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Size the desktop stage with the viewport-height hero

At desktop widths where the viewport is taller than the stage's 8 / 5 aspect-ratio height (for example, 1920×1080 or a 1024px-wide portrait tablet), this minimum expands .hero while .hero__stage remains capped by its width and 900px maximum. All stage-relative content—including the social navigation positioned from the stage bottom—therefore stays near the top, leaving a large empty strip before the next section instead of laying out across the new viewport-height hero.

Useful? React with 👍 / 👎.

Copilot AI left a comment

Copy link
Copy Markdown

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 primarily targets layout/SEO improvements on the portfolio site: it updates the home hero section’s viewport-height behavior, refines contact form field layout, and extends localized page title support for the project detail route.

Changes:

  • Add an HTML meta description for improved SEO/social previews.
  • Adjust hero section sizing using svh/dvh and add a small-viewport media tweak.
  • Update contact field layout to grid and refine invalid/placeholder behavior; localize the project detail route title and add i18n keys/quote text updates.

Reviewed changes

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

Show a summary per file
File Description
src/index.html Adds a meta description tag for SEO.
src/app/pages/home/sections/hero/hero.css Updates hero min-height to modern viewport units and adds a small-viewport media rule.
src/app/pages/home/sections/contact/contact.css Refactors contact field layout to grid and changes invalid/placeholder styling logic.
src/app/app.routes.ts Switches project detail route title handling to an i18n key in route data.
public/i18n/en.json Adds pageTitles.projectDetail and updates testimonial quote text.
public/i18n/de.json Adds pageTitles.projectDetail and updates testimonial quote text.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment on lines +74 to 76
.contact-field--invalid:has(:placeholder-shown) ::placeholder {
color: transparent;
}
Comment thread src/app/app.routes.ts
Comment on lines 25 to 30
{
path: 'projects/:slug',
component: ProjectDetail,
canActivate: [projectDetailGuard],
title: 'Project - Kamycoding',
data: { titleKey: 'pageTitles.projectDetail' },
},
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