Skip to content

Commit

Permalink
Deleted default files and more
Browse files Browse the repository at this point in the history
  • Loading branch information
imsamudev committed Nov 14, 2024
1 parent 6712181 commit 0d4919c
Show file tree
Hide file tree
Showing 14 changed files with 47 additions and 148 deletions.
1 change: 0 additions & 1 deletion frontend/public/file.svg

This file was deleted.

1 change: 0 additions & 1 deletion frontend/public/globe.svg

This file was deleted.

1 change: 0 additions & 1 deletion frontend/public/next.svg

This file was deleted.

1 change: 0 additions & 1 deletion frontend/public/vercel.svg

This file was deleted.

1 change: 0 additions & 1 deletion frontend/public/window.svg

This file was deleted.

17 changes: 17 additions & 0 deletions frontend/src/app/(page)/layout.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
"use client";

import React, { ReactNode } from "react";

interface HomeLayoutProps {
children: ReactNode;
}

const HomeLayout: React.FC<HomeLayoutProps> = ({ children }) => {
return (
<>
{children}
</>
);
};

export default HomeLayout;
13 changes: 13 additions & 0 deletions frontend/src/app/(page)/page.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
"use client";

import React from "react";

const HomePage = () => {
return (
<>
<h1 className="text-3xl text-center">Probando... HOME</h1>
</>
);
};

export default HomePage;
Binary file removed frontend/src/app/favicon.ico
Binary file not shown.
Binary file removed frontend/src/app/fonts/GeistMonoVF.woff
Binary file not shown.
Binary file removed frontend/src/app/fonts/GeistVF.woff
Binary file not shown.
18 changes: 0 additions & 18 deletions frontend/src/app/globals.css
Original file line number Diff line number Diff line change
@@ -1,21 +1,3 @@
@tailwind base;
@tailwind components;
@tailwind utilities;

:root {
--background: #ffffff;
--foreground: #171717;
}

@media (prefers-color-scheme: dark) {
:root {
--background: #0a0a0a;
--foreground: #ededed;
}
}

body {
color: var(--foreground);
background: var(--background);
font-family: Arial, Helvetica, sans-serif;
}
38 changes: 16 additions & 22 deletions frontend/src/app/layout.tsx
Original file line number Diff line number Diff line change
@@ -1,35 +1,29 @@
import type { Metadata } from "next";
import localFont from "next/font/local";
import { Work_Sans } from 'next/font/google';
import "./globals.css";

const geistSans = localFont({
src: "./fonts/GeistVF.woff",
variable: "--font-geist-sans",
weight: "100 900",
});
const geistMono = localFont({
src: "./fonts/GeistMonoVF.woff",
variable: "--font-geist-mono",
weight: "100 900",
});

export const metadata: Metadata = {
title: "Create Next App",
description: "Generated by create next app",
title: "s19-06-webapp",
description: "Música, Reproductor de música, artistas, canciones, álbumes",
};

export default function RootLayout({
children,
}: Readonly<{
const globalFont = Work_Sans({ subsets: ["latin"], weight: "400" });

interface RootLayoutProps {
children: React.ReactNode;
}>) {
}

export default function RootLayout({ children }: RootLayoutProps) {
return (
<html lang="en">
<body
className={`${geistSans.variable} ${geistMono.variable} antialiased`}
>
{children}
<html lang="en" suppressHydrationWarning>
<body className={`${globalFont.className} bg-slate-400`}>

<main className="container mx-auto ">
{children}
</main>
</body>
</html>
);
}

101 changes: 0 additions & 101 deletions frontend/src/app/page.tsx

This file was deleted.

3 changes: 1 addition & 2 deletions frontend/tailwind.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@ export default {
theme: {
extend: {
colors: {
background: "var(--background)",
foreground: "var(--foreground)",

},
},
},
Expand Down

0 comments on commit 0d4919c

Please sign in to comment.