diff --git a/public/Ellipse240.png b/public/Ellipse240.png deleted file mode 100644 index 2f629fa..0000000 Binary files a/public/Ellipse240.png and /dev/null differ diff --git a/public/Ellipse241.png b/public/Ellipse241.png deleted file mode 100644 index 027cbad..0000000 Binary files a/public/Ellipse241.png and /dev/null differ diff --git a/public/Ellipse242.png b/public/Ellipse242.png deleted file mode 100644 index b9d000a..0000000 Binary files a/public/Ellipse242.png and /dev/null differ diff --git a/public/Ellipse243.png b/public/Ellipse243.png deleted file mode 100644 index 35d0ba4..0000000 Binary files a/public/Ellipse243.png and /dev/null differ diff --git a/public/PhamGiaTue.jpg b/public/PhamGiaTue.jpg deleted file mode 100644 index d5fc967..0000000 Binary files a/public/PhamGiaTue.jpg and /dev/null differ diff --git a/src/App.css b/src/App.css index 7029626..10ff32b 100644 --- a/src/App.css +++ b/src/App.css @@ -323,22 +323,69 @@ a:hover { } /* Responsive */ + @media (max-width: 1024px) { html { font-size: 15px; } + h1 { font-size: 3rem; } h2 { font-size: 2.25rem; } h3 { font-size: 1.75rem; } + + /* Prevent team member circle from exceeding width */ + .member-card, + .team-member { + width: 100% !important; + } + + .member-image { + max-width: 160px; + height: auto; + } } @media (max-width: 768px) { html { font-size: 14px; } + .section { padding: 4rem 0; } .section-title { font-size: 2rem; } + + /* Stack items vertically */ + .team-row { + flex-direction: column !important; + align-items: center !important; + gap: 2rem; + } + + .member-image { + max-width: 150px; + height: auto; + } } @media (max-width: 480px) { h1 { font-size: 2.25rem; } h2 { font-size: 1.75rem; } h3 { font-size: 1.5rem; } + .btn { padding: 0.6rem 1.25rem; } -} + + /* Center everything cleanly on mobile */ + .team-row { + flex-direction: column !important; + gap: 1.5rem; + } + + .member-image { + max-width: 130px; + height: auto; + } + + /* Prevent image circles from pushing layout */ + .member-card { + width: 100%; + display: flex; + flex-direction: column; + align-items: center; + overflow: hidden; + } +} \ No newline at end of file diff --git a/src/App.js b/src/App.js index a09acc4..825cba8 100644 --- a/src/App.js +++ b/src/App.js @@ -565,7 +565,7 @@ function App() { fontFamily: 'Fjalla One, sans-serif', fontWeight: 'bold' }}> - About + About - our team + our team @@ -604,7 +604,7 @@ function App() { alt={`Team member ${item}`} style={{ width: '100%', - height: 'auto', + height: '150px', display: 'block', transition: 'transform 0.5s ease' }} @@ -648,42 +648,72 @@ function App() { {Object.entries(membersData).map(([role, members]) => (
-

+

{role}

-
+ +
{members.map((member, index) => ( -
- {member.name} +
+ {member.name} +
+ +

-

{member.name}

+ > + {member.name} +

))}
diff --git a/src/components/InfoCards/InfoCards.jsx b/src/components/InfoCards/InfoCards.jsx index fc75cfa..d16d472 100644 --- a/src/components/InfoCards/InfoCards.jsx +++ b/src/components/InfoCards/InfoCards.jsx @@ -6,39 +6,80 @@ import { FaBookOpen, FaCalendarAlt, FaBox } from 'react-icons/fa'; const InfoCards = () => { return (
+ + {/* Resource Hub */}
+

UIT Resource Hub

-

Nền tảng tổng hợp, chia sẻ và cập nhật liên tục các ưu đãi phần mềm bản quyền, công cụ học tập, tài liệu học thuật và kỹ thuật dành riêng cho sinh viên UIT.

-
Available Now
+

+ Nền tảng tổng hợp, chia sẻ và cập nhật liên tục các ưu đãi phần mềm bản quyền, + công cụ học tập, tài liệu học thuật và kỹ thuật dành riêng cho sinh viên UIT. +

+ + + Available Now +
- + + {/* MMTT */} -
+
+

SVUIT - MMTT

-

Một kho tài liệu học tập đa dạng và phong phú, cung cấp cho sinh viên UIT một nguồn tài nguyên từ các môn đại cương đến các môn cơ sở ngành và chuyên ngành.

-
Available Now
+

+ Một kho tài liệu học tập đa dạng và phong phú, cung cấp cho sinh viên UIT một + nguồn tài nguyên từ các môn đại cương đến các môn cơ sở ngành và chuyên ngành. +

+ + + Available Now +
+ {/* Awesome Projects */}
-

Awesome Projects

-

Nơi sinh viên có thể tìm thấy các đề án, đồ án môn học, công cụ hỗ trợ, và tài liệu học tập hữu ích thuộc từng lĩnh vực Công nghệ thông tin.

-
-
Available Now
+ +

Awesome Projects

+

+ Nơi sinh viên có thể tìm thấy các đề án, đồ án môn học, công cụ hỗ trợ, + và tài liệu học tập hữu ích thuộc từng lĩnh vực Công nghệ thông tin. +

+
+ + + Available Now +
+
); };