Skip to content

Commit 00fdc9a

Browse files
authored
Create Gallery.tsx
1 parent e064993 commit 00fdc9a

1 file changed

Lines changed: 46 additions & 0 deletions

File tree

source-code/components/Gallery.tsx

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
import React from 'react';
2+
import { Aperture, Construction } from 'lucide-react';
3+
import { Language } from '../types';
4+
import { TRANSLATIONS } from '../utils/translations';
5+
6+
interface GalleryProps {
7+
language: Language;
8+
}
9+
10+
export const Gallery: React.FC<GalleryProps> = ({ language }) => {
11+
const t = TRANSLATIONS[language];
12+
13+
return (
14+
<div className="pb-24 pt-2 h-screen flex flex-col">
15+
<div className="px-6 mb-6">
16+
<h2 className="text-3xl font-mono font-bold text-white mb-1">{t.header_gallery}</h2>
17+
<p className="text-muted text-sm">{t.sub_gallery}</p>
18+
</div>
19+
20+
<div className="flex-1 flex flex-col items-center justify-center px-6 text-center space-y-6">
21+
<div className="relative">
22+
<div className="absolute inset-0 bg-primary/20 blur-2xl rounded-full" />
23+
<div className="relative bg-card/50 border border-white/5 p-8 rounded-full backdrop-blur-md">
24+
<Aperture size={48} className="text-primary animate-spin-slow" style={{ animationDuration: '10s' }} />
25+
</div>
26+
</div>
27+
28+
<div className="space-y-2">
29+
<h3 className="text-xl font-bold text-white flex items-center justify-center gap-2">
30+
<Construction size={20} className="text-yellow-500" />
31+
{t.construction_title}
32+
</h3>
33+
<p className="text-muted text-sm max-w-xs mx-auto leading-relaxed">
34+
{t.construction_desc}
35+
</p>
36+
</div>
37+
38+
<div className="pt-8">
39+
<span className="px-3 py-1 rounded-full bg-white/5 border border-white/10 text-[10px] font-mono text-muted uppercase tracking-widest">
40+
Module: 0x4_GALLERY
41+
</span>
42+
</div>
43+
</div>
44+
</div>
45+
);
46+
};

0 commit comments

Comments
 (0)