Skip to content

Commit

Permalink
🐛 Import container from common components
Browse files Browse the repository at this point in the history
  • Loading branch information
AnandChowdhary committed Apr 25, 2024
1 parent 9bfd5e0 commit 7b038e6
Show file tree
Hide file tree
Showing 15 changed files with 13 additions and 26 deletions.
2 changes: 1 addition & 1 deletion src/app/common/Collaborators.tsx
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/common/Container'

const sponsors = [
{
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion src/app/common/Foundation.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Container } from '@/app/common/Container'
import { Button } from '@/app/holdings/components/Button'
import { Container } from '@/app/holdings/components/Container'

export function Foundation({ externalLink }: { externalLink?: boolean }) {
return (
Expand Down
2 changes: 1 addition & 1 deletion src/app/common/Holdings.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Container } from '@/app/common/Container'
import { Button } from '@/app/holdings/components/Button'
import { Container } from '@/app/holdings/components/Container'

export function Holdings({ externalLink }: { externalLink?: boolean }) {
return (
Expand Down
2 changes: 1 addition & 1 deletion src/app/foundation/components/Footer.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Container } from '@/app/common/Container'
import { Logo } from '@/app/common/Logo'
import { Container } from '@/app/foundation/components/Container'
import { IconBrandGithub, IconBrandLinkedin } from '@tabler/icons-react'

export function Footer() {
Expand Down
2 changes: 1 addition & 1 deletion src/app/foundation/components/Header.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Container } from '@/app/common/Container'
import { Logo } from '@/app/common/Logo'
import { Button } from '@/app/holdings/components/Button'
import { Container } from '@/app/holdings/components/Container'

export function Header() {
return (
Expand Down
2 changes: 1 addition & 1 deletion src/app/foundation/components/Hero.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Container } from '@/app/common/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
2 changes: 1 addition & 1 deletion src/app/foundation/components/Newsletter.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Container } from '@/app/common/Container'
import { Button } from '@/app/foundation/components/Button'
import { Container } from '@/app/foundation/components/Container'

function ArrowRightIcon(props: React.ComponentPropsWithoutRef<'svg'>) {
return (
Expand Down
2 changes: 1 addition & 1 deletion src/app/foundation/components/Projects.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
'use client'

import { Container } from '@/app/common/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
13 changes: 0 additions & 13 deletions src/app/holdings/components/Container.tsx

This file was deleted.

2 changes: 1 addition & 1 deletion src/app/holdings/components/Footer.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Container } from '@/app/common/Container'
import { Logo } from '@/app/common/Logo'
import { Container } from '@/app/holdings/components/Container'
import { IconBrandGithub, IconBrandLinkedin } from '@tabler/icons-react'

export function Footer() {
Expand Down
2 changes: 1 addition & 1 deletion src/app/holdings/components/Header.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Container } from '@/app/common/Container'
import { Logo } from '@/app/common/Logo'
import { Button } from '@/app/holdings/components/Button'
import { Container } from '@/app/holdings/components/Container'

export function Header() {
return (
Expand Down
2 changes: 1 addition & 1 deletion src/app/holdings/components/Hero.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Container } from '@/app/common/Container'
import { BackgroundImage } from '@/app/holdings/components/BackgroundImage'
import { Button } from '@/app/holdings/components/Button'
import { Container } from '@/app/holdings/components/Container'

export function Hero() {
return (
Expand Down
2 changes: 1 addition & 1 deletion src/app/holdings/components/Newsletter.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Container } from '@/app/common/Container'
import { Button } from '@/app/holdings/components/Button'
import { Container } from '@/app/holdings/components/Container'

function ArrowRightIcon(props: React.ComponentPropsWithoutRef<'svg'>) {
return (
Expand Down
2 changes: 1 addition & 1 deletion src/app/holdings/components/Projects.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
'use client'

import { Container } from '@/app/common/Container'
import { BackgroundImage } from '@/app/holdings/components/BackgroundImage'
import { Container } from '@/app/holdings/components/Container'
import clsx from 'clsx'

interface Day {
Expand Down

0 comments on commit 7b038e6

Please sign in to comment.