diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml deleted file mode 100644 index 6f2d406..0000000 --- a/.github/workflows/deploy.yml +++ /dev/null @@ -1,16 +0,0 @@ -name: Build and Deploy -on: - push: - branches: - - main - -permissions: - contents: write -jobs: - build-and-deploy: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - uses: enriikke/gatsby-gh-pages-action@v2 - with: - deploy-branch: gh-pages diff --git a/plugins/gatsby-transformer-monday/gatsby-node.js b/plugins/gatsby-transformer-monday/gatsby-node.js index ec98bba..96eb699 100644 --- a/plugins/gatsby-transformer-monday/gatsby-node.js +++ b/plugins/gatsby-transformer-monday/gatsby-node.js @@ -2,7 +2,7 @@ const assemblePositionData = require('./assemble-positions') const assembleColumnData = require('./assemble-columns') const assembleDatesData = require('./assemble-dates') -const DEBUG = true +const DEBUG = false async function onCreateNode({ actions, diff --git a/src/components/carousel.js b/src/components/carousel.js index 61c6345..e645a68 100644 --- a/src/components/carousel.js +++ b/src/components/carousel.js @@ -6,7 +6,7 @@ import 'swiper/css/pagination'; import 'swiper/css/navigation'; import { Keyboard, Navigation, Pagination } from 'swiper/modules'; -import { StudentSlide, MobileSlide } from './student-slide' +import { StudentSlide } from './student-slide' export const Carousel = ({students}) => { @@ -16,17 +16,20 @@ export const Carousel = ({students}) => { keyboard={{ enabled: true, }} - // navigation={{ - // enabled: true, - // }} + navigation={{ + enabled: true, + }} pagination={{ clickable: true, }} grabCursor={true} - slidesPerView={2} centeredSlides={true} - spaceBetween={60} + spaceBetween={80} loop={true} + breakpoints={{ + 800: {slidesPerView: 2}, + 0: {slidesPerView: 1} + }} > { students.map((student) => ( @@ -38,31 +41,3 @@ export const Carousel = ({students}) => { ); } - -export const MobileCarousel = ({students}) => { - - return ( - - { - students.map((student) => ( - - - - )) - } - - ) -} \ No newline at end of file diff --git a/src/components/sections/important-dates.js b/src/components/sections/important-dates.js index 5dcb9b1..e441585 100644 --- a/src/components/sections/important-dates.js +++ b/src/components/sections/important-dates.js @@ -3,16 +3,7 @@ import { Section } from "../section" import { DatesTable } from '../dates-table' import ImportantDatesContent from '../../content/sections/important-dates.yaml' -export const ImportantDates = ({ content }) => { - const rows = content.nodes.map(({ name, dates, audience }) => ({ - name, - dates: dates.reduce((acc, d) => { - acc[d.year] = d.date - return acc - }, {}), - audience, - })) - +export const ImportantDates = ( ) => { return (
diff --git a/src/components/sections/key-contacts.js b/src/components/sections/key-contacts.js index 2980f7e..f29555d 100644 --- a/src/components/sections/key-contacts.js +++ b/src/components/sections/key-contacts.js @@ -1,23 +1,52 @@ import React from 'react' import { Section } from '../section' -import { ParagraphGrid } from '../paragraph-grid'; import Grid from '@mui/joy/Grid'; +import { Card, CardContent, AspectRatio, Typography } from '@mui/joy'; +import { Link } from '../link' export const KeyContacts = ({ content }) => { - + return (
- + { content.people.map((person) => ( - + + + + + + + + {person.name} + + + {person.description} + + + + )) } + + Questions? + + Contact the team at internships@renci.org + + +
) } diff --git a/src/components/sections/programs/starShipPanel.js b/src/components/sections/programs/starShipPanel.js index b26e12a..d7edab4 100644 --- a/src/components/sections/programs/starShipPanel.js +++ b/src/components/sections/programs/starShipPanel.js @@ -10,24 +10,9 @@ import { MainPanelButton } from '../../program-tabs' import ImportantDatesContent from '../../../content/sections/important-dates.yaml' -import { useStaticQuery, graphql } from "gatsby" import { DatesTable } from '../../dates-table' -const datesQuery = graphql`query { - dates: allImportantDate { - nodes { - id - name - dates { - date - year - } - } - } -}` - export const StarShipPanel = ({title, content}) => { - const data = useStaticQuery(datesQuery) return ( diff --git a/src/components/sections/star-showcase.js b/src/components/sections/star-showcase.js index 1f9f844..3f1c9c2 100644 --- a/src/components/sections/star-showcase.js +++ b/src/components/sections/star-showcase.js @@ -1,11 +1,8 @@ import React from 'react' -import { Carousel, MobileCarousel } from '../carousel' +import { Carousel } from '../carousel' import { Sheet, Typography } from '@mui/joy' -import { useWindowWidth } from '../../hooks' export const StarShowcase = ({ content }) => { - const { isCompact } = useWindowWidth(); - return ( { my: 2, color: '#fff' }}>{content.title} - - { - isCompact ? : - } + + ) diff --git a/src/components/student-slide.js b/src/components/student-slide.js index d4d473b..3b84f87 100644 --- a/src/components/student-slide.js +++ b/src/components/student-slide.js @@ -6,6 +6,7 @@ import { Button } from './button' export const StudentSlide = ({student}) => { const { student_name, + semester, title, project_description, project_link_text, @@ -14,11 +15,11 @@ export const StudentSlide = ({student}) => { return ( @@ -27,99 +28,28 @@ export const StudentSlide = ({student}) => { flexDirection: 'column', justifyContent: 'center' }}> - - {student_name} + {project_description} - - - {title} - - - {project_description} - - - - - - ) -} - - -export const MobileSlide = ({student}) => { - const { - student_name, - title, - project_description, - project_link_text, - project_link } = student - - return ( - - - {student_name} - - - {title} + {title}, {semester} - - {project_description} + >{project_link_text} ) } + + diff --git a/src/content/sections/key-contacts.yaml b/src/content/sections/key-contacts.yaml index 671fa4c..8286f68 100644 --- a/src/content/sections/key-contacts.yaml +++ b/src/content/sections/key-contacts.yaml @@ -3,9 +3,7 @@ title: Key Contacts people: - name: Bryttany Todd description: STAR Program Manager + photoURL: https://renci.org/wp-content/uploads/2019/05/RENCI_201905_Photo_Todd_Bryttany.jpg - name: Ashley Hukins description: STAR Program Coordinator - - name: Questions? - description: > - Contact the team at internships@renci.org or - join our slack channel, #star-program-info. \ No newline at end of file + photoURL: https://ca.slack-edge.com/T0450N0TQ-U044V4MNF1B-263648a9357a-512 diff --git a/src/content/sections/programs-overview.yaml b/src/content/sections/programs-overview.yaml index 8f9ddc1..feadc8e 100644 --- a/src/content/sections/programs-overview.yaml +++ b/src/content/sections/programs-overview.yaml @@ -55,8 +55,8 @@ starVenturesContent: - heading: "Dates" contentType: "ul" content: - - title: "This year’s program will run from July 15 - August 2, 2024." - - title: "Registration is open from mid-April until spots are filled." + - title: "This program runs for 3 weeks during the summer. Check back later for Summer 2025 dates." + - title: "Registration will open in early 2025. Check back for registration deadlines and link." - heading: "Requirements" contentType: "ul" content: diff --git a/src/content/sections/star-showcase.yaml b/src/content/sections/star-showcase.yaml index 5d0f7ff..1e8f809 100644 --- a/src/content/sections/star-showcase.yaml +++ b/src/content/sections/star-showcase.yaml @@ -1,40 +1,46 @@ section_id: star-showcase title: Projects in the STARlight students: - - student_name: Rio + - student_name: Shivani K. title: STAR Intern - semester: Spring 2023 - project_description: HEAL Publications Analysis - project_link_text: 'View Rio’s STAR Talk presentation' - project_link: https://drive.google.com/file/d/1HVsiv1XNZp0bGwVNfLhJeNbYc0iPdi5C/view?usp=sharing - - student_name: Kylie + semester: Spring 2024 + project_description: Improving Registration for Data Matters + project_link_text: "View STAR Talk Presentation" + project_link: https://drive.google.com/file/d/1mXVf8sleVPto_NNk1EQBJrGNCtW0hn4Q/view?usp=drive_link + - student_name: Abel L. title: STAR Intern - semester: Fall 2023 - project_description: Digital Curation - project_link_text: 'View Kylie’s STAR Talk paper' - project_link: https://docs.google.com/document/d/1o89j0olyAqJbdMCzUs9YLKAMZf4beGdo/edit?usp=sharing&ouid=106015245864437093171&rtpof=true&sd=true - - student_name: Kieran, Ethan, and Anoop + semester: "Fall 2023 - Spring 2024" + project_description: A Portal for RENCI's Infrastructure Inventory + project_link_text: "View STAR Talk Presentation" + project_link: https://drive.google.com/file/d/1Oip5bh5pMMR05P_-wJZ8vfDzoIlhLumI/view?usp=drive_link + - student_name: Kenzie N. + title: STAR Intern + semester: "Spring 2024 - Fall 2024" + project_description: "Strategizing ACIS IT Service Delivery" + project_link_text: "View STAR Talk Presentation" + project_link: https://drive.google.com/file/d/1SyRf4ab7nXTfUz8jEZIIGLLfSlXDEg7m/view?usp=drive_link + - student_name: Nathan K. + title: STAR Intern + semester: "Summer 2024 - Fall 2024" + project_description: Organizing RENCI's Google Drives + project_link_text: "View STAR Talk Presentation" + project_link: https://drive.google.com/file/d/1FfHpvTwZQ6xEqUticFgban5WB-Vlro83/view?usp=drive_link + - student_name: Aadil, Aakesh, Dikshita, Olivia title: STAR Ventures Participants - semester: Summer 23 - project_description: 'Addressing the Opioid Crisis: The Solution to Over-Prescribing' - project_link_text: 'View their STAR Ventures presentation' - project_link: https://drive.google.com/file/d/1usViQQVO-lIPk6Qj2dothDt2n7MQph7X/view?usp=sharing - - student_name: Alok + semester: Summer 2024 + project_description: Measuring and Analyzing Air Quality + project_link_text: "View STAR Talk Presentation" + project_link: https://drive.google.com/file/d/1qbyHrKkV8PBoqbhqz_A3s5fNaJjd0NXF/view?usp=drive_link + - student_name: Jude S. title: STAR Intern - semester: Summer 2023 - project_description: UI application for echocardiogram image segmentation - project_link_text: 'View Alok’s STAR Talk presentation' - project_link: https://drive.google.com/file/d/1hyh53AEuV3HYgxS-1zwN4wzq8kYDQ3c9/view?usp=drive_link - - student_name: Ganning - title: iRODS Intern - semester: Summer 2023 - project_description: Zone Management Tool and NFSRODS - project_link_text: 'View Ganning’s TriRODS presentation' - project_link: https://youtu.be/Q0tSk0LExIk - - student_name: Jude + semester: "Summer 2023 - Summer 2024" + project_description: Programmatically Building & Storing Docker Images in the Google Artifact Registry + project_link_text: "View STAR Talk Presentation" + project_link: https://drive.google.com/file/d/1MSoFcfeFFEmOWkuBNrKITJFqgkI4O0AW/view?usp=drive_link + - student_name: Brenna H. title: STAR Intern - semester: Summer 2023 - project_description: Making multidimensional time series data more accessible with Python - project_link_text: 'View Jude’s STAR Talk presentation' - project_link: https://drive.google.com/file/d/1bBuSXnKxPXCirGRQPrTKBsOLm15r5jvA/view?usp=drive_link + semester: "Summer 2023 - Fall 2024" + project_description: Analyzing Rare Pulmonary Disease Data with ICEES + project_link_text: "View STAR Talk Presentation" + project_link: https://drive.google.com/file/d/1Qx1eF6qLL6O6-QXFGt6yOekNyJy-6vRc/view?usp=drive_link diff --git a/src/hooks/use-section-content.js b/src/hooks/use-section-content.js index 63e761c..4809a84 100644 --- a/src/hooks/use-section-content.js +++ b/src/hooks/use-section-content.js @@ -59,6 +59,7 @@ export const useSectionContent = () => { people { name description + photoURL } } ProcessOverview: sectionsYaml(section_id: { eq: "process-overview" }) { @@ -137,8 +138,8 @@ export const useSectionContent = () => { title students { student_name - title semester + title project_description project_link_text project_link