mirror of
https://github.com/timmypidashev/web.git
synced 2026-04-14 19:13:51 +00:00
containerize app, several polishing things:
This commit is contained in:
@@ -3,6 +3,7 @@ import "@/style/globals.css";
|
|||||||
import Theme from "@/app/theme";
|
import Theme from "@/app/theme";
|
||||||
import Header from "@/components/header";
|
import Header from "@/components/header";
|
||||||
import Footer from "@/components/footer";
|
import Footer from "@/components/footer";
|
||||||
|
import Container from "@/components/ui/container";
|
||||||
|
|
||||||
// Metadata
|
// Metadata
|
||||||
export const metadata = {
|
export const metadata = {
|
||||||
@@ -19,11 +20,13 @@ export default function Layout({children}) {
|
|||||||
dark:bg-dark-background dark:text-dark-foreground
|
dark:bg-dark-background dark:text-dark-foreground
|
||||||
">
|
">
|
||||||
<Theme>
|
<Theme>
|
||||||
<Header />
|
<Container>
|
||||||
<main>
|
<Header />
|
||||||
{children}
|
<main>
|
||||||
</main>
|
{children}
|
||||||
<Footer />
|
</main>
|
||||||
|
<Footer />
|
||||||
|
</Container >
|
||||||
</Theme>
|
</Theme>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
@@ -7,8 +7,6 @@ import Hero from "@/components/hero";
|
|||||||
// Exports
|
// Exports
|
||||||
export default function Index() {
|
export default function Index() {
|
||||||
return (
|
return (
|
||||||
<Container>
|
<Hero />
|
||||||
<Hero />
|
|
||||||
</Container>
|
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,9 +3,7 @@ import Content from "@/components/footer/content";
|
|||||||
|
|
||||||
function Footer() {
|
function Footer() {
|
||||||
return (
|
return (
|
||||||
<Container>
|
<Content />
|
||||||
<Content />
|
|
||||||
</Container>
|
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -22,7 +22,6 @@ function DefaultHeader() {
|
|||||||
lg:px-6 md:px-5 sm:px-4 lg:py-1.5 md:py-1.5
|
lg:px-6 md:px-5 sm:px-4 lg:py-1.5 md:py-1.5
|
||||||
lg:text-4xl md:text-3xl
|
lg:text-4xl md:text-3xl
|
||||||
font-bold justify-center
|
font-bold justify-center
|
||||||
shadow-md
|
|
||||||
">
|
">
|
||||||
<div className="flex lg:space-x-20 md:space-x-10">
|
<div className="flex lg:space-x-20 md:space-x-10">
|
||||||
{Links.map((link) => (
|
{Links.map((link) => (
|
||||||
|
|||||||
@@ -4,7 +4,6 @@ import Typewriter from 'typewriter-effect';
|
|||||||
import { motion } from 'framer-motion';
|
import { motion } from 'framer-motion';
|
||||||
import React, { useState, useEffect } from 'react';
|
import React, { useState, useEffect } from 'react';
|
||||||
import Image from 'next/image';
|
import Image from 'next/image';
|
||||||
import Container from "@/components/ui/container";
|
|
||||||
|
|
||||||
function Portrait() {
|
function Portrait() {
|
||||||
const fadeInAnimation = {
|
const fadeInAnimation = {
|
||||||
|
|||||||
Reference in New Issue
Block a user