Skip to content

Commit fcb4fc1

Browse files
hh
1 parent 15513ef commit fcb4fc1

12 files changed

Lines changed: 568 additions & 741 deletions

File tree

.gitignore

Lines changed: 2 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -35,28 +35,15 @@ yarn-error.log*
3535
*.tsbuildinfo
3636
next-env.d.ts
3737

38-
/utils/cardDataApi.js
38+
3939
.aider*
4040
server/changeStreamHandler.js
4141
.codex
42+
.vscode
4243

43-
/.vscode/
4444
/rift
4545
/.gpteng
4646
repomix-output.*
47-
/public/*
48-
!/public/images/
49-
!/public/images/**
50-
!/public/yugioh-parallax/
51-
!/public/yugioh-parallax/**
52-
!/public/card-data/
53-
!/public/card-data/**
54-
!/public/favicon.ico
55-
!/public/logo-with-name-side.jpg
56-
!/public/next.svg
57-
!/public/robots.txt
58-
!/public/uRl6tFT0uQxyhWgCKm4TQjbIjMl4TcQYxVGVvGmt.jpg
59-
!/public/vercel.svg
6047
repomix.config.json
6148
prompt.md
6249
/skills

components/Layout.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ export default function Layout( { children } ) {
1717
};
1818

1919
return (
20-
<div className="relative mx-auto min-h-screen w-full glass dark:bg-gray-900">
20+
<div className={ `relative mx-auto min-h-screen w-full glass backdrop ${ showYugiohBackground ? "overflow-x-hidden" : "" }` }>
2121
{ showYugiohBackground ? <YugiohSiteBackground /> : null }
2222
<div className="relative z-10">
2323
<Dialog open={ isSidebarOpen } onClose={ setIsSidebarOpen } className="relative z-50 lg:hidden">

components/Yugioh/AlphabeticalIndex.js

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,19 +16,19 @@ const AlphabeticalIndex = () => {
1616

1717
return (
1818
<>
19-
<div className="w-full inline-block flex-col sm:flex-row my-10 m-2 mx-auto justify-between">
20-
<span className="columns-2 p-2 mx-auto max-w-7xl">
21-
<h1 className="text-2xl text-shadow text-center sm:text-left font-semibold mb-4 sm:text-nowrap sm:block">
19+
<div className="mx-auto my-10 flex w-full max-w-7xl flex-col gap-6 px-2">
20+
<section className="rounded-3xl border border-white/15 bg-black/65 px-6 py-6 shadow-2xl shadow-black/40 backdrop-blur-md">
21+
<h1 className="text-center text-3xl font-semibold text-white sm:text-left">
2222
Alphabetical Index
2323
</h1>
24-
<p className="text-base text-center sm:text-left text-gray-300 italic text-pretty sm:text-nowrap sm:inline sm:mx-auto">
25-
Browse Yu-Gi-Oh! sets by letter...
24+
<p className="mt-3 max-w-2xl text-center text-base italic text-white/78 sm:text-left">
25+
Browse Yu-Gi-Oh! sets by opening letter and jump straight into each catalogue section.
2626
</p>
27-
</span>
27+
</section>
2828

2929
<nav
3030
aria-label="Browse sets by starting letter"
31-
className="mx-auto mt-5 max-w-7xl text-pretty text-shadow flex flex-wrap gap-2 place-content-center md:text-nowrap"
31+
className="flex flex-wrap place-content-center gap-2 rounded-3xl border border-white/15 bg-black/60 p-4 shadow-2xl shadow-black/35 backdrop-blur-sm md:text-nowrap"
3232
>
3333
{ letters.map( ( letter ) => {
3434
const isActive = letter === activeLetter;
@@ -41,7 +41,11 @@ const AlphabeticalIndex = () => {
4141
} }
4242
prefetch={ false }
4343
aria-current={ isActive ? 'page' : undefined }
44-
className={`mx-auto rounded px-3 py-2 leading-7 text-2xl font-bold transition hover:bg-stone-600 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-white ${ isActive ? 'bg-white/10 text-white underline' : 'text-white/80 no-underline' }`}
44+
className={ `rounded-xl border px-3 py-2 leading-7 text-2xl font-bold transition focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-white ${
45+
isActive
46+
? 'border-white/30 bg-white/16 text-white shadow-lg shadow-black/20 underline'
47+
: 'border-white/10 bg-black/35 text-white/85 no-underline hover:border-white/20 hover:bg-black/55'
48+
}` }
4549
>
4650
{ letter }
4751
</Link>

0 commit comments

Comments
 (0)