REFACTOR(repo): simplify project structure
Some checks failed
Build Docker Image / build-and-push (push) Has been cancelled
CI / lint-and-build (push) Has been cancelled

- Move services/nextjs/ to nextjs/
- Move Dockerfile.prod to Dockerfile at root
- Remove deploy/ folder (K8s manifests moved to K3S-HOME/web-apps)
- Remove .gitea/ workflows
- Update GitHub Actions for new structure
- Remove develop branch triggers
This commit is contained in:
2026-01-05 02:02:29 +09:00
parent 39dfb89e57
commit 232d0d8762
90 changed files with 17 additions and 795 deletions

View File

@@ -0,0 +1,54 @@
import type { Metadata } from "next";
import "../globals.css";
import Header from "@/components/widgets/Header";
import Footer from "@/components/widgets/Footer";
import { ThemeProvider } from "@/providers/theme-provider";
import { NextIntlClientProvider } from 'next-intl';
import { getMessages } from 'next-intl/server';
import { notFound } from 'next/navigation';
import { routing } from '@/i18n/routing';
export const metadata: Metadata = {
title: "Portfolio - Full Stack Developer",
description: "Creating beautiful and functional web experiences with modern technologies",
};
export function generateStaticParams() {
return routing.locales.map((locale) => ({ locale }));
}
export default async function LocaleLayout({
children,
params
}: {
children: React.ReactNode;
params: Promise<{ locale: string }>;
}) {
const { locale } = await params;
if (!routing.locales.includes(locale as any)) {
notFound();
}
const messages = await getMessages();
return (
<html lang={locale} suppressHydrationWarning>
<body>
<NextIntlClientProvider messages={messages}>
<ThemeProvider
attribute="class"
defaultTheme="system"
enableSystem
disableTransitionOnChange
storageKey="portfolio-theme"
>
<Header />
{children}
<Footer />
</ThemeProvider>
</NextIntlClientProvider>
</body>
</html>
);
}

View File

@@ -0,0 +1,31 @@
import Hero from '@/components/landing/hero';
import About from '@/components/landing/about';
import Skills from '@/components/landing/skills';
import Projects from '@/components/landing/projects';
import Contact from '@/components/landing/contact';
import GrafanaPage from '@/components/landing/grafana';
export default function Home() {
return (
<div className="flex flex-col">
<div id="hero">
<Hero />
</div>
<div id="about">
<About />
</div>
<div id="skills">
<Skills />
</div>
<div id="projects">
<Projects />
</div>
<div id="monitoring">
<GrafanaPage />
</div>
<div id="contact">
<Contact />
</div>
</div>
);
}