import { Component, OnInit } from '@angular/core';
import { IonButton, IonContent, IonHeader, IonIcon, IonInput, IonItem, IonLabel, IonList, IonListHeader, 
  IonSearchbar, IonTitle, IonToolbar } from '@ionic/angular/standalone';
import { ExploreContainerComponent } from '../explore-container/explore-container.component';
import { CommonModule } from '@angular/common';

@Component({
  selector: 'app-topic-detail3',
  templateUrl: './topic-detail3.component.html',
  styleUrls: ['./topic-detail3.component.scss'],
  standalone: true,
  imports:[IonHeader,IonToolbar,IonTitle,IonContent,ExploreContainerComponent,
    IonList,IonListHeader,IonLabel,IonItem,IonIcon,IonButton,
    IonInput,IonSearchbar,
    CommonModule
  ],
})
export class TopicDetail3Component  implements OnInit {
  tips = [
    {
      title: '设定小目标',
      description: '通过设定并完成小目标来增强自信心。',
      details: '每完成一个小目标，都会增强你的成就感。',
      expanded: false,
    },
    {
      title: '积极自我对话',
      description: '通过积极的自我对话来改变消极思维。',
      details: '用积极的语言鼓励自己，提升自我肯定感。',
      expanded: false,
    },
    {
      title: '练习身体语言',
      description: '通过开放的身体语言来传达自信。',
      details: '站直、微笑和保持眼神接触可以帮助你感到更自信。',
      expanded: false,
    },
  ];

  tools = [
    {
      name: '自信心提升APP',
      description: '提供每日自信心练习和积极的提醒。',
      link: 'https://www.liqucn.com/rj/9679961013722.shtml',
      buttonText: '下载APP',
    },
    {
      name: '在线视频',
      description: '学习更多关于自信心提升的技巧。',
      link: 'https://www.bilibili.com/video/BV1GQBsYfECG/',
      buttonText: '查看视频',
    },
  ];

  resources = [
    {
      title: '提升自信心的有效方法',
      link: 'https://m.baidu.com/bh/m/detail/ar_4782723165528593464',
      buttonText: '阅读更多',
    },
    {
      title: '如何在公众面前自信演讲',
      link: 'https://www.bilibili.com/video/BV1eH4y1f7d1/',
      buttonText: '观看视频',
    },
  ];

  discussions = [
    {
      title: '分享你的自信提升故事',
      link: 'https://example.com/community',
    },
  ];

  constructor() { }

  ngOnInit() {}

}
