diff --git a/frontend/public/avatar.jpg b/frontend/public/avatar.jpg new file mode 100644 index 0000000..ff65511 Binary files /dev/null and b/frontend/public/avatar.jpg differ diff --git a/frontend/src/app/(page)/profile/layout.tsx b/frontend/src/app/(page)/profile/layout.tsx new file mode 100644 index 0000000..92a0c9a --- /dev/null +++ b/frontend/src/app/(page)/profile/layout.tsx @@ -0,0 +1,24 @@ +"use client"; + +import React, { ReactNode } from "react"; + +interface ProfileLayoutProps { + children: ReactNode; +} + +const ProfileLayout: React.FC = ({ children }) => { + return ( + <> +
+
+ {children} +
+
+ + ); +}; + +export default ProfileLayout; \ No newline at end of file diff --git a/frontend/src/app/(page)/profile/page.tsx b/frontend/src/app/(page)/profile/page.tsx new file mode 100644 index 0000000..65767c7 --- /dev/null +++ b/frontend/src/app/(page)/profile/page.tsx @@ -0,0 +1,67 @@ +"use client"; + +import { useState } from "react"; +import Link from "next/link"; +import { usePathname } from "next/navigation"; +import Image from "next/image"; +import { Button, buttonVariants } from "@/components/ui/button"; +import { Eye } from "lucide-react"; +import { EyeOff } from "lucide-react"; + +const Profile = () => { + const pathname = usePathname(); + const [clicked, setClicked] = useState(false); + const handleClick = () => { + setClicked(!clicked); + }; + return ( +
+
+
+ avatar +

+ Christian +

+
+
+

+ Email: user@gmail.com +

+
+

+ Contraseña: { clicked ? "1234" : "*****" } +

+
+ { clicked ? : } +
+
+
+
+
+ + + + + + + +
+
+ ); +}; + +export default Profile; \ No newline at end of file diff --git a/frontend/src/app/(page)/settings/layout.tsx b/frontend/src/app/(page)/settings/layout.tsx new file mode 100644 index 0000000..20b0342 --- /dev/null +++ b/frontend/src/app/(page)/settings/layout.tsx @@ -0,0 +1,24 @@ +"use client"; + +import React, { ReactNode } from "react"; + +interface SettingsLayoutProps { + children: ReactNode; +} + +const SettingsLayout: React.FC = ({ children }) => { + return ( + <> +
+
+ {children} +
+
+ + ); +}; + +export default SettingsLayout; \ No newline at end of file diff --git a/frontend/src/app/(page)/settings/page.tsx b/frontend/src/app/(page)/settings/page.tsx new file mode 100644 index 0000000..ce4277a --- /dev/null +++ b/frontend/src/app/(page)/settings/page.tsx @@ -0,0 +1,16 @@ +// "use client"; + +// import { useState } from "react"; +// import Link from "next/link"; +// import { usePathname } from "next/navigation"; +// import { Button, buttonVariants } from "@/components/ui/button"; + +const Settings = () => { + return ( +
+

Configuración

+
+ ); +}; + +export default Settings; \ No newline at end of file