This project was bootstrapped with Create React App.
In the project directory, you can run:
Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.
The page will reload if you make edits.
You will also see any lint errors in the console.
- Navigate to the corresponding folder of the desired event (Workshops/Talks/Event_Conferences),then eventDetails
- make a new file named with the event's name. For example, gitIntroSkg.js
- Import either WorkshopDetails if it is a workshop, or EventTalk if it is a Conferenence/Talk from /pages/DetailedEvent
- Import the event's poster and a couple of photos
- If it is a workshop, import a svg for the cheatsheet.
We create several components : codesnippets(for a workshop) cheatSheet(for a workshop) LinkArrays (link containers) downloadLinks(container for downloading files) images(an array of images) imageCaptions(for alt text) and then we create a parent array importing all components and export it as a prop for our DetailedEvent Component
A single div with spans of different classes. Using BEM naming, codeSnippet is the block, code is the element and the rest is the modifier. Every span has the base naming of codeSnippet__code-* and you can fill the * with one of the following names :
- Comment //for a grayed out comment
- Command | pink coloured
- input | white coloured
- Link | green coloured
An array of objects with 3 fields :
- title : goal of command
- command : specific command
- use : the use of command
An array of texts for cheatsheet's stages.
An array of objects with 2 fields :
- url
- text
An array of objects with 2 fields :
- url
- text
An array with the imported images
An array of text for each image.Used as alt text.
- title : event's data
- date : event's date
- details : a small paragraph
- group : workshop/talk/event,used for colours
- topic : used for workshops / Talks -> BreadCrumbs
- poset : most of the time, the first element of the images array.
- slides : a link for the event's slides.
- socialEvent : a link for facebook's event.
- svg : used for the cheatsheet(workshop) --Importing the arrays--
- cheatsheet,
- codeSnippets : an array with every codesnippet
- images
- imageCaptions
- downloadlinks
- stages
Export WorkshopDetailedEvent "const eventName = (props)=> "
- Navigate to App Component
- Import your exported eventName
- Make a new Route based on event
- Navigate to the corresponding folder of the desired event (Workshops/Talks/Event_Conferences)
- Navigate to eventShowcase.
- Files are based on topic. Choose a file based on your event
- create a new object in the single array component,with the same fields as the other one.
- fill the fields.