From 801062f801b58d5ff7d2573ea2caab2740a6274e Mon Sep 17 00:00:00 2001 From: Felicio Date: Thu, 2 Nov 2023 00:56:30 +0000 Subject: [PATCH] feat(Coder Camp): add schedule component --- apps/web/data/coder_camp_schedule.json | 172 + apps/web/pages/codercamp.tsx | 50 +- package-lock.json | 10355 ++++++++++++++++------- 3 files changed, 7671 insertions(+), 2906 deletions(-) create mode 100644 apps/web/data/coder_camp_schedule.json diff --git a/apps/web/data/coder_camp_schedule.json b/apps/web/data/coder_camp_schedule.json new file mode 100644 index 00000000..566d81a8 --- /dev/null +++ b/apps/web/data/coder_camp_schedule.json @@ -0,0 +1,172 @@ +[ + { + "name": "Segunda", + "activities": + [ + { + "title": "πŸ§‘β€πŸ’» Projeto πŸ§‘β€πŸ’»", + "hours": "09h00 - 10h30" + }, + { + "title": "πŸ₯ Lanche πŸ₯", + "hours": "10h30 - 11h00" + }, + { + "title": "πŸ‘©β€πŸ’» Projeto πŸ‘©β€πŸ’»", + "hours": "11h00 - 12h30" + }, + { + "title": "🍱 AlmoΓ§o 🍱", + "hours": "12h30 - 14h00" + }, + { + "title": "πŸ€– Torneio Lightbot IRL πŸ€–", + "hours": "14h00 - 16h00" + }, + { + "title": "β˜• Lanche β˜•", + "hours": "16h00 - 16h30" + }, + { + "title": "0️⃣ Circuitos Logicos 1️⃣", + "hours": "16h30 - 17h30" + } + ] + }, + { + "name": "TerΓ§a", + "activities": + [ + { + "title": "πŸ§‘β€πŸ’» Projeto πŸ§‘β€πŸ’»", + "hours": "09h00 - 10h30" + }, + { + "title": "πŸ₯ Lanche πŸ₯", + "hours": "10h30 - 11h00" + }, + { + "title": "πŸ‘©β€πŸ’» Projeto πŸ‘©β€πŸ’»", + "hours": "11h00 - 12h30" + }, + { + "title": "🍱 AlmoΓ§o 🍱", + "hours": "12h30 - 14h00" + }, + { + "title": "🧨 Conversa Antidetonante 🧨", + "hours": "14h00 - 16h00" + }, + { + "title": "β˜• Lanche β˜•", + "hours": "16h00 - 16h30" + }, + { + "title": "βœ‚οΈ Origami βœ‚οΈ", + "hours": "16h30 - 17h30" + } + ] + }, + { + "name": "Quarta", + "activities": + [ + { + "title": "πŸ§‘β€πŸ’» Projeto πŸ§‘β€πŸ’»", + "hours": "09h00 - 10h30" + }, + { + "title": "πŸ₯ Lanche πŸ₯", + "hours": "10h30 - 11h00" + }, + { + "title": "πŸ‘©β€πŸ’» Projeto πŸ‘©β€πŸ’»", + "hours": "11h00 - 12h30" + }, + { + "title": "🍱 AlmoΓ§o 🍱", + "hours": "12h30 - 14h00" + }, + { + "title": "πŸ“ Peddy Paper πŸ“", + "hours": "14h00 - 16h00" + }, + { + "title": "β˜• Lanche β˜•", + "hours": "16h00 - 16h30" + }, + { + "title": "🎲 Jogos de Tabuleiro 🎲", + "hours": "16h30 - 17h30" + } + ] + }, + { + "name": "Quinta", + "activities": + [ + { + "title": "πŸ§‘β€πŸ’» Projeto πŸ§‘β€πŸ’»", + "hours": "09h00 - 10h30" + }, + { + "title": "πŸ₯ Lanche πŸ₯", + "hours": "10h30 - 11h00" + }, + { + "title": "πŸ‘©β€πŸ’» Projeto πŸ‘©β€πŸ’»", + "hours": "11h00 - 12h30" + }, + { + "title": "🍱 AlmoΓ§o 🍱", + "hours": "12h30 - 14h00" + }, + { + "title": "🐾 ScoobyDojo 🐾", + "hours": "14h00 - 16h00" + }, + { + "title": "β˜• Lanche β˜•", + "hours": "16h00 - 16h30" + }, + { + "title": "πŸƒ Ordena o Baralho πŸƒ", + "hours": "16h30 - 17h30" + } + ] + }, + { + "name": "Sexta", + "activities": + [ + { + "title": "πŸ§‘β€πŸ’» Projeto πŸ§‘β€πŸ’»", + "hours": "09h00 - 10h30" + }, + { + "title": "πŸ₯ Lanche πŸ₯", + "hours": "10h30 - 11h00" + }, + { + "title": "πŸ‘©β€πŸ’» Projeto πŸ‘©β€πŸ’»", + "hours": "11h00 - 12h30" + }, + { + "title": "🍱 AlmoΓ§o 🍱", + "hours": "12h30 - 14h00" + }, + { + "title": "πŸš€ Among Us πŸš€", + "hours": "14h00 - 16h00" + }, + { + "title": "β˜• Lanche β˜•", + "hours": "16h00 - 16h30" + }, + { + "title": "βš™οΈ Linha de Montagem βš™οΈ", + "hours": "16h30 - 17h30" + } + ] + } +] \ No newline at end of file diff --git a/apps/web/pages/codercamp.tsx b/apps/web/pages/codercamp.tsx index 3ea4afc5..3fd3ee2e 100644 --- a/apps/web/pages/codercamp.tsx +++ b/apps/web/pages/codercamp.tsx @@ -2,6 +2,8 @@ import { Footer, Header } from "@coderdojobraga/ui"; import { MessageFilled, ScheduleOutlined } from "@ant-design/icons"; import Image from "next/image"; +import schedule from "../data/coder_camp_schedule.json" + const CoderCamp = () => ( <>
@@ -48,11 +50,11 @@ const CoderCamp = () => ( -
+
-
+

@@ -76,11 +78,11 @@ const CoderCamp = () => (

-
+
-
-
+
+

@@ -92,18 +94,40 @@ const CoderCamp = () => (

- Coder Camp
+ +
+ {schedule.map(day => ( +
+

+ {day.name} +

+
+ +
    + {day.activities.map(activity => ( +
  1. +

    + {activity.title} +

    + +

    + {activity.hours} +

    +
  2. + ))} +
+ +
+
))} + +
+ +
-