Improve homepage layout and admin dashboard navigation
Remove sorting controls and media outlet title from the homepage. Adjust admin dashboard layout to place the description next to the logo. Replit-Commit-Author: Agent Replit-Commit-Session-Id: 069d4324-6c40-4355-955e-c714a50de1ea Replit-Commit-Checkpoint-Type: intermediate_checkpoint Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/3df548ff-50ae-432f-9be4-25d34eccc983/069d4324-6c40-4355-955e-c714a50de1ea/gVirbWH
This commit is contained in:
@ -88,23 +88,6 @@ export default function MainContent() {
|
|||||||
return (
|
return (
|
||||||
<div className="min-h-screen bg-gray-50">
|
<div className="min-h-screen bg-gray-50">
|
||||||
<div className="max-w-7xl mx-auto px-4 py-4">
|
<div className="max-w-7xl mx-auto px-4 py-4">
|
||||||
{/* Sorting Controls */}
|
|
||||||
<div className="flex items-center justify-between mb-6">
|
|
||||||
<h1 className="text-2xl font-bold text-gray-900">언론매체</h1>
|
|
||||||
<div className="flex items-center space-x-2">
|
|
||||||
<ArrowUpDown className="h-4 w-4 text-gray-500" />
|
|
||||||
<Select value={sortBy} onValueChange={(value: "alphabetical" | "traffic") => setSortBy(value)}>
|
|
||||||
<SelectTrigger className="w-[180px]" data-testid="sort-select">
|
|
||||||
<SelectValue placeholder="정렬 방식" />
|
|
||||||
</SelectTrigger>
|
|
||||||
<SelectContent>
|
|
||||||
<SelectItem value="alphabetical" data-testid="sort-alphabetical">ABC 순</SelectItem>
|
|
||||||
<SelectItem value="traffic" data-testid="sort-traffic">트래픽 순</SelectItem>
|
|
||||||
</SelectContent>
|
|
||||||
</Select>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
{isLoading ? (
|
{isLoading ? (
|
||||||
<div className="grid grid-cols-1 lg:grid-cols-3 gap-6">
|
<div className="grid grid-cols-1 lg:grid-cols-3 gap-6">
|
||||||
{categories.map((category) => (
|
{categories.map((category) => (
|
||||||
|
|||||||
Reference in New Issue
Block a user