Skip to content

Commit

Permalink
Metadata added
Browse files Browse the repository at this point in the history
  • Loading branch information
AmbrizAlberto committed Apr 8, 2024
1 parent cbab18b commit 9d38fd7
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 3 deletions.
File renamed without changes
Binary file added app/images/Portafolio.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 7 additions & 2 deletions app/layout.jsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
// layout.jsx

'use client'; // Marca el componente como un componente de cliente
'use client';
import Head from 'next/head';
import React, { useState, useEffect } from 'react';
import LoadingScreen from './components/LoadingScreen';

Expand All @@ -25,7 +26,11 @@ export default function RootLayout({ children }) {
return (
<html className="html">
<head>
{/* Aquí puedes agregar tus etiquetas <head> */}
<title>Portafolio - Alberto Ambriz</title>
<meta name="description" content="Proyectos y trayectoria de un desarrollador de software" />
{/* Usa la variable miImagen en el atributo href del enlace */}
<link rel="icon" href="https://cdn-icons-png.flaticon.com/512/4100/4100416.png" />
{/* Otras etiquetas meta, enlaces CSS, etc. */}
</head>
<body>
<div className="main">
Expand Down
4 changes: 3 additions & 1 deletion app/page.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ import Head from 'next/head';
import Navbar from './components/navbar';
import styles from "./css/main.css";
import style from "./css/mainrespons.css";
import miImagen from './images/1mb.jpeg';


export default function Portafolio() {
const [copiadoCorreo, setCopiadoCorreo] = useState(false);
Expand Down Expand Up @@ -76,7 +78,7 @@ export default function Portafolio() {
<div className="datos1">
<div className="photomia">
<button type="button" className='photo'>
<Image src='/1mb.jpeg' width={400} height={400} alt="" />
<Image src={miImagen} width={400} height={400} alt="" />
</button>
</div>
<div className="datos">
Expand Down

0 comments on commit 9d38fd7

Please sign in to comment.