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

removed mdx / last year assets #61

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
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
18 changes: 0 additions & 18 deletions content/about.mdx

This file was deleted.

14 changes: 0 additions & 14 deletions content/apply.mdx

This file was deleted.

2 changes: 1 addition & 1 deletion src/components/About.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import * as React from 'react'
import aboutTitle from '../images/about.svg';

const About = ({content}) => {
const About = () => {
return (
<div className="about-section">
<a className="anchor" id="About"/>
Expand Down
6 changes: 3 additions & 3 deletions src/components/Apply.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import * as React from 'react'
import ghosts from '../images/ghosts.svg'

const Apply = ({content, id}) => {
const Apply = () => {
return (
<div key={id} className="section">
<a className="anchor" id={id}/>
<div className="section">
<a className="anchor"/>
<div className="apply-box" id="punch-holes">
<div className="apply-border">
<div className="apply-header">
Expand Down
3 changes: 0 additions & 3 deletions src/components/FAQ.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,7 @@ import Collapsible from 'react-collapsible';
import ReactMarkdown from 'react-markdown'
import {VscTriangleDown, VscTriangleUp} from "react-icons/vsc"
import faqTitle from '../images/FAQs.svg'
import bgleft from '../images/FAQBGLeft.svg'
import bgright from '../images/FAQBGRight.svg'
import '../styles/index.css'
import aboutTitle from "../images/about.svg";

const FAQ = ({content}) => {
const faqs = content.split("## ").slice(1);
Expand Down
1 change: 0 additions & 1 deletion src/components/Landing.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import React, { useEffect, useState } from 'react'
import landingBg from '../images/landing_bg.svg'
import landingLogo from '../images/pennapps-logo.svg'
import { VscFoldDown } from "react-icons/vsc"

const target = new Date("September 2 2023 11:00:00 EST") //1 hour difference bc of daylight savings so 11:00 => 12:00

Expand Down
Binary file removed src/images/CampusAmbassadors.png
Binary file not shown.
Binary file removed src/images/CollegeHackathon.png
Binary file not shown.
202 changes: 0 additions & 202 deletions src/images/FAQBGLeft.svg

This file was deleted.

214 changes: 0 additions & 214 deletions src/images/FAQBGRight.svg

This file was deleted.

Binary file removed src/images/LogisticsBackground.png
Binary file not shown.
Binary file removed src/images/PennAppsDifference.png
Binary file not shown.
Binary file removed src/images/PennAppsF22_Banner.png
Binary file not shown.
Binary file removed src/images/PennAppsF22_BannerThemed.png
Binary file not shown.
Binary file removed src/images/PrizesIcon.png
Binary file not shown.
Binary file removed src/images/ScheduleIcon.png
Binary file not shown.
Binary file removed src/images/faq_bg.png
Binary file not shown.
Binary file removed src/images/icon.png
Binary file not shown.
Binary file removed src/images/logistics_bg_mobile.png
Binary file not shown.
8 changes: 3 additions & 5 deletions src/pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,18 +16,16 @@ const IndexPage = ({data}) => {
return data.allMdx.nodes.filter(node => node.frontmatter.title === title)[0]
}

const aboutContent = getSectionContent("About")
const applyContent = getSectionContent("Apply")
const logisticsContent = getSectionContent("Logistics")
//const logisticsContent = getSectionContent("Logistics")
const faqContent = getSectionContent("FAQ")

return (
<main id="">
<Landing/>
<Navbar/>
<Heading/>
<About content={aboutContent.rawBody} />
<Apply content={applyContent.body} id="Apply" />
<About/>
<Apply/>
{/* <Logistics content={logisticsContent.body}/> */}
<FAQ content={faqContent.rawBody} />
<Footer/>
Expand Down