From d2ec3aa8faea1c402d86c7c87cbcbae5dd874e91 Mon Sep 17 00:00:00 2001 From: vitaliimulika-dev Date: Fri, 16 Jan 2026 14:51:35 +0200 Subject: [PATCH] Initial commit --- .gitea/workflows/build.yml | 59 ++ src/app/layout.tsx | 1237 ++++++++++++++++++++++++++++++++++++ src/app/page.tsx | 256 ++++++++ vercel.json | 5 + 4 files changed, 1557 insertions(+) create mode 100644 .gitea/workflows/build.yml create mode 100644 src/app/layout.tsx create mode 100644 src/app/page.tsx create mode 100644 vercel.json diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml new file mode 100644 index 0000000..8ba513e --- /dev/null +++ b/.gitea/workflows/build.yml @@ -0,0 +1,59 @@ +name: Build + +on: + workflow_dispatch: + inputs: + branch: + description: 'Branch to build' + required: true + default: 'main' + +permissions: + contents: read + +jobs: + build: + runs-on: ubuntu-latest + timeout-minutes: 10 + + steps: + - name: Checkout branch + uses: actions/checkout@v3 + with: + ref: ${{ gitea.event.inputs.branch }} + + - name: Setup Node.js + uses: actions/setup-node@v3 + with: + node-version: 24 + + - name: Install dependencies + run: | + set -euo pipefail + npm ci --prefer-offline --no-audit --silent 2>&1 | tee install.log + env: + NODE_OPTIONS: '--max-old-space-size=4096' + + - name: Build (next build) + run: | + set -euo pipefail + npm run build 2>&1 | tee build.log + env: + NODE_ENV: production + NEXT_TELEMETRY_DISABLED: 1 + NODE_OPTIONS: '--max-old-space-size=4096' + timeout-minutes: 5 + + - name: Upload logs on failure + if: failure() + uses: actions/upload-artifact@v3 + with: + name: build-logs + path: | + install.log + build.log + if-no-files-found: ignore + + - name: Build completed + if: success() + run: echo "Build completed successfully" diff --git a/src/app/layout.tsx b/src/app/layout.tsx new file mode 100644 index 0000000..3762f18 --- /dev/null +++ b/src/app/layout.tsx @@ -0,0 +1,1237 @@ +import type { Metadata } from 'next' +import './globals.css' + +export const metadata: Metadata = { + title: 'NestJS - A progressive Node.js framework', + description: 'A progressive Node.js framework for building efficient, reliable and scalable server-side applications.', +} + +export default function RootLayout({ + children, +}: { + children: React.ReactNode +}) { + return ( + + {children} +