Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SEO-friendly communities page #313

Merged
merged 24 commits into from
Jan 29, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
f06b3de
Decreased font size and logo sizes of logo bar
WishingWell13 Dec 25, 2024
59310b3
Made it so all communities show at once
WishingWell13 Dec 25, 2024
d2930b2
Fixed spacing between sections, added project photos
WishingWell13 Dec 26, 2024
61561e0
Added placeholder colors per community
WishingWell13 Dec 26, 2024
50d0b9f
Switched img to Next Image for social media links
WishingWell13 Dec 27, 2024
4af5522
Reduced gap between headers and links
WishingWell13 Dec 27, 2024
677a13c
Updated design photos
WishingWell13 Dec 27, 2024
9efe82a
Updated website with outreach green color
WishingWell13 Dec 28, 2024
fe3f6d1
Make all sections render on mobile view
WishingWell13 Dec 28, 2024
4a9a00b
Removed tofix comments
WishingWell13 Dec 29, 2024
9296ee3
Fixed href labels making 404 error
WishingWell13 Jan 7, 2025
f4f8384
Changed buttons to links, made mobile buttons a little bit bigger
WishingWell13 Jan 8, 2025
c3f45a6
style: Auto format with Prettier
SheepTester Jan 26, 2025
4179fc5
use CSS modules for auto namespaced class names
SheepTester Jan 26, 2025
d6ae6ef
refactor: Split Suborgs into individual components
SheepTester Jan 26, 2025
7b7bc60
fix: fix colors and icon links
SheepTester Jan 26, 2025
a53ed05
refactor: Remove `isMobile` in favor of CSS media queries
SheepTester Jan 26, 2025
5fa5468
Responsive community description, sticky navbars
SheepTester Jan 26, 2025
4aa7bb3
sticky community logos
SheepTester Jan 26, 2025
2cb11a8
Try implementing the mobile design
SheepTester Jan 26, 2025
096f9fa
polish
SheepTester Jan 26, 2025
cdf832e
Highlight current section
SheepTester Jan 26, 2025
c576966
copywriting
SheepTester Jan 26, 2025
0a8cab2
Update logos, increase space logo size to make it look like the others
SheepTester Jan 29, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"editor.formatOnSave": false
}
"editor.formatOnSave": true
}
1 change: 0 additions & 1 deletion pages/_app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import "src/components/ScrollDownArrow/styles.scss";
import "src/components/Statistic/styles.scss";
// section css imports
import "src/sections/about/styles.scss";
import "src/sections/community/styles.scss";
import "src/sections/home/styles.scss";
import "src/sections/sponsorship/styles.scss";

Expand Down
15 changes: 2 additions & 13 deletions pages/communities.tsx
Original file line number Diff line number Diff line change
@@ -1,21 +1,10 @@
import { useState, useEffect } from "react";
import { Size, useWindowSize } from "src/utils/general";

import SEO from "src/components/SEO";

import CommunityHero from "src/sections/community/Community.Hero";
import CommunitySuborgs from "src/sections/community/Community.Suborgs";
import CommunitySuborgs from "src/sections/community/Suborgs";
import ACMWhiteLogo from "public/assets/ACMWhiteLogo.png";
import { NextPage } from "next";

const CommunitiesPage: NextPage = () => {
const size: Size = useWindowSize();
const [isMobile, setIsMobile] = useState(false);

useEffect(() => {
setIsMobile((size.width || 0) <= 812);
}, [size]);

return (
<>
<SEO
Expand All @@ -24,7 +13,7 @@ const CommunitiesPage: NextPage = () => {
description="ACM at UCSD is one large community, but it is made up of several smaller communities focused on specific areas of technology."
image={ACMWhiteLogo.src}
/>
<CommunitySuborgs isMobile={isMobile} />
<CommunitySuborgs />
</>
);
};
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions public/assets/communities-links/outreach-discord.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions public/assets/communities-links/outreach-home.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions public/assets/communities-links/projects-home.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions public/assets/communities-links/space-home.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 0 additions & 1 deletion public/assets/communities-navigation/ai-selected.svg

This file was deleted.

1 change: 0 additions & 1 deletion public/assets/communities-navigation/cyber-selected.svg

This file was deleted.

Loading