39 lines
880 B
TypeScript
39 lines
880 B
TypeScript
import { Component, OnInit } from '@angular/core';
|
||
|
||
export interface ISocialMediaLink {
|
||
url: string;
|
||
imgUrl: string;
|
||
label: string;
|
||
}
|
||
|
||
@Component({
|
||
selector: 'app-social-media-buttons',
|
||
templateUrl: './social-media-buttons.component.html',
|
||
styleUrls: ['./social-media-buttons.component.scss']
|
||
})
|
||
export class SocialMediaButtonsComponent implements OnInit {
|
||
public links: ISocialMediaLink[] = [
|
||
{
|
||
label: 'Инстаграм',
|
||
url: 'https://www.instagram.com/',
|
||
imgUrl: '/assets/social-media-icons/instagram.svg'
|
||
},
|
||
{
|
||
label: 'ВК',
|
||
url: 'https://vk.com/coffeelike_com',
|
||
imgUrl: '/assets/social-media-icons/vk.svg'
|
||
},
|
||
{
|
||
label: 'Youtube',
|
||
url: 'https://www.youtube.com/c/coffeelikeru',
|
||
imgUrl: '/assets/social-media-icons/youtube.svg'
|
||
}
|
||
]
|
||
|
||
constructor() { }
|
||
|
||
ngOnInit(): void {
|
||
}
|
||
|
||
}
|