containerize app, several polishing things:

This commit is contained in:
Timothy Pidashev
2024-05-11 21:59:40 -07:00
parent 3e3bc486e2
commit 0a08ef4b0c
5 changed files with 10 additions and 13 deletions

View File

@@ -3,6 +3,7 @@ import "@/style/globals.css";
import Theme from "@/app/theme";
import Header from "@/components/header";
import Footer from "@/components/footer";
import Container from "@/components/ui/container";
// Metadata
export const metadata = {
@@ -19,11 +20,13 @@ export default function Layout({children}) {
dark:bg-dark-background dark:text-dark-foreground
">
<Theme>
<Header />
<main>
{children}
</main>
<Footer />
<Container>
<Header />
<main>
{children}
</main>
<Footer />
</Container >
</Theme>
</body>
</html>

View File

@@ -7,8 +7,6 @@ import Hero from "@/components/hero";
// Exports
export default function Index() {
return (
<Container>
<Hero />
</Container>
<Hero />
);
}

View File

@@ -3,9 +3,7 @@ import Content from "@/components/footer/content";
function Footer() {
return (
<Container>
<Content />
</Container>
<Content />
);
}

View File

@@ -22,7 +22,6 @@ function DefaultHeader() {
lg:px-6 md:px-5 sm:px-4 lg:py-1.5 md:py-1.5
lg:text-4xl md:text-3xl
font-bold justify-center
shadow-md
">
<div className="flex lg:space-x-20 md:space-x-10">
{Links.map((link) => (

View File

@@ -4,7 +4,6 @@ import Typewriter from 'typewriter-effect';
import { motion } from 'framer-motion';
import React, { useState, useEffect } from 'react';
import Image from 'next/image';
import Container from "@/components/ui/container";
function Portrait() {
const fadeInAnimation = {