Modificaciones
This commit is contained in:
Vendored
+2
@@ -0,0 +1,2 @@
|
||||
declare module '*.css';
|
||||
declare module '*.scss';
|
||||
Generated
+1647
-465
File diff suppressed because it is too large
Load Diff
+2
-2
@@ -11,12 +11,12 @@
|
||||
"dependencies": {
|
||||
"axios": "^1.11.0",
|
||||
"bootstrap": "^5.3.7",
|
||||
"next": "15.4.5",
|
||||
"next": "^15.5.4",
|
||||
"react": "19.1.0",
|
||||
"react-bootstrap": "^2.10.10",
|
||||
"react-dom": "19.1.0",
|
||||
"sass": "^1.89.2",
|
||||
"sweetalert2": "^11.22.3"
|
||||
"sweetalert2": "^11.26.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@eslint/eslintrc": "^3",
|
||||
|
||||
@@ -22,10 +22,26 @@
|
||||
}
|
||||
*/
|
||||
|
||||
html, body {
|
||||
height: 100%;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
body {
|
||||
background: var(--background);
|
||||
color: var(--foreground);
|
||||
font-family: Arial, Helvetica, sans-serif;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
min-height: 100vh; /* ocupa toda la pantalla */
|
||||
}
|
||||
|
||||
/* el contenido (children) se expande y empuja el footer al fondo */
|
||||
main {
|
||||
flex: 1;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
+4
-6
@@ -2,8 +2,8 @@ import type { Metadata } from "next";
|
||||
import { Geist, Geist_Mono } from "next/font/google";
|
||||
import Header from "@/components/layout/header";
|
||||
import Footer from "@/components/layout/footer";
|
||||
import '@/sass/bootstrap.scss';
|
||||
import "./globals.css";
|
||||
import '@/sass/bootstrap.scss';
|
||||
import '@/app/globals.css'
|
||||
|
||||
const geistSans = Geist({
|
||||
variable: "--font-geist-sans",
|
||||
@@ -30,11 +30,9 @@ export default function RootLayout({
|
||||
}>) {
|
||||
return (
|
||||
<html lang="en">
|
||||
<body
|
||||
className={`${geistSans.variable} ${geistMono.variable} antialiased`}
|
||||
>
|
||||
<body className={`${geistSans.variable} ${geistMono.variable} antialiased`}>
|
||||
<Header />
|
||||
{children}
|
||||
<main className="content">{children}</main> {/* <-- envolvemos el contenido */}
|
||||
<Footer />
|
||||
</body>
|
||||
</html>
|
||||
|
||||
+1
-1
@@ -22,6 +22,6 @@
|
||||
"@/*": ["./src/*"]
|
||||
}
|
||||
},
|
||||
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"],
|
||||
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts", "global.d.ts"],
|
||||
"exclude": ["node_modules"]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user