-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #10 from snowcamp/snowcamp2025
- Loading branch information
Showing
8 changed files
with
313 additions
and
275 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
import * as fs from 'fs'; | ||
|
||
// This program collect data of the current conference edition and build a unique json file as previous_version | ||
|
||
// load data from the current file | ||
const edition = JSON.parse(fs.readFileSync('src/data/edition.json', 'utf8')); | ||
const cfp = JSON.parse(fs.readFileSync('src/data/cfp.json', 'utf8')); | ||
const sponsors = JSON.parse(fs.readFileSync('src/data/sponsors.json', 'utf8')); | ||
|
||
// build the data for the previous edition | ||
const previous = { | ||
sched_url: cfp.sched_url, | ||
flickr_embed_url: "https://flickrembed.com/cms_embed.php?source=flickr&layout=responsive&input=www.flickr.com/photos/162459903@N02/albums/72177720305519001&sort=0&by=album&theme=default&scale=fill&speed=3000&limit=10&skin=default&autoplay=true", | ||
punch_line: { | ||
fr: "Une super conf IT a Grenoble", | ||
en: "A top IT conference at Grenoble" | ||
}, | ||
summary: { | ||
fr: "Retrouvez le programme de SnowCamp %s <a href=\"%s\" target=\"_blank\">ici</a> ! Vous pouvez aussi retrouver les liens vers les slides des conférences dans <a href=\""+cfp.sched_url+"\">Sched</a>, et les retours des participants <a href=\""+cfp.feedback_url+"\">là</a>", | ||
en: "The agenda for SnowCamp %s is available <a href=\"%s\" target=\"_blank\">here</a>! You can also find the links to the sessions material in <a href=\""+cfp.sched_url+"\">Sched</a>, and the participants feedback <a href=\""+cfp.feedback_url+"\">there</a>." | ||
}, | ||
sponsors : { | ||
etoile: sponsors.etoile, | ||
flocon: sponsors.flocon | ||
} | ||
}; | ||
|
||
// create the file | ||
const fileName = 'src/data/previous_editions_'+edition.year+'.json'; | ||
fs.writeFileSync(fileName, JSON.stringify(previous, null, 2), 'utf8'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
{ | ||
"year": 2024, | ||
"count_down": "2024/01/31", | ||
"previous_edition_year": 2023, | ||
"year": 2025, | ||
"count_down": "2025/01/22", | ||
"previous_edition_year": 2024, | ||
"dates": { | ||
"fr": "31 janvier - 02 fevrier", | ||
"en": "31st of Jan - 2nd of Feb" | ||
"fr": "22 janvier - 25 janvier", | ||
"en": "22nd of Jan - 25th of Jan" | ||
} | ||
} |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
{ | ||
"baseURL": "https://snowcamp.io/", | ||
"language": "fr", | ||
"title": "Snowcamp 2024", | ||
"year": "2024", | ||
"title": "Snowcamp 2025", | ||
"year": "2025", | ||
"googleAnalytics": "" | ||
} |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters