From aefe1eb714250bcf662082207d644eed5d5a84e7 Mon Sep 17 00:00:00 2001 From: Gary van Woerkens Date: Thu, 10 Aug 2023 20:20:46 +0200 Subject: [PATCH] feat: add startups list (#1030) --- .sonarcloud.properties | 1 + src/app/layout.tsx | 9 +- src/app/startups/get-startups.ts | 25 + src/app/startups/list.tsx | 23 + src/app/startups/page.tsx | 4 +- src/app/startups/startups.json | 15116 +++++++++++++++++++++++++++++ 6 files changed, 15170 insertions(+), 8 deletions(-) create mode 100644 .sonarcloud.properties create mode 100644 src/app/startups/get-startups.ts create mode 100644 src/app/startups/list.tsx create mode 100644 src/app/startups/startups.json diff --git a/.sonarcloud.properties b/.sonarcloud.properties new file mode 100644 index 000000000..c2164f514 --- /dev/null +++ b/.sonarcloud.properties @@ -0,0 +1 @@ +sonar.exclusions=src/app/startups/startups.json diff --git a/src/app/layout.tsx b/src/app/layout.tsx index b4109fbad..f9ea3363a 100644 --- a/src/app/layout.tsx +++ b/src/app/layout.tsx @@ -5,7 +5,7 @@ import { DsfrProvider } from "@codegouvfr/react-dsfr/next-appdir/DsfrProvider" import { getHtmlAttributes } from "@codegouvfr/react-dsfr/next-appdir/getHtmlAttributes" import "@/styles/globals.css" -import { defaultColorScheme } from "@/styles/defaultColorScheme" +// import { defaultColorScheme } from "@/styles/defaultColorScheme" import { StartDsfr } from "@/components/StartDsfr" import Header from "@/components/Header" import Footer from "@/components/Footer" @@ -46,12 +46,7 @@ export default function RootLayout({
-
- {children} -
+
{children}