Minor improvements
This commit is contained in:
parent
cf07001036
commit
af45688029
6 changed files with 23 additions and 15 deletions
|
|
@ -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>
|
||||
`;
|
||||
|
|
|
|||
|
|
@ -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';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue