|
|
@@ -74,14 +74,14 @@ export default function AdminTagsPage() {
|
|
|
<div>
|
|
|
<h1 className="mb-6 text-2xl font-bold text-white">Теги</h1>
|
|
|
<div className="mb-4 flex gap-2">
|
|
|
- <input value={newTagId} onChange={(e) => setNewTagId(e.target.value)}
|
|
|
- placeholder="ID (напр. portrait)"
|
|
|
- className="flex-1 rounded-lg border border-white/10 bg-white/5 px-3 py-2 text-sm text-white outline-none"
|
|
|
- />
|
|
|
<input value={newTagName} onChange={(e) => setNewTagName(e.target.value)}
|
|
|
placeholder="Название (напр. Портрет)"
|
|
|
className="flex-1 rounded-lg border border-white/10 bg-white/5 px-3 py-2 text-sm text-white outline-none"
|
|
|
/>
|
|
|
+ <input value={newTagId} onChange={(e) => setNewTagId(e.target.value)}
|
|
|
+ placeholder="ID (напр. portrait)"
|
|
|
+ className="flex-1 rounded-lg border border-white/10 bg-white/5 px-3 py-2 text-sm text-white outline-none"
|
|
|
+ />
|
|
|
<button onClick={addTag} className="rounded-lg bg-green-600 px-3 py-2 text-sm text-white hover:bg-green-500">
|
|
|
+
|
|
|
</button>
|
|
|
@@ -99,14 +99,14 @@ export default function AdminTagsPage() {
|
|
|
<div>
|
|
|
<h1 className="mb-6 text-2xl font-bold text-white">Характеристики</h1>
|
|
|
<div className="mb-4 flex gap-2">
|
|
|
- <input value={newFeatureId} onChange={(e) => setNewFeatureId(e.target.value)}
|
|
|
- placeholder="ID (напр. parking)"
|
|
|
- className="flex-1 rounded-lg border border-white/10 bg-white/5 px-3 py-2 text-sm text-white outline-none"
|
|
|
- />
|
|
|
<input value={newFeatureName} onChange={(e) => setNewFeatureName(e.target.value)}
|
|
|
placeholder="Название (напр. Парковка)"
|
|
|
className="flex-1 rounded-lg border border-white/10 bg-white/5 px-3 py-2 text-sm text-white outline-none"
|
|
|
/>
|
|
|
+ <input value={newFeatureId} onChange={(e) => setNewFeatureId(e.target.value)}
|
|
|
+ placeholder="ID (напр. parking)"
|
|
|
+ className="flex-1 rounded-lg border border-white/10 bg-white/5 px-3 py-2 text-sm text-white outline-none"
|
|
|
+ />
|
|
|
<button onClick={addFeature} className="rounded-lg bg-green-600 px-3 py-2 text-sm text-white hover:bg-green-500">
|
|
|
+
|
|
|
</button>
|