Skip to content

Commit

Permalink
remove unused code and update metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
piducancore committed May 5, 2024
1 parent 22c5cd9 commit e837137
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 1,611 deletions.
2 changes: 1 addition & 1 deletion app/components/footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ function ArrowIcon() {

export default function Footer() {
return (
<footer className="mb-16">
<footer className="mt-auto mb-16">
<ul className="font-sm mt-8 flex flex-col space-x-0 space-y-2 text-neutral-600 md:flex-row md:space-x-4 md:space-y-0 dark:text-neutral-300">
<li>
<a
Expand Down
6 changes: 3 additions & 3 deletions app/components/nav.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ const navItems = {
'/blog': {
name: 'blog',
},
'https://vercel.com/templates/next.js/portfolio-starter-kit': {
name: 'deploy',
},
// 'https://vercel.com/templates/next.js/portfolio-starter-kit': {
// name: 'deploy',
// },
}

export function Navbar() {
Expand Down
20 changes: 10 additions & 10 deletions app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,16 @@ import { baseUrl } from './sitemap'
export const metadata: Metadata = {
metadataBase: new URL(baseUrl),
title: {
default: 'Next.js Portfolio Starter',
template: '%s | Next.js Portfolio Starter',
default: 'cyberpunga',
template: '%s | cyberpunga',
},
description: 'This is my portfolio.',
description: 'si estás leyendo esto, significa que sigues con vida y nos alegra muchísimo.',
openGraph: {
title: 'My Portfolio',
description: 'This is my portfolio.',
title: 'cyberpunga',
description: 'si estás leyendo esto, significa que sigues con vida y nos alegra muchísimo.',
url: baseUrl,
siteName: 'My Portfolio',
locale: 'en_US',
siteName: 'cyberpunga',
locale: 'es_CL',
type: 'website',
},
robots: {
Expand All @@ -47,13 +47,13 @@ export default function RootLayout({
<html
lang="en"
className={cx(
'text-black bg-white dark:text-white dark:bg-black',
'text-black bg-white dark:text-white dark:bg-black h-full',
GeistSans.variable,
GeistMono.variable
)}
>
<body className="antialiased max-w-xl mx-4 mt-8 lg:mx-auto">
<main className="flex-auto min-w-0 mt-6 flex flex-col px-2 md:px-0">
<body className="antialiased max-w-xl mx-4 mt-8 lg:mx-auto h-full">
<main className="flex-auto min-w-0 mt-6 flex flex-col px-2 md:px-0 h-full">
<Navbar />
{children}
<Footer />
Expand Down
22 changes: 0 additions & 22 deletions app/og/route.tsx

This file was deleted.

Loading

0 comments on commit e837137

Please sign in to comment.