Reformat files
This commit is contained in:
parent
40b4ed0fdb
commit
a8a3a5093a
37 changed files with 84 additions and 103 deletions
|
|
@ -1,6 +1,5 @@
|
|||
import './header.scss';
|
||||
|
||||
import { html } from '../../types/html';
|
||||
import './header.scss';
|
||||
|
||||
export const generate = (name: string): html => `
|
||||
<section id="about">
|
||||
|
|
|
|||
|
|
@ -1,10 +1,9 @@
|
|||
import { PageContent } from '../content/content';
|
||||
|
||||
import { generate } from './header.html';
|
||||
import { createElement } from '../../helper/create-element';
|
||||
import { PageThemeSwitcher } from '../theme-switcher/theme-switcher';
|
||||
import { PageElement } from '../page-element';
|
||||
import { Image } from '../basics/image/image';
|
||||
import { PageContent } from '../content/content';
|
||||
import { PageElement } from '../page-element';
|
||||
import { PageThemeSwitcher } from '../theme-switcher/theme-switcher';
|
||||
import { generate } from './header.html';
|
||||
|
||||
export class PageHeader extends PageElement {
|
||||
public constructor(header: { name: string; photo: Image; about: Array<string> }) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue