From d344a467156cac1d6b234a0cb795615a0eb407d2 Mon Sep 17 00:00:00 2001 From: clara7227 Date: Wed, 9 Oct 2024 14:58:17 +0200 Subject: [PATCH] Rutas arregladas --- app/documentation/page.js | 40 ++++++++++++++++++++++++++++++++++++++ app/layout.js | 5 ++--- components/core/Footer.jsx | 6 +++--- components/core/Header.jsx | 9 +++++---- constants/langs/en.js | 5 +++-- constants/langs/es.js | 5 +++-- constants/routes.js | 19 ++++++++++++------ 7 files changed, 69 insertions(+), 20 deletions(-) create mode 100644 app/documentation/page.js diff --git a/app/documentation/page.js b/app/documentation/page.js new file mode 100644 index 0000000..68afe5e --- /dev/null +++ b/app/documentation/page.js @@ -0,0 +1,40 @@ +"use client"; + +import { useEffect, useState } from "react"; +import { useTranslation } from "react-i18next"; + +// Components +import { Button, ButtonVariants } from "@/components/ui/button"; +import Heading from "@/components/ui/Heading"; +import RecentPublications from "@/components/RecentPublications"; +import Text from "@/components/ui/Text"; +import { Card, CardVariants } from "@/components/core/Cards"; +import { Label } from "@radix-ui/react-label"; +import { Badge, badgeVariants } from "@/components/ui/badge"; +import TabsCategoryFilter from "@/components/TabsCategoryFilter"; +import { FaceIcon } from "@radix-ui/react-icons"; + +// Array de datos (cards) +import { projects } from "@/constants/projects"; +import { mypublications } from "@/constants/publications"; + + +export default function Documentation(props) { + const { t, i18n } = useTranslation(); + const currentLang = i18n.language; + + useEffect(() => { + window.scrollTo(0, 0); + }, []); + + return ( +
+ + + Documentación + + + +
+ ); +} diff --git a/app/layout.js b/app/layout.js index ab6dba2..2051ed0 100644 --- a/app/layout.js +++ b/app/layout.js @@ -34,7 +34,6 @@ export default function RootLayout({ children }) { Boiler
- {isClient ? (
@@ -43,8 +42,8 @@ export default function RootLayout({ children }) { ))}
- ) : null} -