Skip to content

Commit b02381e

Browse files
committed
New Website: Home Page, Hero Section, and Footer Improvements
1 parent b9c4526 commit b02381e

File tree

16 files changed

+34
-36
lines changed

16 files changed

+34
-36
lines changed

new-dti-website/components/footer.tsx

+3-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,9 @@ const Footer: React.FC<FooterProps> = ({ theme }) => (
5151
theme === 'dark' ? 'bg-black text-neutral-50' : 'bg-[#F5F5F5] text-[#0C0404]'
5252
} w-full h-[146px] md:px-10 lg:px-[60px] flex justify-between items-center md:flex-row flex-col`}
5353
>
54-
<div className="sm:w-[336px] sm:text-center md:text-lg md:w-[310px] md:text-left lg:w-full text-sm font-medium flex items-center ">
54+
<div
55+
className={`sm:w-[336px] sm:text-center md:text-lg md:w-[310px] md:text-left lg:w-full text-sm font-medium flex items-center ${theme === 'dark' ? 'text-gray-300' : 'text-black'}`}
56+
>
5557
© {new Date().getFullYear()} Cornell Digital Tech & Innovation Project Team
5658
</div>
5759
<div className="flex gap-5 md:h-fit h-screen">

new-dti-website/components/slideshow.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@ const imageNames = [
1919
const ImageHeader: React.FC<{ imageName: string }> = ({ imageName }) => (
2020
<div className="md:p-4 xs:p-2 flex items-center rounded-[20px] gap-2">
2121
<img src="/images/folder_icon.png" alt="Folder" className="xs:h-3 md:h-6" />
22-
<span className={`font-medium xs:text-[10px] md:text-[22px] ${ibm_plex_mono.className}`}>
22+
<span className={`font-medium xs:text-[8px] md:text-[16px] ${ibm_plex_mono.className}`}>
2323
cornell-dti
2424
</span>
25-
<span className={`ml-auto font-medium md:text-[14px] xs:text-[7px] ${ibm_plex_mono.className}`}>
25+
<span className={`ml-auto font-medium md:text-[16px] xs:text-[8px] ${ibm_plex_mono.className}`}>
2626
{imageName}
2727
</span>
2828
</div>

new-dti-website/components/team/TeamHero.tsx

+3-4
Original file line numberDiff line numberDiff line change
@@ -157,11 +157,10 @@ const TeamHero = () => {
157157
</h1>
158158
</div>
159159
<div className="flex flex-col justify-center gap-6">
160-
<h2 className="font-bold md:text-[40px] xs:text-2xl">
161-
<span className="text-[#877B7B]">Working</span>{' '}
162-
<span className="italic">together</span>
160+
<h2 className="font-bold md:text-[40px] xs:text-2xl text-heroPrimary">
161+
Working together
163162
</h2>
164-
<p className="md:text-lg xs:text-sm">
163+
<p className="md:text-lg xs:text-sm text-heroSecondary">
165164
We are Cornell DTI. But individually, we are a{' '}
166165
<span className="font-bold">talented, diverse group of students</span> from different
167166
colleges and countries striving to make a difference in the Cornell community and

new-dti-website/public/email.svg

+1-1
Loading

new-dti-website/public/facebook.svg

+1-1
Loading

new-dti-website/public/github.svg

+1-1
Loading

new-dti-website/public/instagram.svg

+1-1
Loading

new-dti-website/public/linkedin.svg

+1-1
Loading

new-dti-website/public/medium.svg

+1-1
Loading

new-dti-website/src/app/apply/page.tsx

+3-3
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,11 @@ const ApplyHero = () => (
2828
<div className="flex flex-col gap-6">
2929
<h2
3030
className="font-bold md:text-[40px] xs:text-[24px] md:leading-[48px]
31-
xs:leading-[29px] text-[#877B7B]"
31+
xs:leading-[29px] text-heroPrimary"
3232
>
33-
Down to <span className="text-[#E4E4E4] italic">innovate?</span>
33+
Down to innovate?
3434
</h2>
35-
<p className="md:text-lg xs:text-sm">
35+
<p className="md:text-lg xs:text-sm text-heroSecondary">
3636
<span className="font-bold">We strive for inclusivity</span>, and encourage passionate
3737
applicants to apply regardless of experience. We'd love to work with someone like you.
3838
</p>

new-dti-website/src/app/course/page.tsx

+4-6
Original file line numberDiff line numberDiff line change
@@ -81,15 +81,13 @@ export default function Courses() {
8181
</div>
8282

8383
<div className="flex flex-col justify-center gap-6 ">
84-
<h2 className="font-bold md:text-[40px] xs:text-2xl">
85-
<span className="text-[#877B7B]">Teaching the</span>{' '}
86-
<span className="italic">community</span>
84+
<h2 className="font-bold md:text-[40px] xs:text-2xl text-heroPrimary">
85+
Teaching the community
8786
</h2>
88-
<p className="md:text-lg xs:text-sm">
87+
<p className="md:text-lg xs:text-sm text-heroSecondary">
8988
A project team is meant, above all, to be a learning experience. Given our mission
9089
of <span className="font-black">community impact</span>, we want to help everyone{' '}
91-
<span className="font-black">learn and grow</span>
92-
through our training course in{' '}
90+
<span className="font-black">learn and grow</span> through our training course in{' '}
9391
<span className="font-black">product development.</span>
9492
</p>
9593
</div>

new-dti-website/src/app/initiatives/page.tsx

+3-3
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,11 @@ const InitiativeHero = () => (
2424
<div className="flex flex-col gap-6">
2525
<h2
2626
className="font-bold md:text-[40px] xs:text-[24px] md:leading-[48px]
27-
xs:leading-[29px] text-[#877B7B]"
27+
xs:leading-[29px] text-heroPrimary"
2828
>
29-
Invigorating <span className="text-[#E4E4E4] italic">growth</span>
29+
Invigorating growth
3030
</h2>
31-
<p className="md:text-lg xs:text-sm">
31+
<p className="md:text-lg xs:text-sm text-heroSecondary">
3232
What sets us apart from other project teams is our desire to{' '}
3333
<span className="font-bold">share our discoveries</span> with other students and members
3434
of the greater Ithaca community.

new-dti-website/src/app/page.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ const Home: React.FC = () => {
9696
<div className="flex flex-row grow h-full justify-evenly lg:gap-24 items-center lg:px-24 md:px-10 xs:px-4 mt-5">
9797
<div className="flex flex-col md:gap-8 xs:gap-4 xs:w-full lg:w-5/12">
9898
<h2 className="text-white md:text-[40px] xs:text-[28px] z-10 font-medium">
99-
Cornell Digital Tech & Innovation Project Team
99+
Building the Future of Tech @ Cornell
100100
</h2>
101101
<div className="flex justify-center">
102102
{width < LAPTOP_BREAKPOINT && <Slideshow selectedImage={selectedIcon} />}

new-dti-website/src/app/products/page.tsx

+3-5
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,11 @@ export default function Page() {
2929
</div>
3030
<div className="flex flex-col justify-center w-fit gap-y-6 z-10">
3131
<div className="flex flex-row">
32-
<div className="RealImpact text-[24px] leading-[29.05px] font-bold md:text-[40px] md:leading-[48.41px]">
33-
<span className="text-neutral-400">Real</span>
34-
<span className="text-white font-medium"> </span>
35-
<span className="text-neutral-200 italic">impact</span>
32+
<div className="RealImpact text-[24px] leading-[29.05px] font-bold md:text-[40px] md:leading-[48.41px] text-heroPrimary">
33+
Real impact
3634
</div>
3735
</div>
38-
<p className="text-[#FFFFFF] xs:max-w-none md:text-lg md:leading-[21.78px] text-[14px] leading-[16.94px] md:max-w-md max-w-[314px] z-10">
36+
<p className="text-heroSecondary xs:max-w-none md:text-lg md:leading-[21.78px] text-[14px] leading-[16.94px] md:max-w-md max-w-[314px] z-10">
3937
Each of our projects address an unfulfilled need that exists in our community using
4038
<span className="font-semibold">
4139
{' '}

new-dti-website/src/app/sponsor/page.tsx

+3-4
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,10 @@ const SponsorHero = () => {
3535
</h1>
3636
</div>
3737
<div className="flex flex-col justify-center gap-6">
38-
<h2 className="font-bold md:text-[40px] xs:text-2xl">
39-
<span className="text-[#877B7B] leading-[50px]">Let's</span>{' '}
40-
<span className="italic leading-[50px]">collaborate</span>
38+
<h2 className="font-bold md:text-[40px] xs:text-2xl text-heroPrimary">
39+
Let's collaborate
4140
</h2>
42-
<p className="md:text-lg xs:text-sm">
41+
<p className="md:text-lg xs:text-sm text-heroSecondary">
4342
The generous contributions of our supporters and sponsors allow our team to continue
4443
building products and hosting initiatives to{' '}
4544
<span className="font-bold">help the Cornell and Ithaca communities.</span>

new-dti-website/tailwind.config.ts

+3-1
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,9 @@ module.exports = {
6262
card: {
6363
DEFAULT: 'hsl(var(--card))',
6464
foreground: 'hsl(var(--card-foreground))'
65-
}
65+
},
66+
heroPrimary: 'rgba(255, 255, 255)',
67+
heroSecondary: 'rgba(255, 255, 255, 0.7)'
6668
},
6769
borderRadius: {
6870
lg: 'var(--radius)',

0 commit comments

Comments
 (0)