import { Component, OnInit } from '@angular/core';
import { CommonModule, Location } from '@angular/common';
import { SeoService } from '../../services/seo.service';

@Component({
  selector: 'app-privacy-statement',
  standalone: true,
  imports: [CommonModule],
  templateUrl: './privacy-statement.component.html',
  styleUrls: ['./privacy-statement.component.scss']
})
export class PrivacyStatementComponent implements OnInit {
  constructor(
    private seoService: SeoService,
    private location: Location
  ) {}

  ngOnInit(): void {
    // Set SEO meta tags for Privacy Statement page
    this.seoService.updateMetaTags({
      title: 'Privacy Statement - BizMatch',
      description: 'Learn how BizMatch collects, uses, and protects your personal information. Read our privacy policy and data protection practices.',
      type: 'website'
    });
  }

  goBack(): void {
    this.location.back();
  }
}
