Skip to content

Instantly share code, notes, and snippets.

@Klerith
Last active April 12, 2024 12:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Klerith/18a4c2c2551524bb87fc54053e04565d to your computer and use it in GitHub Desktop.
Save Klerith/18a4c2c2551524bb87fc54053e04565d to your computer and use it in GitHub Desktop.
Template para nuestro ejercicio de Vue Rotuer
<template>
<div class="flex flex-col h-screen">
<!-- Header -->
<header class="flex items-center h-14 px-4 border-b border-gray-300 sm:h-16 md:px-6 lg:px-8">
<div>
<a class="flex items-center gap-2 font-semibold" href="#">
<img alt="Vue logo" class="logo" src="@/assets/logo.svg" width="40" height="40" />
</a>
</div>
<nav class="ml-auto space-x-4 flex items-center h-10 sm:space-x-6">
<a href="#"> Home </a>
<a href="#"> Features </a>
<a href="#"> Pricing </a>
<a href="#"> Contact </a>
</nav>
</header>
<!-- Fin Header -->
<!-- Main -->
<main class="flex-1 flex items-center justify-center py-6">
<div class="text-center">
<h1 class="text-4xl font-bold tracking-tighter sm:text-5xl">
Bienvenido a nuestro sitio web
</h1>
<p class="mx-auto max-w-[600px] text-gray-500 md:text-xl">
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
</p>
</div>
</main>
<!-- Fin Main -->
<!-- Footer -->
<footer class="flex items-center h-14 px-4 border-t border-gray-300 sm:h-16 md:px-6 lg:px-8">
<p class="flex-1 text-sm text-gray-500 text-center">
© 20xx Acme Corporation. Derechos reservados
</p>
</footer>
<!-- Fin Footer -->
</div>
</template>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment