Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
3,023 changes: 413 additions & 2,610 deletions bun.lock

Large diffs are not rendered by default.

28 changes: 28 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="user-scalable=no, width=device-width, initial-scale=1.0" />
<meta name="description" content="Join a community that shares the same goal: turning ideas into reality" />
<link rel="icon" href="/images/LandingPageImages/generate_logo.png" />
<link rel="stylesheet" type="text/css" href="/css/style.css" />
<link rel="stylesheet" type="text/css" href="/css/applyPage.css" />
<link
rel="stylesheet"
href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css"
integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3"
crossorigin="anonymous"
/>
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link href="https://fonts.googleapis.com/css2?family=Outfit&display=swap" rel="stylesheet" />
<link href="https://fonts.googleapis.com/css2?family=Space+Mono&display=swap" rel="stylesheet" />
<title>Generate, Northeastern's Product Development Studio</title>
</head>

<body>
<noscript>You need to enable JavaScript to run this app.</noscript>
<div id="root"></div>
<script type="module" src="/src/index.jsx"></script>
</body>
</html>
30 changes: 11 additions & 19 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,12 @@
"name": "frontend",
"version": "0.1.0",
"private": true,
"type": "module",
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test --passWithNoTests",
"eject": "react-scripts eject",
"start": "vite",
"build": "vite build",
"serve": "vite preview",
"test": "vitest",
"knip": "knip",
"knip:fix": "knip --fix",
"lint": "oxlint",
Expand All @@ -22,34 +23,25 @@
"react": "^19.2.8",
"react-bootstrap": "^2.10.10",
"react-dom": "^19.2.8",
"react-router-dom": "^7.18.2",
"react-scripts": "^5.0.1"
"react-router-dom": "^7.18.2"
},
"devDependencies": {
"@oxlint/plugins": "1.79.0",
"@types/node": "^26.2.0",
"@vitejs/plugin-react": "^6.1.1",
"eslint-plugin-react-you-might-not-need-an-effect": "^1.0.2",
"husky": "^9.1.7",
"knip": "^6.32.2",
"lint-staged": "^17.3.0",
"oxfmt": "^0.64.0",
"oxlint": "^1.79.0",
"oxlint-tsgolint": "^7.0.2001",
"typescript": "^7.0.2"
"typescript": "^7.0.2",
"vite": "^8.2.2",
"vite-plugin-svgr": "^5.2.0",
"vitest": "^4.1.11"
},
"lint-staged": {
"*": "oxfmt --no-error-on-unmatched-pattern"
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
}
}
51 changes: 0 additions & 51 deletions public/index.html

This file was deleted.

File renamed without changes.
File renamed without changes.
6 changes: 3 additions & 3 deletions src/client.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ import { createClient } from '@sanity/client'
import imageUrlBuilder from '@sanity/image-url'

export const client = createClient({
projectId: process.env.REACT_APP_SANITY_PROJECT_ID,
dataset: process.env.REACT_APP_SANITY_DATASET,
token: process.env.REACT_APP_SANITY_API_TOKEN,
projectId: import.meta.env.VITE_SANITY_PROJECT_ID,
dataset: import.meta.env.VITE_SANITY_DATASET,
token: import.meta.env.VITE_SANITY_API_TOKEN,
apiVersion: '2022-03-07',
useCdn: true
})
Expand Down
File renamed without changes.
File renamed without changes.
14 changes: 7 additions & 7 deletions src/component/SocialIcon.jsx
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import { Col } from 'react-bootstrap'
import { ReactComponent as InstaIcon } from '../assets/images/socialMediaIcons/Insta.svg'
import { ReactComponent as LinkedInIcon } from '../assets/images/socialMediaIcons/Linkedin.svg'
import { ReactComponent as FbIcon } from '../assets/images/socialMediaIcons/Facebook.svg'
import { ReactComponent as YoutubeIcon } from '../assets/images/socialMediaIcons/Youtube.svg'
import { ReactComponent as MosaicIcon } from '../assets/images/socialMediaIcons/Mosaic.svg'
import { ReactComponent as NortheasternIcon } from '../assets/images/socialMediaIcons/Northeaster.svg'
import { ReactComponent as Sherm } from '../assets/images/socialMediaIcons/Sherm.svg'
import InstaIcon from '../assets/images/socialMediaIcons/Insta.svg?react'
import LinkedInIcon from '../assets/images/socialMediaIcons/Linkedin.svg?react'
import FbIcon from '../assets/images/socialMediaIcons/Facebook.svg?react'
import YoutubeIcon from '../assets/images/socialMediaIcons/Youtube.svg?react'
import MosaicIcon from '../assets/images/socialMediaIcons/Mosaic.svg?react'
import NortheasternIcon from '../assets/images/socialMediaIcons/Northeaster.svg?react'
import Sherm from '../assets/images/socialMediaIcons/Sherm.svg?react'

