Top

Timeline


                  
<div class="card height-equal">
    <div class="card-header pb-0">
        <h4>Basic Timeline </h4>
        <p class="f-m-light mt-1">
            Use the <code>.main-basic-timeline </code>class through made basic timeline.</p>
    </div>
    <div class="card-body dark-timeline">
        <ul>
            @for(timelineItem of basicTimelineData; track timelineItem){
            <li class="d-flex">
                <div class="timeline-dot-{{timelineItem.class}}"></div>
                <div class="w-100 ms-3">
                    <p class="d-flex justify-content-between mb-2" [innerHTML]="timelineItem.time"></p>
                    <h6>{{timelineItem.title}}<span class="dot-notification"></span></h6>
                    <p class="f-light">{{timelineItem.dis}}</p>
                </div>
            </li>
        }
        </ul>
    </div>
</div>
                  
                

import { Component } from '@angular/core';
import { basicTimeline } from '../../../../shared/data/data/bonus-ui/timeline';

@Component({
    selector: 'app-basic-timeline',
    templateUrl: './basic-timeline.html',
    styleUrls: ['./basic-timeline.scss'],
    standalone: true
})
export class BasicTimeline {

  public basicTimelineData = basicTimeline;

}


export const basicTimeline = [
    {
        class: 'primary',
        time: '2 Feb 20247:00 AM',
        title: 'CONFERENCE WITH CLIENT',
        dis: 'At noon today, there will be a meeting with a UK client.'
    },
    {
        class: 'secondary',
        time: '22 March 20243:45 PM',
        title: 'DISCUSSION WITH MARKETING TEAM',
        dis: 'discussion with the marketing staff on the success of the most recent project'
    },
    {
        class: 'success',
        time: '16 May 20241:22 AM',
        title: 'INVEST IN A NEW HOSTING PLAN',
        dis: 'today at 2 pm AM, purchase a new hosting package as agreed upon with the management team.'
    },
    {
        class: 'warning',
        time: '23 Nov 20246:56 AM',
        title: 'DISCUSSION WITH DESIGNER TEAM',
        dis: 'discussion with the designer employee on the success of the most recent project.'
    },
    {
        class: 'info',
        time: '12 Dec 202412:05 AM',
        title: 'DISCUSSION WITH NEW THEME LAUNCH ',
        dis: 'discussion with the how many themes made in our portfolio'
    },
    {
        class: 'danger',
        time: '02 Jan 20246:56 AM',
        title: 'PURCHASE NEW CHAIRS FOR OFFICE ',
        dis: 'online purchase new chairs for office'
    },
];