1- import LetterGlitch from "@/components/molecules/LetterGlitch" ;
1+ import CopyBlock from "../atoms/CopyBlock" ;
2+ import Image from "next/image" ;
3+ import ShieldsBadge from "@/components/atoms/ShieldsBadge" ;
24
5+ const BADGES = [
6+ {
7+ alt : "Version" ,
8+ src : "https://img.shields.io/badge/version-1.3.1-blue.svg" ,
9+ href : "https://github.com/keyyard/create-mc-bedrock-cli" ,
10+ } ,
11+ {
12+ alt : "Node.js" ,
13+ src : "https://img.shields.io/badge/Node.js-18%2B-green.svg" ,
14+ href : "https://nodejs.org/" ,
15+ } ,
16+ {
17+ alt : "License" ,
18+ src : "https://img.shields.io/badge/license-MIT-orange.svg" ,
19+ href : "https://github.com/Keyyard/create-mc-bedrock-cli/blob/main/LICENSE" ,
20+ } ,
21+ ] ;
322const Header : React . FC = ( ) => (
4- < header className = "flex flex-col items-center text-center w-full" >
5- < div className = "h-[60vh] relative block w-full" >
6- < div className = "absolute inset-0 w-full h-full z-15" >
7- < LetterGlitch
8- glitchColors = { [ "#2b4539" , "#61dca3" , "#61b3dc" ] }
9- glitchSpeed = { 100 }
10- centerVignette = { true }
11- outerVignette = { false }
12- smooth = { true }
13- />
23+ < header className = "flex flex-col items-center text-center w-full min-h-[60vh] bg-emerald-800/20 relative overflow-hidden" id = "start" >
24+ < Image
25+ src = "/bg.webp"
26+ alt = "Keyyard BedrockCLI bg"
27+ fill
28+ style = { { mixBlendMode : "overlay" } }
29+ className = "object-cover object-center opacity-40 pointer-events-none select-none z-0"
30+ priority
31+ />
32+ < div className = "flex flex-col items-center justify-center h-full py-16 z-10 relative" >
33+ < h1 className = "text-4xl md:text-5xl font-extrabold mb-2 text-white drop-shadow-lg" >
34+ Create MC Bedrock CLI
35+ </ h1 >
36+ < p className = "text-md font-semibold text-gray-300 mb-2" >
37+ The Fastest Way to Start Minecraft Bedrock Addon Development
38+ </ p >
39+ < p className = "text-base text-gray-400 mb-8 max-w-2xl" >
40+ Tired of manually setting up Minecraft Bedrock workspaces?< br />
41+ With < span className = "font-semibold" > create-mc-bedrock</ span > , you can bootstrap your next project in seconds, using official Microsoft samples and fresh manifest UUIDs every time.
42+ </ p >
43+ < a
44+ href = "#requirements"
45+ className = "inline-block w-[300px] py-4 mb-6 rounded-full bg-emerald-600 text-white text-xl font-bold shadow-lg hover:bg-emerald-700 transition min-w-[260px]"
46+ >
47+ Get Started
48+ </ a >
49+ < div className = "mb-8 flex text-left" >
50+ < div className = "inline-block w-[300px]" >
51+ < CopyBlock code = "npx create-mc-bedrock" />
52+ </ div >
1453 </ div >
15- < div className = "absolute inset-0 flex flex-col items-center justify-center z-15 mix-blend-color-dodge" >
16- < h1 className = "text-7xl md:text-8xl font-extrabold mb-4" > CREATE MC BEDROCK CLI</ h1 >
54+ < div className = "flex flex-wrap gap-2 justify-center mt-2" >
55+ { BADGES . map ( ( badge ) => (
56+ < ShieldsBadge key = { badge . alt } { ...badge } />
57+ ) ) }
58+ </ div >
59+ < div className = "flex flex-wrap gap-2 justify-center mt-2" >
60+ < a
61+ href = "https://github.com/keyyard/create-mc-bedrock-cli"
62+ target = "_blank"
63+ rel = "noopener noreferrer"
64+ className = "inline-block"
65+ >
66+ < Image
67+ src = "https://img.shields.io/github/stars/keyyard/create-mc-bedrock-cli"
68+ alt = "GitHub Stars"
69+ className = "inline"
70+ width = { 100 }
71+ height = { 50 }
72+ />
73+ </ a >
1774 </ div >
1875 </ div >
19- < p className = "text-xs text-gray-500 pt-2" >
20- Tip: Squint your eyes.
21- </ p >
2276 </ header >
2377) ;
2478
25- export default Header ;
79+ export default Header ;
0 commit comments