Skip to content

Commit

Permalink
Added Uniform Texts
Browse files Browse the repository at this point in the history
  • Loading branch information
LuaanNguyen committed Aug 5, 2024
1 parent 9e5f35e commit ac41e73
Show file tree
Hide file tree
Showing 8 changed files with 27 additions and 15 deletions.
7 changes: 5 additions & 2 deletions src/components/AboutUs.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,13 @@ const perks = [

export default function AboutUs() {
return (
<main className="flex flex-col w-[70vw] max-md:w-[95vw] justify-center items-center mx-auto">
<main
className="flex flex-col w-[70vw] max-md:w-[95vw] justify-center items-center mx-auto mb-20"
id="info"
>
<section className="text-center max-md:text-left">
<h1 className="section-header-text">About SoDA</h1>
<p className="px-24 max-lg:px-4 mx-auto">
<p className="hero-small-text px-24 max-lg:px-4 mx-auto">
The Software Developers Association (SoDA) at Arizona State
University, is a student run, free organization dedicated to serving
ASU’s computer science students. SoDA is one of the largest
Expand Down
2 changes: 1 addition & 1 deletion src/components/Button/RiArrowButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ function RiArrowButton({ name }: RoundedButtonTypes) {
return (
<button type="button" className="right-arrow-btn">
<span className="btn-text">{name}</span>
<RiArrowRightSLine className="text-3xl text-white" />
<RiArrowRightSLine className="text-2xl text-white" />
</button>
);
}
Expand Down
4 changes: 2 additions & 2 deletions src/components/Info/InfoCards.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ import "./InfoCards.css";
class InfoCards extends Component {
render() {
return (
<div className="infocards" id="info">
<div className="infocards" id="events">
<Divider horizontal id="title">
Info
Our Events
</Divider>
<br />

Expand Down
5 changes: 5 additions & 0 deletions src/components/Navigation/DesktopNav.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ const navLinks = [
id_href: "#info",
cssClass: "nav-text-animation",
},
{
name: "Events",
id_href: "#events",
cssClass: "nav-text-animation",
},
{
name: "Sponsors",
id_href: "#sponsors",
Expand Down
2 changes: 1 addition & 1 deletion src/components/SocialMediaLinks.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ const socialMediaLinks = [
},
{
href: "https://discord.gg/the-software-developers-association-762811961238618122",
icon: <FaDiscord />,
icon: <FaDiscord className="hover:text-soda-red" />,
},
{
href: "https://www.facebook.com/SoDAASU/",
Expand Down
2 changes: 1 addition & 1 deletion src/components/Team/TeamCards.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ class MemberCards extends Component<MemberCardsProps> {
Team
</Divider>
<br />
<div id="content">
<div id="content" className="">
SoDA is here to help you. Please feel free to reach out to any of us,
we want to help and would be happy to answer any questions you have!
</div>
Expand Down
4 changes: 2 additions & 2 deletions src/pages/Home.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ function Home() {
<SponsorsMarquee />
<MemberCards contacts={contactsData as Contacts} />
<InfoCards />
<ShootingStars minDelay={1000} maxSpeed={20} />
<StarsBackground starDensity={0.00015} />
<ShootingStars minDelay={1000} maxSpeed={20} starWidth={20} />
<StarsBackground starDensity={0.0003} />
</main>
);
}
Expand Down
16 changes: 10 additions & 6 deletions src/styles/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@
@tailwind components;
@tailwind utilities;

:root {
color-scheme: dark;
}

html {
scroll-behavior: smooth;
}
Expand All @@ -11,7 +15,7 @@ body {
}

.nav-text-animation {
@apply hover:text-xl transition ease-in-out;
@apply hover:text-lg text-base transition ease-in-out;
}

/*Start Animations*/
Expand Down Expand Up @@ -184,14 +188,14 @@ body {
/* --------- STATS --------- */
.statistics {
@apply bg-soda-white max-md:w-screen text-soda-black flex
flex-row gap-5 py-4 px-6 my-3 justify-center flex-wrap md:rounded-[80px] z-10;
flex-row gap-4 py-4 px-6 my-2 justify-center flex-wrap md:rounded-[80px] z-10;
}

.stat-container {
@apply items-center text-center;
}
.stat-value {
@apply text-4xl font-extrabold;
@apply text-3xl font-extrabold;
}

.stat-label {
Expand All @@ -217,7 +221,7 @@ body {
}

.hero-small-text {
@apply my-6 text-lg px-6 text-soda-gray;
@apply my-6 text-sm px-6 text-soda-gray;
}

/* --------- SPONSORS --------- */
Expand Down Expand Up @@ -274,7 +278,7 @@ footer {

/* --------- BUTTON --------- */
.rounded-btn {
@apply px-3 py-2 bg-soda-red rounded-full;
@apply px-2 py-1 bg-soda-red rounded-full;
}

.right-arrow-btn {
Expand All @@ -285,5 +289,5 @@ footer {
@apply px-3 py-1 bg-soda-red rounded-lg;
}
.btn-text {
@apply font-bold text-soda-white;
@apply font-semibold text-soda-white text-[15px];
}

0 comments on commit ac41e73

Please sign in to comment.