export const socialIcons = [
[
Expand Down
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import React, { useState } from 'react'
import RoleCategory from '../RoleCategory'
import Tag from '../Tag'
import { ReactComponent as WhiteDownArrow } from '../../../assets/images/applypage-v2/WhiteDownArrow.svg'
import { ReactComponent as WhiteUpArrow } from '../../../assets/images/applypage-v2/WhiteUpArrow.svg'
import RightArrow from '../../../assets/images/applypage-v2/RightArrow.js'
import RoleCategory from '../RoleCategory/index.jsx'
import Tag from '../Tag/index.jsx'
import WhiteDownArrow from '../../../assets/images/applypage-v2/WhiteDownArrow.svg?react'
import WhiteUpArrow from '../../../assets/images/applypage-v2/WhiteUpArrow.svg?react'
import RightArrow from '../../../assets/images/applypage-v2/RightArrow.jsx'
import './style.css'

export default function TeamApplicationCard({ team }) {
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import React, { useState, useEffect } from 'react'
import celebrate from '../../../assets/images/aboutpage/spirited.jpg'
import { ReactComponent as LeftArrow } from '../../../assets/images/landingpage-v3/LeftTriangleArrow.svg'
import { ReactComponent as RightArrow } from '../../../assets/images/landingpage-v3/RightTriangleArrow.svg'
import { ReactComponent as LargeStars } from '../../../assets/images/landingpage-v3/LargeShowcaseStars.svg'
import { ReactComponent as SmallStars } from '../../../assets/images/landingpage-v3/SmallShowcaseStars.svg'
import { ReactComponent as PrevArrow } from '../../../assets/icons/arrows/prevArrowLeft.svg'
import { ReactComponent as NextArrow } from '../../../assets/icons/arrows/nextArrowRight.svg'
import LeftArrow from '../../../assets/images/landingpage-v3/LeftTriangleArrow.svg?react'
import RightArrow from '../../../assets/images/landingpage-v3/RightTriangleArrow.svg?react'
import LargeStars from '../../../assets/images/landingpage-v3/LargeShowcaseStars.svg?react'
import SmallStars from '../../../assets/images/landingpage-v3/SmallShowcaseStars.svg?react'
import PrevArrow from '../../../assets/icons/arrows/prevArrowLeft.svg?react'
import NextArrow from '../../../assets/icons/arrows/nextArrowRight.svg?react'
import { useSanity } from '../../../services/useSanity'
import { urlFor } from '../../../client'

Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import React, { useEffect, useState } from 'react'
import ArcadeText from '../../../assets/images/landingpage-v3/DynamicArcadeText.js'
import ArcadeMachine from '../../../assets/images/landingpage-v3/DynamicArcadeMachine.js'
import { urlFor } from '../../../client'
import { useSanity } from '../../../services/useSanity'
import ArcadeText from '../../../assets/images/landingpage-v3/DynamicArcadeText.jsx'
import ArcadeMachine from '../../../assets/images/landingpage-v3/DynamicArcadeMachine.jsx'
import { urlFor } from '../../../client.js'
import { useSanity } from '../../../services/useSanity.js'
import Mascot from './Mascot.jsx'

const MascotRadioButton = ({
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ import { FooterLink } from '.'
import { useNavigate } from 'react-router-dom'
import { pages } from '.'
import ShadowedButton from '../../../component/ShadowedButton'
import { ReactComponent as Instagram } from '../../../assets/icons/socials/Instagram.svg'
import { ReactComponent as Email } from '../../../assets/icons/socials/Email.svg'
import { ReactComponent as LinkedIn } from '../../../assets/icons/socials/LinkedIn.svg'
import Instagram from '../../../assets/icons/socials/Instagram.svg?react'
import Email from '../../../assets/icons/socials/Email.svg?react'
import LinkedIn from '../../../assets/icons/socials/LinkedIn.svg?react'
import UpArrowMobile from '../../../assets/icons/arrows/upArrowMobile.svg'

function MobileFooter() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ import GenerateLogo from '../../../assets/images/landingpage-v2/footerlogo.svg'
import { FooterLink } from '.'
import { pages } from '.'
import ShadowedButton from '../../../component/ShadowedButton'
import { ReactComponent as Instagram } from '../../../assets/icons/socials/Instagram.svg'
import { ReactComponent as Email } from '../../../assets/icons/socials/Email.svg'
import { ReactComponent as LinkedIn } from '../../../assets/icons/socials/LinkedIn.svg'
import Instagram from '../../../assets/icons/socials/Instagram.svg?react'
import Email from '../../../assets/icons/socials/Email.svg?react'
import LinkedIn from '../../../assets/icons/socials/LinkedIn.svg?react'
import UpArrow from '../../../assets/icons/arrows/upArrow.svg'

function WebFooter() {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { ReactComponent as GenerateLogo } from '../../../assets/images/landingpage-v3/GenerateLogo.svg'
import { ReactComponent as DownArrow } from '../../../assets/images/landingpage-v3/DownArrow.svg'
import { ReactComponent as Instagram } from '../../../assets/icons/socials/Instagram.svg'
import { ReactComponent as Email } from '../../../assets/icons/socials/Email.svg'
import { ReactComponent as LinkedIn } from '../../../assets/icons/socials/LinkedIn.svg'
import GenerateLogo from '../../../assets/images/landingpage-v3/GenerateLogo.svg?react'
import DownArrow from '../../../assets/images/landingpage-v3/DownArrow.svg?react'
import Instagram from '../../../assets/icons/socials/Instagram.svg?react'
import Email from '../../../assets/icons/socials/Email.svg?react'
import LinkedIn from '../../../assets/icons/socials/LinkedIn.svg?react'

export default function Navigation({ scrollToWhatIsGenerate }) {
const icons = [
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { ReactComponent as ShermLogo } from '../../../assets/images/landingpage-v3/ShermanLogo.svg'
import { ReactComponent as MosaicLogo } from '../../../assets/images/landingpage-v3/MosaicLogo.svg'
import ShermLogo from '../../../assets/images/landingpage-v3/ShermanLogo.svg?react'
import MosaicLogo from '../../../assets/images/landingpage-v3/MosaicLogo.svg?react'

export default function ParentOrgs() {
return (
Expand Down
File renamed without changes.
7 changes: 7 additions & 0 deletions src/vite-env.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
type ImportMetaEnv = {
readonly VITE_APP_API_URI: string;
readonly VITE_SANITY_PROJECT_ID: string;
readonly VITE_SANITY_DATASET: string;
readonly VITE_SANITY_API_TOKEN?: string;
};
type ImportMeta = { readonly env: ImportMetaEnv };
18 changes: 18 additions & 0 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"compilerOptions": {
"target": "ES2022",
"lib": ["ES2022", "DOM", "DOM.Iterable"],
"module": "ESNext",
"moduleResolution": "bundler",
"jsx": "react-jsx",
"strict": true,
"noEmit": true,
"allowJs": true,
"checkJs": false,
"skipLibCheck": true,
"resolveJsonModule": true,
"isolatedModules": true,
"types": ["vite/client", "vite-plugin-svgr/client"]
},
"include": ["src", "vite.config.ts", "oxlint.config.ts"]
}
12 changes: 12 additions & 0 deletions vite.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
import { defineConfig } from 'vite';
import react from '@vitejs/plugin-react';
import svgr from 'vite-plugin-svgr';

export default defineConfig(() => {
return {
build: {
outDir: 'build',
},
plugins: [react(), svgr()],
};
});