Primer commit al repo de funcionarios
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
import React from 'react';
|
||||
|
||||
export default function Footer() {
|
||||
const date = new Date();
|
||||
const year = date.getFullYear();
|
||||
|
||||
return (
|
||||
<footer className='bg-azul p-3 text-center text-white small'>
|
||||
<p className='m-0'>
|
||||
Hecho en México. Todos los derechos reservados {year}.
|
||||
</p>
|
||||
<p className='m-0'>
|
||||
Esta página puede ser reproducida con fines no lucrativos,
|
||||
siempre y cuando no se mutile, se cite la fuente completa y su
|
||||
dirección electrónica. De otra forma, requiere permiso previo
|
||||
por escrito de la institución.
|
||||
</p>
|
||||
</footer>
|
||||
);
|
||||
}
|
||||
@@ -0,0 +1,33 @@
|
||||
import Image from 'next/image';
|
||||
import React from 'react';
|
||||
import Link from 'next/link';
|
||||
import { Container } from 'react-bootstrap';
|
||||
|
||||
export default function Header({ small = false }: { small?: boolean }) {
|
||||
return (
|
||||
<header className='bg-azul p-3'>
|
||||
<Container className='d-flex justify-content-center justify-content-sm-between align-items-center'>
|
||||
<Link
|
||||
href={'https://www.unam.mx/'}
|
||||
target='_blank'
|
||||
className='d-none d-sm-block'
|
||||
>
|
||||
<Image
|
||||
src='/logo_unam.png'
|
||||
alt='Logo de la UNAM'
|
||||
width={small ? 200 : 280}
|
||||
height={small ? 60 : 84}
|
||||
/>
|
||||
</Link>
|
||||
<Link href={'https://acatlan.unam.mx/'} target='_blank'>
|
||||
<Image
|
||||
src='/logo_acatlan.png'
|
||||
alt='Logo de la fes Acatlàn'
|
||||
width={small ? 200 : 250}
|
||||
height={small ? 48 : 60}
|
||||
/>
|
||||
</Link>
|
||||
</Container>
|
||||
</header>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user