Skip to content

edit footer in Contact Us page - #14

Open
WatthanakornR wants to merge 1 commit into
mainfrom
feat/ConactUsFooter
Open

WatthanakornR wants to merge 1 commit into
mainfrom
feat/ConactUsFooter

Conversation

@WatthanakornR

Copy link
Copy Markdown
Contributor

edit footer in contact us page to bottom

@vercel

vercel Bot commented Nov 12, 2025

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
intania-jobfair Ready Ready Preview Comment Nov 12, 2025 1:31pm

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

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 implements a sticky footer for the Contact Us page by modifying the root layout to use flexbox layout and enhancing the Contact page with responsive design improvements.

  • Added flexbox layout classes to the root <body> element with flex min-h-screen flex-col
  • Applied flex-1 class to the <main> element to push footer to bottom
  • Refactored Contact page with responsive typography and improved spacing using Tailwind breakpoints

Reviewed Changes

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

File Description
app/layout.tsx Added flexbox layout classes to body and main elements to create sticky footer pattern
app/contact/page.tsx Enhanced responsive design with breakpoint-specific typography, improved spacing, and restructured layout

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread app/contact/page.tsx
{/* CDC Section */}
<div className="flex flex-col gap-4 sm:gap-5">
<div className="flex flex-col gap-3">
<h2 className="body-th-3 font-bold text-[#102E50] text-base sm:text-lg md:text-xl">

Copilot AI Nov 12, 2025

Copy link

Choose a reason for hiding this comment

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

The body-th-3 class is being overridden by responsive text size utilities (text-base sm:text-lg md:text-xl). According to globals.css, body-th-3 sets font-size: 12px and line-height: 16px, which conflicts with the responsive sizing. Consider removing body-th-3 or creating a dedicated class that doesn't include conflicting font-size values.

Copilot uses AI. Check for mistakes.
Comment thread app/contact/page.tsx
<h2 className="body-th-3 font-bold text-[#102E50] text-base sm:text-lg md:text-xl">
ศูนย์พัฒนาสมรรถนะและความพร้อมทางอาชีพ (CDC)
</h2>
<p className="body-th-3 font-bold text-[#102E50] text-sm sm:text-base md:text-lg">

Copilot AI Nov 12, 2025

Copy link

Choose a reason for hiding this comment

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

The body-th-3 class is being overridden by responsive text size utilities (text-sm sm:text-base md:text-lg). According to globals.css, body-th-3 sets font-size: 12px and line-height: 16px, which conflicts with the responsive sizing. Consider removing body-th-3 or creating a dedicated class that doesn't include conflicting font-size values.

Copilot uses AI. Check for mistakes.
Comment thread app/contact/page.tsx
<Phone width={18} height={18} className="shrink-0 text-[#102E50]" />
<a
href="tel:02-218-6349"
className="body-th-3 text-sm text-[#102E50] hover:opacity-80 sm:text-base md:text-lg"

Copilot AI Nov 12, 2025

Copy link

Choose a reason for hiding this comment

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

The body-th-3 class is being overridden by responsive text size utilities (text-sm sm:text-base md:text-lg). According to globals.css, body-th-3 sets font-size: 12px and line-height: 16px, which conflicts with the responsive sizing. Consider removing body-th-3 or creating a dedicated class that doesn't include conflicting font-size values.

Copilot uses AI. Check for mistakes.
Comment thread app/contact/page.tsx
<Mail width={18} height={18} className="shrink-0 text-[#102E50]" />
<a
href="mailto:cdc@eng.chula.ac.th"
className="body-th-3 text-sm text-[#102E50] hover:opacity-80 sm:text-base md:text-lg"

Copilot AI Nov 12, 2025

Copy link

Choose a reason for hiding this comment

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

The body-th-3 class is being overridden by responsive text size utilities (text-sm sm:text-base md:text-lg). According to globals.css, body-th-3 sets font-size: 12px and line-height: 16px, which conflicts with the responsive sizing. Consider removing body-th-3 or creating a dedicated class that doesn't include conflicting font-size values.

Copilot uses AI. Check for mistakes.
Comment thread app/contact/page.tsx
{/* Academic Affairs Section */}
<div className="flex flex-col gap-4 sm:gap-5">
<div className="flex flex-col gap-3">
<h2 className="body-th-3 font-bold text-[#102E50] text-base sm:text-lg md:text-xl">

Copilot AI Nov 12, 2025

Copy link

Choose a reason for hiding this comment

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

The body-th-3 class is being overridden by responsive text size utilities (text-base sm:text-lg md:text-xl). According to globals.css, body-th-3 sets font-size: 12px and line-height: 16px, which conflicts with the responsive sizing. Consider removing body-th-3 or creating a dedicated class that doesn't include conflicting font-size values.

Copilot uses AI. Check for mistakes.
Comment thread app/contact/page.tsx
href="https://www.instagram.com/academic.esc"
target="_blank"
rel="noopener noreferrer"
className="body-th-3 text-sm text-[#102E50] hover:opacity-80 sm:text-base md:text-lg"

Copilot AI Nov 12, 2025

Copy link

Choose a reason for hiding this comment

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

The body-th-3 class is being overridden by responsive text size utilities (text-sm sm:text-base md:text-lg). According to globals.css, body-th-3 sets font-size: 12px and line-height: 16px, which conflicts with the responsive sizing. Consider removing body-th-3 or creating a dedicated class that doesn't include conflicting font-size values.

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