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

Community and Competition Icon Redesign #147

Open
wants to merge 16 commits into
base: main
Choose a base branch
from
Open
5 changes: 5 additions & 0 deletions public/ai_diamond.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 7 additions & 0 deletions public/cyber_diamond.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 7 additions & 0 deletions public/design_diamond.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/elementai.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/elemental.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/energium.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 7 additions & 0 deletions public/hack_diamond.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/hns.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/home_icon_mobile.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/nnm.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/temp_comp.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/trophy_bg.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 4 additions & 1 deletion src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ import CompetitionSpecificTeamPage from './pages/Competitions/CompetitionTeamPag
import CompetitionAllTeamsPage from './pages/Competitions/CompetitionTeamPages/AllTeamsPage';
import CompetitionLeaderboardPage from './pages/Competitions/CompetitionLeaderboardPage';
import CompetitionSubmissionDetailsPage from './pages/Competitions/CompetitionTeamPages/SubmissionDetailsPage';

import LoggedInMainPage from './pages/LoggedInMainPage';
import NotFoundPage from './pages/404Page';

import ProjectPage from './pages/ProjectsPage/index';
Expand Down Expand Up @@ -108,6 +108,9 @@ function App() {
<UserProvider value={{ user: user, setUser: setUser }}>
<Switch>
<Route path="/" exact component={MainPage} />
<Route path="/testLoggedInMain" exact component={LoggedInMainPage} />


<Route path="/about" exact component={AboutPage} />
<Route path="/competitions" exact component={CompetitionsPage} />
<Route path="/alumni" exact component={AlumniPage} />
Expand Down
5 changes: 4 additions & 1 deletion src/components/Statistic/index.less
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,16 @@
font-size: @font4;
line-height: @font4;
font-weight: @semi-bold;
@media only screen and (max-width: @xs) {
font-size: @font5;
}
}

.description {
display: block;
font-size: @font2;
@media only screen and (max-width: @xs) {
font-size: 14px;
font-size: @font4;
}
font-weight: @regular;
line-height: 32.25px;
Expand Down
8 changes: 8 additions & 0 deletions src/newStyles/components.less
Original file line number Diff line number Diff line change
Expand Up @@ -104,3 +104,11 @@
color: @text-gray2;
}
}

.text-colorful {
background: linear-gradient(#F66161, #FF8130);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text; /* For Firefox */
color: transparent;
}
1 change: 1 addition & 0 deletions src/newStyles/variables.less
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
@mainyellow: #FFA659;
@hotred: #FA5E5E;
@orange: #f5621e;
@maingreen: #51C0C0;

@b1: rgb(36, 41, 51);
@b2: rgb(61, 69, 89);
Expand Down
48 changes: 48 additions & 0 deletions src/pages/CompetitionsPage/competitionsData.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
[
{
"competitionName": "Element.AI",
"icon": "../../../elemental.png",
"year": "2023",
"stats": {
"In Prizes": 5000,
"Signups": 200,
"Teams": 50
},
"description": "Long ago, there was Sunny G. Using the four elements, he built and shaped the world, making the story of earth, water, fire, and air an ancient tale that has been told in many different cultures throughout history. Now the guardian of UCSD, Sunny G, tired of students not filling out CAPES, has decided to reward the power of elemental-bending to diligent students who fill out their CAPES. However, unsure on which element is the strongest, he has put together a competition for the elements to demonstrate their strength. We would like to thank our sponsor, Arjay Waran (RJ), for funding this competition to further AI and competitive programming. This competition has concluded. Congratulations to Team Shubham on their win.",
"link": "/competitions/Element.AI/leaderboard"
},
{
"competitionName": "Neural Network Modeling",
"icon": "../../../nnm.png",
"year": "2021",
"stats": {
"Teams": 10,
"Submissions": 500
},
"description": "Welcome to the Winter 2021 Neural Network Modeling Competition! The objective of this competition is to model an unknown function as accurately as possible! Submissions are scored by lowest MSE. This competition has concluded. Congratulations to programjames on their win.",
"link": "/old-competitions/nn"
},
{
"competitionName": "Energium AI",
"icon": "../../../energium.png",
"year": "2020",
"stats": {
"Teams": 14,
"Matches Played": 2400
},
"description": "Upon the dawn of the new millennium, energy has become currency, the most precious resource after the majority of Earth's resources have been mined out. You are an energy corporation with the technology of Collectors, robots that can mine an energy-rich resource known as Energium on the asteroid belts of our solar system. Your goal is to build the best AI agent to control these collectors and get more energy than your competitors. This competition has concluded. Congratulations to programjames on their win.",
"link": "/old-competitions/energium/ranks"
},
{
"competitionName": "Hide and Seek",
"icon": ".../../../hns.png",
"year": "2020",
"stats": {
"Teams": 15,
"Matches Played": "120000"
},
"description": "Welcome to ACM AI's first competition, and the first of its kind at UCSD. You must use your wits and strategies, along with knowledge of programming, to effectively hide and seek. Your AI must be able to play the Seeker and the Hider, and must either find and tag all hiders or hide from all seekers. Are you up for the challenge? The competition has concluded. Congratulations to Joe Cai for winning the Hide and Seek AI Competition and to Matei Gardus for winning the hacker award.",
"link": "/old-competitions/hideandseek"
}
]

Loading