Update homepage, add demos data.

* display ydemo sections dynamically.
* Introduced a new `demos.ts` file for demo content management.
* Added `framer-motion` for animations and updated dependencies in `package.json`.
This commit is contained in:
2025-06-07 08:28:38 +02:00
parent 4d3def4ed7
commit fce60ba750
6 changed files with 195 additions and 125 deletions

View File

@@ -1,34 +1,34 @@
import type { Metadata } from "next";
import { Geist, Geist_Mono } from "next/font/google";
import type {Metadata} from "next";
import {Geist, Geist_Mono} from "next/font/google";
import "./globals.css";
const geistSans = Geist({
variable: "--font-geist-sans",
subsets: ["latin"],
variable: "--font-geist-sans",
subsets: ["latin"],
});
const geistMono = Geist_Mono({
variable: "--font-geist-mono",
subsets: ["latin"],
variable: "--font-geist-mono",
subsets: ["latin"],
});
export const metadata: Metadata = {
title: "Create Next App",
description: "Generated by create next app",
title: "Demo | Rhein-Software",
description: "Demos für Rhein-Software",
};
export default function RootLayout({
children,
}: Readonly<{
children: React.ReactNode;
children,
}: Readonly<{
children: React.ReactNode;
}>) {
return (
<html lang="en">
<body
className={`${geistSans.variable} ${geistMono.variable} antialiased`}
>
return (
<html lang="en">
<body
className={`${geistSans.variable} ${geistMono.variable} antialiased`}
>
{children}
</body>
</html>
);
</body>
</html>
);
}