+
Hacker Attendees
+
+
+
{
+ setSearch(e.target.value);
}}
- >
-
- HACKER
-
-
-
- {currentAttendee !== null ? (
-
- openQuickNote(currentAttendee)}
- />
-
- ) : (
- <>>
- )}
-
-
-
- {modalActive && (
-
-
- {
- setModalActive(false);
- setInput('');
- }}
+ />
+
+
+ {/* Mobile sorting */}
+
+ {/* Desktop list */}
+
+
+
+ {sortButtons.map((category) => (
+
+
+ |
+ ))}
+
+ Resume
+ |
+
+ Save
+ |
+
+
+
+ {filteredAttendees.map((attendee) => (
+
+
+ {attendee.full_name}
+ |
+
+ {attendee.graduation_year}
+ |
+
+ {attendee.major}
+ |
+
+ {attendee.school}
+ |
+
+ {attendee.resume ? (
+
+
+
+ ) : (
+ <>>
+ )}
+ |
+
+
+ |
+
+ ))}
+
+
+
+ {/* Mobile list */}
+
+ {filteredAttendees.map((attendee) => (
+
-
-
-
QUICK NOTES
-
- {attendeeName}
-
-
- {
- setInput(e.target.value);
- }}
- />
-
- Word count: {getWordCount(textInput)}
-
-
-
-
{
- setModalActive(false);
- setInput('');
- }}
- >
- CANCEL
-
-
-
{
- setAttendeeNote(COMPANY_ID, currentAttendee.id, textInput);
- setModalActive(false);
- setInput('');
- }}
+
+
+ {attendee.full_name}
+
+
+ {attendee.graduation_year}
+
+
+ {attendee.major}
+
+
+ {attendee.school}
+
+
+
+ {attendee.resume ? (
+
+
+
+ ) : (
+ <>>
+ )}
+
-
-
- )}
-
+ ))}
+
+
+
);
-};
-
-export default Index;
-
-const StyledButton = styled.button`
- width: 60px;
- height: 60px;
- padding-top: 12px;
- flex-direction: column;
- justify-content: center;
- align-items: center;
- background-color: ${Colors2023.GRAY.STANDARD};
- border-radius: 15px;
- border: 4px solid ${Colors2023.GRAY.MEDIUM};
- gap: 10px;
- cursor: pointer;
- transition: all 0.3s;
- box-shadow: 1px 2px 15px ${Colors2023.GRAY.MEDIUM};
-
- &:hover {
- -color: ${Colors2023.GRAY.SHLIGHT};
- transition: all 0.3s;
- }
-`;
-
-const DatabaseContainer = styled.div`
- width: 100%;
- display: flex;
- justify-content: space-between;
- color: white;
-`;
-
-const Wrapper = styled.div`
- width: 95%;
- display: flex;
- flex-direction: column;
- justify-content: center;
- padding-left: 6rem;
- padding-bottom: 30px;
-`;
-
-const Container = styled.div`
- width: 100%;
- display: 'flex';
- padding: 15px;
- margin-top: 2rem;
- flex-direction: column;
- justify-content: center;
- align-items: center;
- background-color: #ffe48e; /* lite yuhloow (Sctw Colors) */
- border-radius: 10px;
-`;
-
-const FilterContainer = styled.div`
- width: 100%;
- display: flex;
- /* justify-content: space-around; */
- align-items: center;
- padding: 30px;
-`;
-
-const StyledTitle = styled(Text)`
- font-size: 25px;
- color: ${Colors2023.GREEN.LIGHT};
-`;
-
-const ChosenFilterContainer = styled.div`
- display: flex;
- justify-content: flex-start;
- align-items: center;
- padding-left: 2rem;
-`;
-
-const ClearAllButton = styled.button`
- display: flex;
- justify-content: center;
- align-items: center;
- padding: 10px 15px;
- color: white;
- font-size: 16px;
- letter-spacing: 0.2rem;
- background-color: ${SctwColors.Red.Redward};
- border-radius: 25px;
- border: 2px solid #ffacab; // Light Redward
- gap: 10px;
- cursor: pointer;
- transition: all 0.3s;
-
- &:hover {
- background-color: #ffacab; // Light Redward
- transition: all 0.3s;
- }
-`;
-
-const FilterPill = styled.div`
- display: flex;
- justify-content: space-around;
- align-items: center;
- padding: 10px 15px;
- color: white;
- font-size: 15px;
- letter-spacing: 0.2rem;
- background-color: ${SctwColors.Red.Redward};
- border-radius: 25px;
- border: 2px solid #ffacab; // Light Redward
- gap: 10px;
- margin-left: 2rem;
-`;
-
-const DeleteFilterButton = styled.button`
- background-color: ${SctwColors.Red.Redward};
-
- cursor: pointer;
- transition: all 0.3s;
-
- &:hover {
- opacity: 0.5;
- transition: all 0.3s;
- }
-`;
-
-const DropDownContainer = styled.div`
- margin-left: 3rem;
-`;
-
-const HackerTabContainer = styled.button`
- width: 100%;
- display: flex;
- padding: 5px 15px;
- margin-top: 0.5rem;
- background-color: #ffe48e; /* lite yuhloow (Sctw Colors) */
- border-bottom: 1px solid ${SctwColors.Red.Rash};
- cursor: pointer;
-
- :active {
- opacity: 0.5;
- }
-`;
-
-const CloseButton = styled.button`
- display: flex;
- width: 100%;
- justify-content: space-between;
- background-color: ${SctwColors.Blue.BlueIvy};
- cursor: pointer;
- :hover {
- opacity: 0.5;
- }
- :active {
- opacity: 0.8;
- }
-`;
-
-const RightContainer = styled.div`
- display: flex;
- flex: 1;
- margin-top: 2rem;
- margin-left: 1rem;
- padding: 30px;
- flex-direction: column;
- justify-content: flex-start;
- background-color: ${SctwColors.Blue.BlueIvy};
- border-radius: 10px;
-
- transition: max-width 0.5s;
-`;
-
-const TextWrapper = styled.div`
- margin-top: 0.5rem;
-`;
-
-const WordCountText = styled(Text)`
- color: ${Colors2023.GRAY.SHLIGHT};
- font-size: small;
-`;
-
-const StyledParagraphText = styled(ParagraphText)`
- width: 80%;
-`;
-
-const ModalContainer = styled.div`
- width: 100%;
- height: 100%;
- position: absolute;
- top: 0;
- left: 0;
- z-index: 999;
- background-color: rgba(0, 0, 0, 0.8);
-`;
-
-const QuickNoteContainer = styled.div`
- color: white;
- margin: auto;
- margin-top: 10rem;
- padding: 20px 20px 40px 40px;
- display: flex;
- flex-direction: column;
- width: 50%;
- background-color: ${SctwColors.Blue.BlueIvy};
- border-radius: 10px;
-`;
-
-const StyledInput = styled.textarea`
- background-color: ${SctwColors.Yellow.BabyFood};
- padding: 20px 60px 60px 20px;
-
- border-radius: 10px;
- width: 80%;
-
- :focus {
- outline: none;
- }
-`;
-
-const StyledScrollBar = styled.div`
- display: flex;
- flex-direction: column;
- width: 100%;
- height: 560px;
- overflow-y: auto;
-
- &::-webkit-scrollbar {
- width: 8px;
- background-color: ${SctwColors.Red.DonatedBlood};
- border-radius: 50px;
- }
-
- &::-webkit-scrollbar-thumb {
- background-color: ${SctwColors.Red.Redward};
- border-radius: 50px;
- }
-`;
-
-const SctwTitle = styled(Heading)`
- color: ${SctwColors.Blue.DarkBloo};
- font-size: 45px;
- letter-spacing: 0.4rem;
-`;
-
-const SctwHeading = styled(Heading)`
- font-size: 25px;
- letter-spacing: 0.4rem;
-`;
-
-const SctwText = styled(BodyText)`
- font-size: 20px;
- text-align: left;
-`;
-
-const SctwUnderlinedText = styled(BodyText)`
- font-size: 20px;
- text-align: left;
- text-decoration-line: underline;
- width: fit-content;
-`;
+}
diff --git a/apps/dashboard/pages/sponsor-booth/index.tsx b/apps/dashboard/pages/sponsor-booth/index.tsx
index 85ee7721..4ef8d0f8 100644
--- a/apps/dashboard/pages/sponsor-booth/index.tsx
+++ b/apps/dashboard/pages/sponsor-booth/index.tsx
@@ -491,7 +491,7 @@ const Index = () => {
alignItems: 'center',
backgroundColor: '#E8FF9C',
}}
- onClick={() => router.push(`${router.asPath}/hacker-attendees`)}
+ onClick={() => router.push('/participant-database')}
>
View all attendees
diff --git a/apps/dashboard/postcss.config.js b/apps/dashboard/postcss.config.js
index cbdd9c22..cc1b086d 100644
--- a/apps/dashboard/postcss.config.js
+++ b/apps/dashboard/postcss.config.js
@@ -1,5 +1,4 @@
const { join } = require('path');
-
module.exports = {
plugins: {
tailwindcss: {
diff --git a/package.json b/package.json
index 8b9abb64..e27859b1 100644
--- a/package.json
+++ b/package.json
@@ -35,6 +35,7 @@
"@vanilla-extract/recipes": "^0.5.0",
"@vercel/edge-config": "^0.1.1",
"airplane": "^0.2.30",
+ "autoprefixer": "^10.4.20",
"aws-serverless-express": "^3.4.0",
"axios": "^1.5.1",
"classnames": "^2.3.2",
@@ -59,13 +60,14 @@
"next": "13.0.0",
"next-redux-wrapper": "^8.1.0",
"nprogress": "^0.2.0",
+ "postcss": "^8.4.47",
"react": "18.2.0",
"react-calendar": "^4.0.0",
"react-dom": "18.2.0",
"react-flippy": "^1.1.0",
"react-gtm-module": "^2.0.11",
"react-hot-toast": "^2.3.0",
- "react-icons": "^4.6.0",
+ "react-icons": "^5.3.0",
"react-is": "18.2.0",
"react-live-clock": "^6.1.1",
"react-loader-spinner": "^5.3.4",
@@ -90,6 +92,7 @@
"smoothscroll-polyfill": "^0.4.4",
"styled-components": "5.3.6",
"supabase": "^1.45.1",
+ "tailwindcss": "^3.4.14",
"tslib": "^2.3.0",
"tsyringe": "^4.7.0",
"uppy": "^3.3.1",
diff --git a/yarn.lock b/yarn.lock
index 4609e7df..7c1ef5e2 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -23425,16 +23425,16 @@ react-hot-toast@^2.3.0:
dependencies:
goober "^2.1.10"
-react-icons@^4.6.0:
- version "4.7.1"
- resolved "https://registry.npmjs.org/react-icons/-/react-icons-4.7.1.tgz"
- integrity sha512-yHd3oKGMgm7zxo3EA7H2n7vxSoiGmHk5t6Ou4bXsfcgWyhfDKMpyKfhHR6Bjnn63c+YXBLBPUql9H4wPJM6sXw==
-
react-icons@^4.8.0:
version "4.11.0"
resolved "https://registry.yarnpkg.com/react-icons/-/react-icons-4.11.0.tgz#4b0e31c9bfc919608095cc429c4f1846f4d66c65"
integrity sha512-V+4khzYcE5EBk/BvcuYRq6V/osf11ODUM2J8hg2FDSswRrGvqiYUYPRy4OdrWaQOBj4NcpJfmHZLNaD+VH0TyA==
+react-icons@^5.3.0:
+ version "5.3.0"
+ resolved "https://registry.yarnpkg.com/react-icons/-/react-icons-5.3.0.tgz#ccad07a30aebd40a89f8cfa7d82e466019203f1c"
+ integrity sha512-DnUk8aFbTyQPSkCfF8dbX6kQjXA9DktMeJqfjrg6cK9vwQVMxmcA3BfP4QoiztVmEHtwlTgLFsPuH2NskKT6eg==
+
react-inspector@^5.1.0:
version "5.1.1"
resolved "https://registry.npmjs.org/react-inspector/-/react-inspector-5.1.1.tgz"