Skip to content

Commit

Permalink
Actualizar metadatos de la página de inicio
Browse files Browse the repository at this point in the history
  • Loading branch information
MrPotatoXx committed May 29, 2024
1 parent 2a64c17 commit 7c12ba3
Showing 1 changed file with 24 additions and 39 deletions.
63 changes: 24 additions & 39 deletions src/layouts/Layout.astro
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
---
import Header from "@/components/Header.astro";
import Footer from "@/components/Footer.astro";
import { ViewTransitions } from "astro:transitions";
interface Props {
Expand All @@ -22,31 +20,30 @@ const { title, currentPage } = Astro.props;

<link rel="icon" type="image/png" href="/favicon.png" />
<meta name="viewport" content="width=device-width" />

<meta
name="keywords"
content="Giovanni Salinas, Ingeniería en Informática, ciberseguridad, desarrollo web, programación, Python, Ethical Hacker"
content="Giovanni Salinas, Ingeniería en Informática, Ciberseguridad, Desarrollo Web, Programación, Python, Ethical Hacker"
/>
<meta name="author" content="Giovanni Salinas" />
<meta http-equiv="content-language" content="es" />

<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:site" content="" />
<meta name="twitter:creator" content="" />
<meta name="twitter:title" content={title} />
<meta name="twitter:description" content={description} />
<meta name="twitter:image" content="" />

<meta name="twitter:site" content="" />
<meta name="twitter:creator" content="" />
<meta name="twitter:title" content={title} />
<meta name="twitter:description" content={description} />
<meta name="twitter:image" content="" />
<meta name="og:image" content="" />
<meta name="og:title" content={title} />
<meta name="og:description" content={description} />
<meta name="og:url" content="" />
<meta name="og:site_name" content="potatox" />
<meta name="og:type" content="website" />
<meta name="og:locale" content="es_CL" />
<meta name="og:title" content={title} />
<meta name="og:description" content={description} />
<meta name="og:url" content="" />
<meta name="og:site_name" content="potatox" />
<meta name="og:type" content="website" />
<meta name="og:locale" content="es_CL" />

<meta name="robots" content="index, follow" />
<meta name="googlebot" content="index, follow" />
<meta name="googlebot" content="index, follow" />

<link
href="https://fonts.googleapis.com/css2?family=Source+Code+Pro:wght@400;700&display=swap"
Expand All @@ -56,39 +53,27 @@ const { title, currentPage } = Astro.props;
<ViewTransitions />
</head>
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-3K6PX2FWFD"></script>
<script>
<script async src="https://www.googletagmanager.com/gtag/js?id=G-3K6PX2FWFD"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-3K6PX2FWFD');
</script>
<body class="flex flex-col min-h-screen justify-between bg-neutral-900">
<Header currentPage={currentPage} />
<main class="justify-items-center">
</script>
<body class="flex flex-col min-h-screen bg-neutral-900">
<main class="flex-grow flex items-center justify-center">
<slot />
</main>
<Footer />
<style is:global>
html {
font-family: "Source Code Pro", monospace;
color-scheme: dark light;
}

@media print {
.no-print {
display: none !important;
}
}

.print {
display: none !important;
}

@media print {
.print {
display: block !important;
}
body {
display: flex;
flex-direction: column;
min-height: 100vh;
margin: 0;
}
</style>
</body>
Expand Down

0 comments on commit 7c12ba3

Please sign in to comment.