Rename element
This commit is contained in:
parent
dc651e09d1
commit
6da07f5bce
3 changed files with 6 additions and 6 deletions
|
|
@ -1,5 +1,5 @@
|
||||||
import { Background } from '../page/background/background';
|
import { Background } from '../page/background/background';
|
||||||
import { Footer } from '../page/footer/footer.html';
|
import { Contact } from '../page/contact/contact.html';
|
||||||
import { Header } from '../page/header/header';
|
import { Header } from '../page/header/header';
|
||||||
import { ImageViewer } from '../page/image-viewer/image-viewer';
|
import { ImageViewer } from '../page/image-viewer/image-viewer';
|
||||||
import { Main } from '../page/main/main';
|
import { Main } from '../page/main/main';
|
||||||
|
|
@ -54,7 +54,7 @@ export const portfolio: Array<PageElement> = [
|
||||||
leds,
|
leds,
|
||||||
].map((p) => new TimelineElement(p, 'Show details', 'Show less')),
|
].map((p) => new TimelineElement(p, 'Show details', 'Show less')),
|
||||||
|
|
||||||
Footer({
|
Contact({
|
||||||
title: 'Learn more',
|
title: 'Learn more',
|
||||||
links: [
|
links: [
|
||||||
CV(cvEnglish),
|
CV(cvEnglish),
|
||||||
|
|
|
||||||
|
|
@ -1,10 +1,10 @@
|
||||||
import { html } from '../../types/html';
|
import { html } from '../../types/html';
|
||||||
import './footer.scss';
|
import './contact.scss';
|
||||||
|
|
||||||
// @ts-ignore: injected by webpack
|
// @ts-ignore: injected by webpack
|
||||||
const LAST_EDIT = new Date(__CURRENT_DATE__);
|
const LAST_EDIT = new Date(__CURRENT_DATE__);
|
||||||
|
|
||||||
export const Footer = ({
|
export const Contact = ({
|
||||||
title,
|
title,
|
||||||
links,
|
links,
|
||||||
lastEditText,
|
lastEditText,
|
||||||
|
|
@ -13,7 +13,7 @@ export const Footer = ({
|
||||||
links: Array<html>;
|
links: Array<html>;
|
||||||
lastEditText: string;
|
lastEditText: string;
|
||||||
}): html => `
|
}): html => `
|
||||||
<footer id="contact">
|
<section id="contact">
|
||||||
<h2>${title}</h2>
|
<h2>${title}</h2>
|
||||||
|
|
||||||
<div class="links">
|
<div class="links">
|
||||||
|
|
@ -26,5 +26,5 @@ export const Footer = ({
|
||||||
<time datetime="${LAST_EDIT.toISOString()}">${LAST_EDIT.toLocaleDateString()}</time>
|
<time datetime="${LAST_EDIT.toISOString()}">${LAST_EDIT.toLocaleDateString()}</time>
|
||||||
</p>
|
</p>
|
||||||
</aside>
|
</aside>
|
||||||
</footer>
|
</section>
|
||||||
`;
|
`;
|
||||||
Loading…
Add table
Add a link
Reference in a new issue