Skip to content

Commit f09b374

Browse files
🚚 Move foundation to its own directory
1 parent 421b5a7 commit f09b374

17 files changed

+37
-37
lines changed

src/app/(foundation)/page.tsx

-17
This file was deleted.

src/app/(foundation)/components/Footer.tsx renamed to src/app/foundation/components/Footer.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import { Container } from '@/app/(foundation)/components/Container'
2-
import { Logo } from '@/app/(foundation)/components/Logo'
1+
import { Container } from '@/app/foundation/components/Container'
2+
import { Logo } from '@/app/foundation/components/Logo'
33
import { IconBrandGithub, IconBrandLinkedin } from '@tabler/icons-react'
44

55
export function Footer() {

src/app/(foundation)/components/Hero.tsx renamed to src/app/foundation/components/Hero.tsx

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
import { BackgroundImage } from '@/app/(foundation)/components/BackgroundImage'
2-
import { Button } from '@/app/(foundation)/components/Button'
3-
import { Container } from '@/app/(foundation)/components/Container'
1+
import { BackgroundImage } from '@/app/foundation/components/BackgroundImage'
2+
import { Button } from '@/app/foundation/components/Button'
3+
import { Container } from '@/app/foundation/components/Container'
44

55
export function Hero() {
66
return (

src/app/(foundation)/components/Layout.tsx renamed to src/app/foundation/components/Layout.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import { Footer } from '@/app/(foundation)/components/Footer'
2-
import { Header } from '@/app/(foundation)/components/Header'
1+
import { Footer } from '@/app/foundation/components/Footer'
2+
import { Header } from '@/app/foundation/components/Header'
33

44
export function Layout({
55
children,

src/app/(foundation)/components/Newsletter.tsx renamed to src/app/foundation/components/Newsletter.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import { Button } from '@/app/(foundation)/components/Button'
2-
import { Container } from '@/app/(foundation)/components/Container'
1+
import { Button } from '@/app/foundation/components/Button'
2+
import { Container } from '@/app/foundation/components/Container'
33

44
function ArrowRightIcon(props: React.ComponentPropsWithoutRef<'svg'>) {
55
return (

src/app/(foundation)/components/Projects.tsx renamed to src/app/foundation/components/Projects.tsx

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
'use client'
22

3-
import { BackgroundImage } from '@/app/(foundation)/components/BackgroundImage'
4-
import { Button } from '@/app/(foundation)/components/Button'
5-
import { Container } from '@/app/(foundation)/components/Container'
3+
import { BackgroundImage } from '@/app/foundation/components/BackgroundImage'
4+
import { Button } from '@/app/foundation/components/Button'
5+
import { Container } from '@/app/foundation/components/Container'
66
import { IconChevronRight } from '@tabler/icons-react'
77

88
interface Day {

src/app/(foundation)/components/Schedule.tsx renamed to src/app/foundation/components/Schedule.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
'use client'
22

3-
import { Button } from '@/app/(foundation)/components/Button'
4-
import { Container } from '@/app/(foundation)/components/Container'
3+
import { Button } from '@/app/foundation/components/Button'
4+
import { Container } from '@/app/foundation/components/Container'
55

66
export function Schedule() {
77
return (

src/app/(foundation)/components/Sponsors.tsx renamed to src/app/foundation/components/Sponsors.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import Image from 'next/image'
22

3-
import { Container } from '@/app/(foundation)/components/Container'
3+
import { Container } from '@/app/foundation/components/Container'
44

55
const sponsors = [
66
{

src/app/(foundation)/layout.tsx renamed to src/app/foundation/layout.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { Layout } from '@/app/(foundation)/components/Layout'
1+
import { Layout } from '@/app/foundation/components/Layout'
22

33
export default function MainLayout({
44
children,

src/app/foundation/page.tsx

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
import { Hero } from '@/app/foundation/components/Hero'
2+
import { Newsletter } from '@/app/foundation/components/Newsletter'
3+
import { Projects } from '@/app/foundation/components/Projects'
4+
import { Schedule } from '@/app/foundation/components/Schedule'
5+
import { Sponsors } from '@/app/foundation/components/Sponsors'
6+
7+
export default function Home() {
8+
return (
9+
<>
10+
<Hero />
11+
<Schedule />
12+
<Projects />
13+
<Sponsors />
14+
<Newsletter />
15+
</>
16+
)
17+
}

src/app/not-found.tsx

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
import { BackgroundImage } from '@/app/(foundation)/components/BackgroundImage'
2-
import { Button } from '@/app/(foundation)/components/Button'
3-
import { Container } from '@/app/(foundation)/components/Container'
4-
import { Layout } from '@/app/(foundation)/components/Layout'
1+
import { BackgroundImage } from '@/app/foundation/components/BackgroundImage'
2+
import { Button } from '@/app/foundation/components/Button'
3+
import { Container } from '@/app/foundation/components/Container'
4+
import { Layout } from '@/app/foundation/components/Layout'
55

66
export default function NotFound() {
77
return (

0 commit comments

Comments
 (0)