fix(dashboard): drop the public gallery link from UGC gallery
The in-app grid already is the gallery; the extra tab to /gallery was redundant.
This commit is contained in:
parent
9d69bea940
commit
2b2a58202e
1 changed files with 8 additions and 18 deletions
|
|
@ -1,5 +1,5 @@
|
|||
import React, { useState, useEffect } from 'react';
|
||||
import { Film, Download, Copy, Check, ExternalLink, Loader2, Play, User } from 'lucide-react';
|
||||
import { Film, Download, Copy, Check, Loader2, Play, User } from 'lucide-react';
|
||||
import { getApiUrl } from '../config';
|
||||
import SegmentedControl from './ui/SegmentedControl';
|
||||
import Modal from './ui/Modal';
|
||||
|
|
@ -46,7 +46,6 @@ export default function UGCGallery() {
|
|||
|
||||
return (
|
||||
<div className="space-y-6">
|
||||
<div className="flex flex-wrap items-end justify-between gap-3">
|
||||
<div>
|
||||
<p className="eyebrow mb-1">04 · UGC GALLERY</p>
|
||||
<h2 className="font-display lowercase text-2xl md:text-3xl text-ink">ugc gallery</h2>
|
||||
|
|
@ -55,15 +54,6 @@ export default function UGCGallery() {
|
|||
{avatarsLoaded ? ` · ${avatars.length} avatars` : ''}
|
||||
</p>
|
||||
</div>
|
||||
<a
|
||||
href={getApiUrl('/gallery')}
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
className="btn-quiet text-xs shrink-0"
|
||||
>
|
||||
<ExternalLink size={13} /> public gallery
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<div className="max-w-xs w-full">
|
||||
<SegmentedControl
|
||||
|
|
|
|||
Loading…
Reference in a new issue