refactor: rename Community Presets to Performance Entries in game page UI (Task 3)
This commit is contained in:
@@ -407,7 +407,7 @@ function HeroInfo({
|
|||||||
<Badge
|
<Badge
|
||||||
icon={SettingsIcon}
|
icon={SettingsIcon}
|
||||||
value={counts.presets}
|
value={counts.presets}
|
||||||
label='Presets'
|
label='Entries'
|
||||||
/>
|
/>
|
||||||
<Badge
|
<Badge
|
||||||
icon={MessageSquareIcon}
|
icon={MessageSquareIcon}
|
||||||
@@ -1176,7 +1176,7 @@ export function GamePageClient({
|
|||||||
</div>
|
</div>
|
||||||
</motion.div>
|
</motion.div>
|
||||||
|
|
||||||
{/* Section 4a: Pinned Presets */}
|
{/* Section 4a: Pinned Entries */}
|
||||||
{pinnedPresets.length > 0 && (
|
{pinnedPresets.length > 0 && (
|
||||||
<motion.div
|
<motion.div
|
||||||
initial={{ opacity: 0, y: 12 }}
|
initial={{ opacity: 0, y: 12 }}
|
||||||
@@ -1187,7 +1187,7 @@ export function GamePageClient({
|
|||||||
<div className='max-w-7xl mx-auto flex flex-col gap-4'>
|
<div className='max-w-7xl mx-auto flex flex-col gap-4'>
|
||||||
<div className='flex items-center justify-between'>
|
<div className='flex items-center justify-between'>
|
||||||
<h2 className='text-lg font-semibold'>
|
<h2 className='text-lg font-semibold'>
|
||||||
📌 Pinned Presets
|
📌 Pinned Entries
|
||||||
</h2>
|
</h2>
|
||||||
<span className='text-xs text-text/50'>
|
<span className='text-xs text-text/50'>
|
||||||
{pinnedPresets.length} pinned
|
{pinnedPresets.length} pinned
|
||||||
@@ -1416,7 +1416,7 @@ export function GamePageClient({
|
|||||||
</motion.div>
|
</motion.div>
|
||||||
)}
|
)}
|
||||||
|
|
||||||
{/* Section 4b: Community Presets */}
|
{/* Section 4b: Performance Entries */}
|
||||||
<motion.div
|
<motion.div
|
||||||
initial={{ opacity: 0, y: 12 }}
|
initial={{ opacity: 0, y: 12 }}
|
||||||
animate={{ opacity: 1, y: 0 }}
|
animate={{ opacity: 1, y: 0 }}
|
||||||
@@ -1426,11 +1426,11 @@ export function GamePageClient({
|
|||||||
<div className='max-w-7xl mx-auto flex flex-col gap-4'>
|
<div className='max-w-7xl mx-auto flex flex-col gap-4'>
|
||||||
<div className='flex items-center justify-between'>
|
<div className='flex items-center justify-between'>
|
||||||
<h2 className='text-lg font-semibold'>
|
<h2 className='text-lg font-semibold'>
|
||||||
Community Presets
|
Performance Entries
|
||||||
</h2>
|
</h2>
|
||||||
<span className='text-xs text-text/50'>
|
<span className='text-xs text-text/50'>
|
||||||
{regularPresets.length} preset
|
{regularPresets.length} entr
|
||||||
{regularPresets.length !== 1 ? "s" : ""}
|
{regularPresets.length !== 1 ? "ies" : "y"}
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -1438,7 +1438,7 @@ export function GamePageClient({
|
|||||||
<div className='flex flex-col items-center justify-center py-16 gap-3 rounded-xl border border-border bg-text/2'>
|
<div className='flex flex-col items-center justify-center py-16 gap-3 rounded-xl border border-border bg-text/2'>
|
||||||
<SettingsIcon className='h-10 w-10 text-text/20' />
|
<SettingsIcon className='h-10 w-10 text-text/20' />
|
||||||
<p className='text-sm text-text/40'>
|
<p className='text-sm text-text/40'>
|
||||||
No presets match the selected filters
|
No entries match the selected filters
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
) : (
|
) : (
|
||||||
|
|||||||
Reference in New Issue
Block a user