Skip to content

Commit

Permalink
Clement remove bold font weight everywhere (#787)
Browse files Browse the repository at this point in the history
fixes
[this](https://www.notion.so/Idol-Lead-Sync-781de97ad403492b94b420349f829ea5?pvs=4#1550ad723ce1804f8cb6ccc71c673a54)


removes font weight bold
sorry no time for screenshots 🙃
  • Loading branch information
Bookie0 authored Dec 8, 2024
1 parent 6f71a8c commit 8f8ff8d
Show file tree
Hide file tree
Showing 11 changed files with 31 additions and 65 deletions.
9 changes: 4 additions & 5 deletions new-dti-website/components/bottom.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -124,8 +124,8 @@ const Bottom: React.FC = () => (
</h2>
</div>
<p className="md:text-xs lg:text-lg">
We strive to build initiatives not only at Cornell, but also in the{' '}
<span className="font-bold">Ithaca community and beyond</span>.
We strive to build initiatives not only at Cornell, but also in the Ithaca community and
beyond.
</p>
<a href="/initiatives" className="primary-button">
How we give back
Expand Down Expand Up @@ -153,9 +153,8 @@ const Bottom: React.FC = () => (
<h3 className="text-lg font-semibold md:text-xl lg:text-[32px]">We're a family</h3>
</div>
<p className="md:text-xs lg:text-lg">
We <span className="font-bold">solve real problems around us</span> to make our community
better, while fostering our personal growth to{' '}
<span className="font-bold">teach others from our experience.</span>
We solve real problems around us to make our community better, while fostering our
personal growth to teach others from our experience.
</p>
<div className="flex flex-row gap-x-3">
<a href="/team" className="primary-button">
Expand Down
21 changes: 3 additions & 18 deletions new-dti-website/components/initiatives/InitiativeDisplay.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,20 +13,10 @@ type InitiativeProps = {
icon: ImageProps;
image: ImageProps;
description: string;
eventName: string;
className?: string;
};

const Initiative = ({
title,
subtitle,
icon,
image,
description,
eventName,
className
}: InitiativeProps) => {
const parts = description.split(new RegExp(`(${eventName})`));
const Initiative = ({ title, subtitle, icon, image, description, className }: InitiativeProps) => {
const { width } = useScreenSize();

return (
Expand All @@ -49,7 +39,7 @@ const Initiative = ({
width >= LAPTOP_BREAKPOINT ? inter.className : ibm_plex_mono.className
}`}
>
{parts.map((part, index) => (part === eventName ? <b key={index}>{part}</b> : part))}
{description}
</p>
</article>
);
Expand All @@ -58,7 +48,6 @@ const Initiative = ({
const InitiativeDisplay = () => {
const { width } = useScreenSize();
const { featured } = initiatives;
const parts = featured.description.split(new RegExp(`(${featured.eventName})`));

return (
<section id="initiative-display" className="bg-white text-black flex justify-center my-24">
Expand All @@ -68,11 +57,7 @@ const InitiativeDisplay = () => {
<div className="flex flex-col gap-8">
<h3 className="font-semibold text-[40px] leading-[48px]">{featured.subtitle}</h3>
<p className="font-semibold text-[22px] leading-[26px]">{featured.title}</p>
<p className="section-text !leading-[28px]">
{parts.map((part, index) =>
part === featured.eventName ? <b key={index}>{part}</b> : part
)}
</p>
<p className="section-text !leading-[28px]">{featured.description}</p>
</div>
<div className="flex items-center">
<Image {...featured.image} className="rounded-xl" />
Expand Down
12 changes: 4 additions & 8 deletions new-dti-website/components/initiatives/data/initiatives.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@
"height": 328
},
"description": "At the Tompkins County Public Library, our members give children in the Ithaca community the opportunity to grow and learn about other technical careers. We introduce code and design through beginner-friendly, interactive workshops with Cornell students, providing individualized feedback. Young students can learn Scratch to create their own games and animations, and Figma to make eye-catching visuals with shapes, colors, and more!",
"mobileDescription": "@Tompkins County Public Library, we introduced code & design with workshops that taught Figma and Sketch.",
"eventName": "Tompkins County Public Library"
"mobileDescription": "@Tompkins County Public Library, we introduced code & design with workshops that taught Figma and Sketch."
},
"standard": [
{
Expand All @@ -35,8 +34,7 @@
"height": 263
},
"description": "Our team helps host Half-Baked, an open space for individuals, project teams and organizations to present their \"half-baked\" ideas for further interdisciplinary collaboration. Past pitches have been about founding new student organizations, food truck ideas, dog parades, phone apps in-the-making, or ideas for social good. Any and all ideas are welcome!",
"mobileDescription": "@Half-Baked, individuals or teams present their \"half-baked\" ideas for further collaboration. Past pitches include food truck ideas, dog parades, or phone apps. All ideas are welcome!",
"eventName": "Half-Baked"
"mobileDescription": "@Half-Baked, individuals or teams present their \"half-baked\" ideas for further collaboration. Past pitches include food truck ideas, dog parades, or phone apps. All ideas are welcome!"
},
{
"title": "Workshops",
Expand All @@ -54,8 +52,7 @@
"height": 263
},
"description": "BigRed//Hacks is Cornell's largest and most established student-run hackathon. It features various seminars about best practices in the industry and a competition where teams of students enter a programming project around a theme. Our workshop in web development provides the foundation that helps students bring their ideas to life.",
"mobileDescription": "@BigRed//Hacks, students enter a programming project centered around a theme. Our workshop in web development supports those ideas and their skills.",
"eventName": "BigRed//Hacks"
"mobileDescription": "@BigRed//Hacks, students enter a programming project centered around a theme. Our workshop in web development supports those ideas and their skills."
},
{
"title": "Initiatives",
Expand All @@ -73,8 +70,7 @@
"height": 260
},
"description": "We collaborated with Millennium Management in Spring 2024. Members of Cornell DTI volunteered to participate in projects created by Millennium professionals introducing the team to relevant problems tackled in the industry, like building a value-at-risk model and developing an AI powered document summarizer.",
"mobileDescription": "@Millennium Management in Spring 2024, we worked with professionals to build a value-at-risk model and an AI powered document summarizer.",
"eventName": "Millennium Management"
"mobileDescription": "@Millennium Management in Spring 2024, we worked with professionals to build a value-at-risk model and an AI powered document summarizer."
}
]
}
16 changes: 6 additions & 10 deletions new-dti-website/components/team/TeamAbout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -243,11 +243,8 @@ const TeamAbout = () => (
<div className="flex flex-col md:w-1/2 gap-6">
<h2 className="font-semibold text-[32px]">We are Cornell DTI</h2>
<p className="md:text-lg xs:text-sm">
Founded in 2017, DTI is a project team of{' '}
<span className="font-bold">
80+ designers, developers, product managers, and business members
</span>{' '}
passionate about making change on campus and beyond.
Founded in 2017, DTI is a project team of 80+ designers, developers, product
managers, and business members passionate about making change on campus and beyond.
</p>
</div>
<div className={`${ibm_plex_mono.className} text-sm`}>
Expand Down Expand Up @@ -278,11 +275,10 @@ const TeamAbout = () => (
<div className="lg:w-2/3 md:w-full relative z-10 flex flex-col gap-6">
<h2 className="font-semibold text-[32px]">Who we are</h2>
<p className="text-lg leading-6">
More than just being inclusive, our team strives to{' '}
<span className="font-bold">bring many backgrounds and perspectives together</span> to
solve community problems. These statistics come from recruiting across campus and
seeking applicants with the best skills and potential for growth on the team. Updated{' '}
{config.semester}.
More than just being inclusive, our team strives to bring many backgrounds and
perspectives together solve community problems. These statistics come from recruiting
across campus and seeking applicants with the best skills and potential for growth on
the team. Updated {config.semester}.
</p>
</div>
<TeamStatistics />
Expand Down
5 changes: 2 additions & 3 deletions new-dti-website/components/team/TeamFooter.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,8 @@ const BeyondDTI = () => {
<div className="flex flex-col items-center gap-6 col-span-2 row-span-2">
<h2 className="font-semibold md:text-[32px] xs:text-[20px]">Beyond DTI</h2>
<p className="md:text-[22px] xs:text-sm !leading-7 text-center">
Our members and alumni are <span className="font-bold">all over the world</span>
, but here are just a few places you'll find the DTI family continue their
success into industry.
Our members and alumni are all over the world, but here are just a few places
you'll find the DTI family continue their success into industry.
</p>
</div>
)}
Expand Down
5 changes: 2 additions & 3 deletions new-dti-website/components/team/TeamHero.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -160,9 +160,8 @@ const TeamHero = () => {
Working together
</h2>
<p className="md:text-lg xs:text-sm text-hero-secondary md:leading-body-text">
We are Cornell DTI. But individually, we are a{' '}
<span className="font-bold">talented, diverse group of students</span> from
different colleges and countries striving to make a difference in the Cornell
We are Cornell DTI. But individually, we are a talented, diverse group of students
from different colleges and countries striving to make a difference in the Cornell
community and beyond.
</p>
</div>
Expand Down
4 changes: 2 additions & 2 deletions new-dti-website/src/app/apply/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ const ApplyHero = () => {
Down to innovate?
</h2>
<p className="md:text-lg xs:text-sm text-hero-secondary md:leading-body-text">
<span className="font-bold">We strive for inclusivity</span>, and encourage passionate
applicants to apply regardless of experience. We'd love to work with someone like you.
We strive for inclusivity, and encourage passionate applicants to apply regardless of
experience. We'd love to work with someone like you.
</p>
{isApplicationOpen ? (
<a key="Apply Page" href={config.applicationLink} className="primary-button">
Expand Down
5 changes: 2 additions & 3 deletions new-dti-website/src/app/course/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -82,9 +82,8 @@ export default function Courses() {
</h2>
<p className="md:text-lg xs:text-sm text-hero-secondary md:leading-body-text">
A project team is meant, above all, to be a learning experience. Given our
mission of <span className="font-black">community impact</span>, we want to help
everyone <span className="font-black">learn and grow</span> through our training
course in <span className="font-black">product development.</span>
mission of community impact, we want to help everyone learn and grow through our
training course in product development.
</p>
</div>
</div>
Expand Down
5 changes: 2 additions & 3 deletions new-dti-website/src/app/initiatives/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,8 @@ const InitiativeHero = () => (
Invigorating growth
</h2>
<p className="md:text-lg xs:text-sm text-hero-secondary md:leading-body-text">
What sets us apart from other project teams is our desire to{' '}
<span className="font-bold">share our discoveries</span> with other students and members
of the greater Ithaca community.
What sets us apart from other project teams is our desire to share our discoveries with
other students and members of the greater Ithaca community.
</p>
</div>
</div>
Expand Down
5 changes: 1 addition & 4 deletions new-dti-website/src/app/products/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,7 @@ export default function Page() {
</h2>
<p className="md:text-lg xs:text-sm text-hero-secondary md:leading-body-text">
Each of our projects address an unfulfilled need that exists in our community using
<span className="font-semibold">
{' '}
human-centered design and software engineering.
</span>
human-centered design and software engineering.
</p>
</div>
</div>
Expand Down
9 changes: 3 additions & 6 deletions new-dti-website/src/app/sponsor/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,7 @@ const SponsorHero = () => {
</h2>
<p className="md:text-lg xs:text-sm text-hero-secondary md:leading-body-text">
The generous contributions of our supporters and sponsors allow our team to continue
building products and hosting initiatives to{' '}
<span className="font-bold">help the Cornell and Ithaca communities.</span>
building products and hosting initiatives to help the Cornell and Ithaca communities.
</p>
<a href={config.donationLink} className="primary-button">
Donate now
Expand Down Expand Up @@ -99,10 +98,8 @@ const SponsorPage = () => {
<h3 className="md:text-4xl xs:text-2xl font-semibold">Become a sponsor!</h3>
<p className="text-lg mb-4">
We would love to partner with organizations that share our vision of changing the
world. Together, we can{' '}
<span className="font-bold">
harness the power of technology to drive change in our communities.
</span>
world. Together, we can harness the power of technology to drive change in our
communities.
</p>
<a href="mailto:[email protected]" className="primary-button">
Contact us
Expand Down

0 comments on commit 8f8ff8d

Please sign in to comment.