Minor improvements

This commit is contained in:
Andras Schmelczer 2022-09-24 21:53:50 +02:00
parent cf07001036
commit af45688029
No known key found for this signature in database
GPG key ID: 0EA1BC97D0AB076E
6 changed files with 23 additions and 15 deletions

View file

@ -10,10 +10,13 @@ export const generate = ({
about: Array<string>;
photo: html;
}): html => `
<section id="about">
<header id="about">
${photo}
<div class="placeholder"></div>
<h1>${name}</h1>
${about.map((t) => `<p>${t}</p>`).join('')}
</section>
</header>
`;

View file

@ -1,6 +1,6 @@
import { createElement } from '../../helper/create-element';
import { ResponsiveImage } from '../../types/responsive-image';
import { Image } from '../basics/image/image.html';
import { Image } from '../image-viewer/image/image.html';
import { PageElement } from '../page-element';
import { generate } from './header.html';
import { PageThemeSwitcher } from './theme-switcher/theme-switcher';