Reformat files
This commit is contained in:
parent
40b4ed0fdb
commit
a8a3a5093a
37 changed files with 84 additions and 103 deletions
|
|
@ -1,8 +1,8 @@
|
|||
import info from '../../../../static/icons/info.svg';
|
||||
import './timeline-element.scss';
|
||||
import { titleToFragment } from '../../../helper/title-to-fragment';
|
||||
import { html } from '../../../types/html';
|
||||
import { TimelineElementParameters } from './timeline-element';
|
||||
import { titleToFragment } from '../../../helper/title-to-fragment';
|
||||
import './timeline-element.scss';
|
||||
|
||||
export const generate = (
|
||||
{ date, title, description, more }: TimelineElementParameters,
|
||||
|
|
|
|||
|
|
@ -1,10 +1,10 @@
|
|||
import { createElement } from '../../../helper/create-element';
|
||||
import { Image } from '../../basics/image/image';
|
||||
import { Preview } from '../../basics/preview/preview';
|
||||
import { Video } from '../../basics/video/video';
|
||||
import { PageContent } from '../../content/content';
|
||||
import { PageElement } from '../../page-element';
|
||||
import { generate } from './timeline-element.html';
|
||||
import { createElement } from '../../../helper/create-element';
|
||||
import { Video } from '../../basics/video/video';
|
||||
import { Image } from '../../basics/image/image';
|
||||
import { Preview } from '../../basics/preview/preview';
|
||||
|
||||
export interface TimelineElementParameters {
|
||||
date: string;
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
import './timeline.scss';
|
||||
import { html } from '../../types/html';
|
||||
import './timeline.scss';
|
||||
|
||||
export const generate = (): html => `
|
||||
<div id="timeline"></div>
|
||||
|
|
|
|||
|
|
@ -1,10 +1,10 @@
|
|||
import { createElement } from '../../helper/create-element';
|
||||
import { PageElement } from '../page-element';
|
||||
import {
|
||||
PageTimelineElement,
|
||||
TimelineElementParameters,
|
||||
} from './timeline-element/timeline-element';
|
||||
import { generate } from './timeline.html';
|
||||
import { createElement } from '../../helper/create-element';
|
||||
import { PageElement } from '../page-element';
|
||||
|
||||
export class PageTimeline extends PageElement {
|
||||
public constructor({
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue