Skip to content

Commit

Permalink
🚚 Move foundation to its own directory
Browse files Browse the repository at this point in the history
  • Loading branch information
AnandChowdhary committed Apr 25, 2024
1 parent 421b5a7 commit f09b374
Show file tree
Hide file tree
Showing 17 changed files with 37 additions and 37 deletions.
17 changes: 0 additions & 17 deletions src/app/(foundation)/page.tsx

This file was deleted.

File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Container } from '@/app/(foundation)/components/Container'
import { Logo } from '@/app/(foundation)/components/Logo'
import { Container } from '@/app/foundation/components/Container'
import { Logo } from '@/app/foundation/components/Logo'
import { IconBrandGithub, IconBrandLinkedin } from '@tabler/icons-react'

export function Footer() {
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { BackgroundImage } from '@/app/(foundation)/components/BackgroundImage'
import { Button } from '@/app/(foundation)/components/Button'
import { Container } from '@/app/(foundation)/components/Container'
import { BackgroundImage } from '@/app/foundation/components/BackgroundImage'
import { Button } from '@/app/foundation/components/Button'
import { Container } from '@/app/foundation/components/Container'

export function Hero() {
return (
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Footer } from '@/app/(foundation)/components/Footer'
import { Header } from '@/app/(foundation)/components/Header'
import { Footer } from '@/app/foundation/components/Footer'
import { Header } from '@/app/foundation/components/Header'

export function Layout({
children,
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Button } from '@/app/(foundation)/components/Button'
import { Container } from '@/app/(foundation)/components/Container'
import { Button } from '@/app/foundation/components/Button'
import { Container } from '@/app/foundation/components/Container'

function ArrowRightIcon(props: React.ComponentPropsWithoutRef<'svg'>) {
return (
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
'use client'

import { BackgroundImage } from '@/app/(foundation)/components/BackgroundImage'
import { Button } from '@/app/(foundation)/components/Button'
import { Container } from '@/app/(foundation)/components/Container'
import { BackgroundImage } from '@/app/foundation/components/BackgroundImage'
import { Button } from '@/app/foundation/components/Button'
import { Container } from '@/app/foundation/components/Container'
import { IconChevronRight } from '@tabler/icons-react'

interface Day {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
'use client'

import { Button } from '@/app/(foundation)/components/Button'
import { Container } from '@/app/(foundation)/components/Container'
import { Button } from '@/app/foundation/components/Button'
import { Container } from '@/app/foundation/components/Container'

export function Schedule() {
return (
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import Image from 'next/image'

import { Container } from '@/app/(foundation)/components/Container'
import { Container } from '@/app/foundation/components/Container'

const sponsors = [
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Layout } from '@/app/(foundation)/components/Layout'
import { Layout } from '@/app/foundation/components/Layout'

export default function MainLayout({
children,
Expand Down
17 changes: 17 additions & 0 deletions src/app/foundation/page.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
import { Hero } from '@/app/foundation/components/Hero'
import { Newsletter } from '@/app/foundation/components/Newsletter'
import { Projects } from '@/app/foundation/components/Projects'
import { Schedule } from '@/app/foundation/components/Schedule'
import { Sponsors } from '@/app/foundation/components/Sponsors'

export default function Home() {
return (
<>
<Hero />
<Schedule />
<Projects />
<Sponsors />
<Newsletter />
</>
)
}
8 changes: 4 additions & 4 deletions src/app/not-found.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { BackgroundImage } from '@/app/(foundation)/components/BackgroundImage'
import { Button } from '@/app/(foundation)/components/Button'
import { Container } from '@/app/(foundation)/components/Container'
import { Layout } from '@/app/(foundation)/components/Layout'
import { BackgroundImage } from '@/app/foundation/components/BackgroundImage'
import { Button } from '@/app/foundation/components/Button'
import { Container } from '@/app/foundation/components/Container'
import { Layout } from '@/app/foundation/components/Layout'

export default function NotFound() {
return (
Expand Down

0 comments on commit f09b374

Please sign in to comment.