From 1b3a300173c4531bebf3b88966a1fec64d276440 Mon Sep 17 00:00:00 2001 From: Alberto-Duarte Date: Fri, 21 Apr 2023 13:51:46 +0100 Subject: First commit --- src/pages/index.tsx | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 src/pages/index.tsx (limited to 'src/pages/index.tsx') diff --git a/src/pages/index.tsx b/src/pages/index.tsx new file mode 100644 index 0000000..0a21d32 --- /dev/null +++ b/src/pages/index.tsx @@ -0,0 +1,41 @@ +import Link from "next/link" +import Image from "next/image" + +export default function Home() { + return ( +
+

Netflix

+

Who's watching?

+
+ { + USERS.map((user, index) => ( +
+ + + +

{user.name}

+
+ ))} +
+
+ ) +} + +const USERS = [ + { + name:'Alberto', + link:'/browse', + avatar:'https://avatars.dicebear.com/api/male/124.svg' + }, + { + name:'Kids', + link:'/', + avatar:'https://avatars.dicebear.com/api/male/122.svg' + }, + { + name:'Add profile', + link:'/', + avatar:'https://avatars.dicebear.com/api/female/12.svg' + // icon:'...' + } +] \ No newline at end of file -- cgit v1.2.3-54-g00ecf