Skip to content

Commit

Permalink
Revert "Added Footer"
Browse files Browse the repository at this point in the history
This reverts commit 7b21f50.
  • Loading branch information
CaroGzzLeal committed Jun 13, 2024
1 parent 7b21f50 commit 6e0c60b
Show file tree
Hide file tree
Showing 7 changed files with 1 addition and 53 deletions.
2 changes: 1 addition & 1 deletion 04-nestjs-rick-and-morty/.env
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ POSTGRES_URL_NON_POOLING="postgres://default:rAwfnRJTX9q7@ep-square-field-a41lrv
POSTGRES_USER="default"
POSTGRES_HOST="ep-square-field-a41lrvdw-pooler.us-east-1.aws.neon.tech"
POSTGRES_PASSWORD="rAwfnRJTX9q7"
POSTGRES_DATABASE="verceldb"
POSTGRES_DATABASE="verceldb"
9 changes: 0 additions & 9 deletions 04-nestjs-rick-and-morty/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion 04-nestjs-rick-and-morty/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@
"pg": "^8.12.0",
"react": "^18",
"react-dom": "^18",
"react-icons": "^5.2.1",
"react-router-dom": "^6.23.1",
"vercel": "^34.2.7",
"zod": "^3.23.8"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import Header from '../../components/Header'
import SingleCharacter from '@/app/components/SingleCharacter'
import { getServerSession } from 'next-auth'
import { redirect } from 'next/navigation'
import Footer from '@/app/components/Footer'

export default async function CharacterPage({
params,
Expand All @@ -21,7 +20,6 @@ export default async function CharacterPage({
<div className='min-h-screen bg-gray-100 p-5'>
<SingleCharacter params={params} />
</div>
<Footer />
</>
)
}
3 changes: 0 additions & 3 deletions 04-nestjs-rick-and-morty/src/app/characters/page.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import Header from '../components/Header'
import Footer from '../components/Footer'
import Characters from '../components/Characters'
import { getServerSession } from 'next-auth'
import { redirect } from 'next/navigation'
Expand Down Expand Up @@ -40,8 +39,6 @@ export default async function Page() {
<div className='min-h-screen bg-gray-100 p-5'>
<Characters />
</div>

<Footer />
</>
)
}
35 changes: 0 additions & 35 deletions 04-nestjs-rick-and-morty/src/app/components/Footer.tsx

This file was deleted.

2 changes: 0 additions & 2 deletions 04-nestjs-rick-and-morty/src/app/favorites/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import Favorites from '../components/Favorites'
import Header from '../components/Header'
import { getServerSession } from 'next-auth'
import { redirect } from 'next/navigation'
import Footer from '../components/Footer'

export default async function Page() {
const session = await getServerSession()
Expand All @@ -17,7 +16,6 @@ export default async function Page() {
<div className='min-h-screen bg-gray-100 p-5'>
<Favorites />
</div>
<Footer />
</>
)
}

0 comments on commit 6e0c60b

Please sign in to comment.