From 978e46d0a773cb77a922c1905501f73444674f60 Mon Sep 17 00:00:00 2001 From: Arthur Wambst Date: Wed, 18 Jun 2025 00:59:17 +0200 Subject: [PATCH 1/2] fix: added missing , --- banquise-website/src/config/constants.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/banquise-website/src/config/constants.ts b/banquise-website/src/config/constants.ts index a09b7a1..246da08 100644 --- a/banquise-website/src/config/constants.ts +++ b/banquise-website/src/config/constants.ts @@ -7,7 +7,7 @@ export const URLS = { pelican: "https://pelican.la-banquise.fr", intra: "https://intra.la-banquise.fr", mails: "https://mails.la-banquise.fr", - opencloud: "https://opencloud.la-banquise.fr" + opencloud: "https://opencloud.la-banquise.fr", ssp: "https://ssp.la-banquise.fr" }, social: { From ff5984a7274be0e1b158e46e71ce69dc95789943 Mon Sep 17 00:00:00 2001 From: Arthur Wambst Date: Wed, 18 Jun 2025 01:29:00 +0200 Subject: [PATCH 2/2] fix: now it build, not sure why --- banquise-website/src/App.tsx | 11 ++++++++++- .../src/components/sections/ServicesSection.tsx | 2 +- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/banquise-website/src/App.tsx b/banquise-website/src/App.tsx index 1603d7c..01de3ad 100644 --- a/banquise-website/src/App.tsx +++ b/banquise-website/src/App.tsx @@ -10,6 +10,15 @@ import { ScrollToTopButton } from './components/ui/ScrollToTopButton'; import { ParallaxBackground } from './components/ui/ParallaxBackground'; import { URLS } from './config/constants'; +interface Service { + name: string; + url: string; + image: string; + icon: string; + description: string; + features: string[]; +} + const services = [ { name: "Wiki", @@ -141,7 +150,7 @@ const services = [ ]; const App: React.FC = () => { - const [selectedService, setSelectedService] = useState(null); + const [selectedService, setSelectedService] = useState(null); const [openAccordion, setOpenAccordion] = useState(null); const toggleAccordion = (title: string) => { diff --git a/banquise-website/src/components/sections/ServicesSection.tsx b/banquise-website/src/components/sections/ServicesSection.tsx index ad58cef..fcc4a33 100644 --- a/banquise-website/src/components/sections/ServicesSection.tsx +++ b/banquise-website/src/components/sections/ServicesSection.tsx @@ -1,6 +1,6 @@ import React from 'react'; -// Declare the Service interface here +// Update the Service interface to match your actual service objects interface Service { name: string; url: string;