diff --git a/public/favicon/android-chrome-192x192.png b/public/favicon/android-chrome-192x192.png
new file mode 100644
index 0000000..e9985ab
Binary files /dev/null and b/public/favicon/android-chrome-192x192.png differ
diff --git a/public/favicon/android-chrome-512x512.png b/public/favicon/android-chrome-512x512.png
new file mode 100644
index 0000000..6a0df75
Binary files /dev/null and b/public/favicon/android-chrome-512x512.png differ
diff --git a/public/favicon/apple-touch-icon.png b/public/favicon/apple-touch-icon.png
new file mode 100644
index 0000000..1027e2d
Binary files /dev/null and b/public/favicon/apple-touch-icon.png differ
diff --git a/public/favicon/browserconfig.xml b/public/favicon/browserconfig.xml
new file mode 100644
index 0000000..249c5c1
--- /dev/null
+++ b/public/favicon/browserconfig.xml
@@ -0,0 +1,9 @@
+
+
+
+
+
+ #ffc40d
+
+
+
diff --git a/public/favicon/favicon-16x16.png b/public/favicon/favicon-16x16.png
new file mode 100644
index 0000000..4342fa8
Binary files /dev/null and b/public/favicon/favicon-16x16.png differ
diff --git a/public/favicon/favicon-32x32.png b/public/favicon/favicon-32x32.png
new file mode 100644
index 0000000..8b1cbb4
Binary files /dev/null and b/public/favicon/favicon-32x32.png differ
diff --git a/public/favicon/mstile-150x150.png b/public/favicon/mstile-150x150.png
new file mode 100644
index 0000000..b0ed3a2
Binary files /dev/null and b/public/favicon/mstile-150x150.png differ
diff --git a/public/favicon/safari-pinned-tab.svg b/public/favicon/safari-pinned-tab.svg
new file mode 100644
index 0000000..1c267ef
--- /dev/null
+++ b/public/favicon/safari-pinned-tab.svg
@@ -0,0 +1,16 @@
+
+
+
diff --git a/public/site.webmanifest b/public/site.webmanifest
new file mode 100644
index 0000000..050ccde
--- /dev/null
+++ b/public/site.webmanifest
@@ -0,0 +1,19 @@
+{
+ "name": "Livecoding.fr",
+ "short_name": "Livecoding.fr",
+ "icons": [
+ {
+ "src": "favicon/android-chrome-192x192.png",
+ "sizes": "192x192",
+ "type": "image/png"
+ },
+ {
+ "src": "favicon/android-chrome-512x512.png",
+ "sizes": "512x512",
+ "type": "image/png"
+ }
+ ],
+ "theme_color": "#ffffff",
+ "background_color": "#ffffff",
+ "display": "standalone"
+}
diff --git a/src/app.html b/src/app.html
index 6769ed5..819647b 100644
--- a/src/app.html
+++ b/src/app.html
@@ -4,6 +4,7 @@
+
%sveltekit.head%
diff --git a/src/lib/components/TitleBar.svelte b/src/lib/components/TitleBar.svelte
new file mode 100644
index 0000000..001a4da
--- /dev/null
+++ b/src/lib/components/TitleBar.svelte
@@ -0,0 +1,86 @@
+
+
+
+
\ No newline at end of file
diff --git a/src/lib/utils.js b/src/lib/utils.js
deleted file mode 100644
index 71d060b..0000000
--- a/src/lib/utils.js
+++ /dev/null
@@ -1,6 +0,0 @@
-export const shuffleArray = (array) => {
- for (let i = array.length - 1; i > 0; i--) {
- const j = Math.floor(Math.random() * (i + 1));
- [array[i], array[j]] = [array[j], array[i]];
- }
-};
diff --git a/src/lib/utils.ts b/src/lib/utils.ts
new file mode 100644
index 0000000..54cb0c8
--- /dev/null
+++ b/src/lib/utils.ts
@@ -0,0 +1,13 @@
+export const shuffleArray = (array: any[]) => {
+ for (let i = array.length - 1; i > 0; i--) {
+ const j = Math.floor(Math.random() * (i + 1));
+ [array[i], array[j]] = [array[j], array[i]];
+ }
+};
+
+function changePage(pages: any, pageName: string): void {
+ const pageKey = pageName.toLowerCase();
+ if (pages[pageKey as keyof typeof pages]) {
+ active_page = pages[pageKey as keyof typeof pages];
+ }
+}
diff --git a/src/routes/+error.svelte b/src/routes/+error.svelte
new file mode 100644
index 0000000..aede11f
--- /dev/null
+++ b/src/routes/+error.svelte
@@ -0,0 +1,8 @@
+
+
+
404: Page non trouvée !
\ No newline at end of file
diff --git a/src/routes/+layout.svelte b/src/routes/+layout.svelte
index 05689df..5c2ede9 100644
--- a/src/routes/+layout.svelte
+++ b/src/routes/+layout.svelte
@@ -1,6 +1,112 @@
-
-
+
-
-
-
diff --git a/src/lib/base/Accueil.svelte.md b/src/routes/+page.svelte.md
similarity index 98%
rename from src/lib/base/Accueil.svelte.md
rename to src/routes/+page.svelte.md
index c666866..a033827 100644
--- a/src/lib/base/Accueil.svelte.md
+++ b/src/routes/+page.svelte.md
@@ -1,6 +1,11 @@
+
+ LC.FR
+
+
+
# Qu'est-ce que le live-coding ?
diff --git a/src/routes/accueil/+page.svelte.md b/src/routes/accueil/+page.svelte.md
new file mode 100644
index 0000000..ad48082
--- /dev/null
+++ b/src/routes/accueil/+page.svelte.md
@@ -0,0 +1,23 @@
+
+
+ Accueil
+
+
+
+# Qu'est-ce que le live-coding ?
+
+
+
+Historiquement, le _live coding_ est un type de création porté par le collectif [TOPLAP](https://toplap.org). Il existe de nombreux groupes en Europe et dans le monde qui sont issus de ce collectif : [TOPLAP Barcelona](https://toplap.cat/en/home), [Livecode NYC](https://livecode.nyc/), parmi d'autres. La pratique du _live coding_ s'est popularisée au travers du [Manifeste TOPLAP]() et des [Algoraves](https://algorave.com) (_algorithmic rave parties_). Il s'agit pourtant de _l'arbre qui cache la forêt_ : le _live coding_ est une pratique qui existe depuis la fin des années 1980, et que l'on retrouve un peu partout dans les arts numériques.
+
+# À propos de ce site
+
+Ce site est une collection de ressources. Il est conçu pour combler un vide. La communauté francophone du _live coding_ ne possédait pas de site permettant aux artistes et musiciens français de se trouver et d'échanger facilement. Disposer d'un site dédié permet de rompre avec la nécessité de se tenir informé sans cesse sur les réseaux sociaux sous peine de manquer une information. Ce site est conçu et maintenu par [Raphaël Forment](https://raphaelforment.fr) (BuboBubo).
+
+L'information sur chacune des pages est randomisée pour favoriser la découverte.
+
+# Comment contribuer ?
+
+Le site est hébergé sur [GitHub](https://github.com/Bubobubobubobubo/livecodingfr). Pour ajouter une information au site, veuillez créer une [Pull Request](https://docs.github.com/fr/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/creating-a-pull-request). Vous pouvez aussi contacter l'un des membres qui se chargera de transmettre l'information.
diff --git a/src/lib/base/Contact.svelte.md b/src/routes/contacts/+page.svelte.md
similarity index 85%
rename from src/lib/base/Contact.svelte.md
rename to src/routes/contacts/+page.svelte.md
index 0988056..05f365a 100644
--- a/src/lib/base/Contact.svelte.md
+++ b/src/routes/contacts/+page.svelte.md
@@ -1,3 +1,6 @@
+
+ Contact
+
diff --git a/src/lib/base/Evenements.svelte.md b/src/routes/evenements/+page.svelte.md
similarity index 94%
rename from src/lib/base/Evenements.svelte.md
rename to src/routes/evenements/+page.svelte.md
index dbfa33f..8677114 100644
--- a/src/lib/base/Evenements.svelte.md
+++ b/src/routes/evenements/+page.svelte.md
@@ -1,3 +1,6 @@
+
+ Évènements
+
+
+ Membres
+
+
+
# Membres
diff --git a/src/lib/base/Outils.svelte.md b/src/routes/outils/+page.svelte.md
similarity index 93%
rename from src/lib/base/Outils.svelte.md
rename to src/routes/outils/+page.svelte.md
index 1138561..7cda774 100644
--- a/src/lib/base/Outils.svelte.md
+++ b/src/routes/outils/+page.svelte.md
@@ -1,3 +1,6 @@
+
+ Outils
+
diff --git a/static/favicon.ico b/static/favicon.ico
new file mode 100644
index 0000000..95f131c
Binary files /dev/null and b/static/favicon.ico differ
diff --git a/static/favicon.png b/static/favicon.png
index 825b9e6..8b1cbb4 100644
Binary files a/static/favicon.png and b/static/favicon.png differ
diff --git a/svelte.config.js b/svelte.config.js
index 0e998ad..d8726d1 100644
--- a/svelte.config.js
+++ b/svelte.config.js
@@ -6,7 +6,7 @@ import { vitePreprocess } from "@sveltejs/kit/vite";
/** @type {import('@sveltejs/kit').Config} */
const config = {
extensions: [".svelte", ...mdsvexConfig.extensions],
-
+ publicDir: "public",
// Consult https://kit.svelte.dev/docs/integrations#preprocessors
// for more information about preprocessors
preprocess: [vitePreprocess({}), mdsvex(mdsvexConfig)],