Fix reference

This commit is contained in:
2025-06-14 22:20:13 +02:00
parent 2c91d01a47
commit 5784149dd2
2 changed files with 2 additions and 5 deletions

View File

@@ -143,9 +143,6 @@ export const GalaxyMap = () => {
<div className="absolute inset-0 bg-[radial-gradient(ellipse_at_center,_var(--tw-gradient-stops))] from-purple-900/20 via-slate-900/40 to-black"></div>
<div className="relative z-10 p-8">
<h1 className="text-4xl font-bold text-white mb-2 text-center">Galaxy Map</h1>
<p className="text-purple-200 text-center mb-8">Navigate the known regions of space</p>
<div className="w-full h-[calc(100vh-200px)] border border-purple-500/30 rounded-lg overflow-hidden bg-black/20 backdrop-blur-sm">
<svg
ref={svgRef}

View File

@@ -1,5 +1,5 @@
import GalaxyMap from '@/components/GalaxyMap';
import { GalaxyMap } from '@/components/GalaxyMap';
import Header from '@/components/Header';
const Index = () => {
@@ -7,7 +7,7 @@ const Index = () => {
<div className="min-h-screen bg-gradient-to-br from-slate-900 via-purple-900 to-slate-900">
<div className="h-screen flex flex-col">
<Header level="universe" />
<div className="flex-1 overflow-hidden px-4 pb-8">
<GalaxyMap />
</div>