ca86b6268c
Build and Publish Mana Loop Docker Image / build-and-publish (push) Failing after 55s
- Fix broken barrel exports in components/game/index.ts - Remove skill system from stores (gameStore, gameActions, gameLoopActions, gameHooks, craftingStore, combat) - Remove skill system from components (page.tsx, LeftPanel, StatsTab, SpellsTab, EnchantmentDesigner, EnchantmentPreparer, GameContext/Provider) - Delete dead code: stats/ directory, attunements/ directory, layout/ Header+TabBar, shared/ StudyProgress+UpgradeDialog duplicates, effects.ts.fix, study-slice.ts, navigation-slice.ts - Delete legacy store/ and store-modules/ directories, redirect remaining callers - Merge root formatting.ts into utils/formatting.ts - Move effects files (dynamic-compute, upgrade-effects, special-effects, upgrade-effects.types) into effects/ directory - Move debug-context.tsx into components/game/debug/ - Create tabs/index.ts barrel for tab components - Fix page.tsx lazy imports to use tabs barrel - Fix all broken import paths across codebase - Remove SKILLS_DEF and skill-evolution references - Trim store.ts to under 400 lines by removing dead skill actions
44 lines
1.2 KiB
TypeScript
Executable File
44 lines
1.2 KiB
TypeScript
Executable File
import type { Metadata } from "next";
|
|
import localFont from "next/font/local";
|
|
import "./globals.css";
|
|
import { Toaster } from "@/components/ui/toaster";
|
|
import { GameToaster } from "@/components/game/GameToast";
|
|
import { DebugProvider } from "@/components/game/debug/debug-context";
|
|
|
|
const geistSans = localFont({
|
|
src: '../../public/fonts/GeistVF.woff',
|
|
variable: '--font-geist-sans',
|
|
});
|
|
|
|
const geistMono = localFont({
|
|
src: '../../public/fonts/GeistMonoVF.woff',
|
|
variable: '--font-geist-mono',
|
|
});
|
|
|
|
export const metadata: Metadata = {
|
|
title: "Mana Loop",
|
|
description: "A time-loop incremental game where you climb the Spire and sign pacts with guardians.",
|
|
keywords: ["Mana Loop", "incremental game", "idle game", "time loop"],
|
|
authors: [{ name: "Mana Loop Team" }],
|
|
};
|
|
|
|
export default function RootLayout({
|
|
children,
|
|
}: Readonly<{
|
|
children: React.ReactNode;
|
|
}>) {
|
|
return (
|
|
<html lang="en" suppressHydrationWarning>
|
|
<body
|
|
className={`${geistSans.variable} ${geistMono.variable} antialiased bg-background text-foreground`}
|
|
>
|
|
<DebugProvider>
|
|
{children}
|
|
<Toaster />
|
|
<GameToaster />
|
|
</DebugProvider>
|
|
</body>
|
|
</html>
|
|
);
|
|
}
|