Compare commits
2 Commits
e647aef47e
...
6316ecd027
| Author | SHA1 | Date | |
|---|---|---|---|
| 6316ecd027 | |||
| f082ef4fda |
Generated
+2
-2
@@ -1,12 +1,12 @@
|
||||
{
|
||||
"name": "@zen/core",
|
||||
"version": "1.4.63",
|
||||
"version": "1.4.64",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "@zen/core",
|
||||
"version": "1.4.63",
|
||||
"version": "1.4.64",
|
||||
"license": "GPL-3.0-only",
|
||||
"dependencies": {
|
||||
"@headlessui/react": "^2.0.0",
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@zen/core",
|
||||
"version": "1.4.63",
|
||||
"version": "1.4.64",
|
||||
"description": "Un CMS Next.js construit sur l'essentiel, rien de plus, rien de moins.",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
||||
@@ -34,11 +34,11 @@ const SettingsPage = ({ appConfig = {} }) => {
|
||||
<div className="flex flex-col gap-4 sm:gap-6 lg:gap-8">
|
||||
<AdminHeader title="Paramètres" description="Configuration de votre espace ZEN" />
|
||||
|
||||
<div className="flex flex-col gap-6">
|
||||
<div className="flex flex-col gap-6 items-start">
|
||||
<TabNav tabs={TABS} activeTab={activeTab} onTabChange={setActiveTab} />
|
||||
|
||||
{activeTab === 'general' && (
|
||||
<Card title="Informations générales">
|
||||
<Card title="Informations générales" className='min-w-1/2'>
|
||||
<div className="grid grid-cols-1 md:grid-cols-2 gap-4">
|
||||
<Input
|
||||
label="Nom du site"
|
||||
@@ -70,7 +70,7 @@ const SettingsPage = ({ appConfig = {} }) => {
|
||||
)}
|
||||
|
||||
{activeTab === 'appearance' && (
|
||||
<Card title="Thème">
|
||||
<Card title="Thème" className='min-w-1/2'>
|
||||
<div className="max-w-xs">
|
||||
<Select
|
||||
label="Thème de l'interface"
|
||||
|
||||
@@ -2,9 +2,9 @@
|
||||
|
||||
import React from 'react';
|
||||
|
||||
const TabNav = ({ tabs = [], activeTab, onTabChange }) => {
|
||||
const TabNav = ({ tabs = [], activeTab, onTabChange}) => {
|
||||
return (
|
||||
<div className="flex border-b border-neutral-200 dark:border-neutral-800/70">
|
||||
<div className="w-full flex border-b border-neutral-200 dark:border-neutral-800/70">
|
||||
{tabs.map((tab) => {
|
||||
const isActive = tab.id === activeTab;
|
||||
return (
|
||||
|
||||
Reference in New Issue
Block a user