Update synology page

This commit is contained in:
MacRimi 2025-03-19 22:45:52 +01:00
parent d3584b9c02
commit 9d7c8cdbf7

View File

@ -177,8 +177,7 @@ export default function Page() {
Select DSM Version Select DSM Version
</h2> </h2>
<p className="mb-4"> <p className="mb-4">
After selecting the model, you need to choose the DSM version you want to install. In some loaders (such as After selecting the model, you need to choose the DSM version you want to install.
arc), you may encounter additional options at this stage.
</p> </p>
<TabGroup <TabGroup
@ -470,7 +469,7 @@ export default function Page() {
</h2> </h2>
<p className="mb-4">Once the loader is booted, you can find your Synology device using:</p> <p className="mb-4">Once the loader is booted, you can find your Synology device using:</p>
<div className="bg-gray-100 p-4 rounded-md overflow-x-auto text-sm mb-4"> <div className="bg-gray-100 p-4 rounded-md overflow-x-auto text-sm mb-4">
<code>https://find.synology.com</code> <code>https://finds.synology.com</code>
</div> </div>
<p className="mb-6">Follow the on-screen steps to complete the DSM installation.</p> <p className="mb-6">Follow the on-screen steps to complete the DSM installation.</p>
<div className="flex flex-col space-y-8"> <div className="flex flex-col space-y-8">
@ -509,14 +508,13 @@ export default function Page() {
) )
} }
// Añadir esta interfaz antes de la función TabGroup
interface Tab { interface Tab {
id: string id: string
label: string label: string
content: React.ReactNode content: React.ReactNode
} }
// Modificar la definición de la función TabGroup para incluir el tipo
function TabGroup({ tabs }: { tabs: Tab[] }) { function TabGroup({ tabs }: { tabs: Tab[] }) {
const [activeTab, setActiveTab] = useState(tabs[0].id) const [activeTab, setActiveTab] = useState(tabs[0].id)