import { NgModule } from '@angular/core' ; import { RouterModule , Routes } from '@angular/router' ; import { CommonModule as NgCommonModule } from '@angular/common' ; import { CommonModule } from '../../../common/common.module' ; import { FormsModule , ReactiveFormsModule } from '@angular/forms' ; import { BlockchainModule } from '../blockchain.module' ; import { BlockchainMarketingTokenComponent } from './token.component' ; import { BlockchainMarketingRewardsComponent } from './rewards.component' ; import { MarketingModule } from '../../marketing/marketing.module' ; import { ComposerService } from '../../composer/services/composer.service' ; import { BlockchainMarketingTokenV2Component } from './v2/token.component' ; import { BlockchainMarketingRewardsV2Component } from './v2/rewards.component' ; import { OnchainTransferModalService } from '../../wallet/components/components/onchain-transfer/onchain-transfer.service' ; import { WalletV2Service } from '../../wallet/components/wallet-v2.service' ; const routes = [ { path : 'tokens' , redirectTo : 'token' , } , { path : 'token' , component : BlockchainMarketingTokenComponent , data : { title : 'Buy, Support, & Expand Your Audience with Social Media Cryptocurrency' , description : 'Buy Minds tokens to expand your reach, support your favorite channels, and unlock premium features on Minds.' , ogImage : '/assets/og-images/tokens-v3.png' , ogImageWidth : 1200 , ogImageHeight : 1200 , canonicalUrl : '/token' , } , } , { path : 'reward' , redirectTo : 'rewards' , } , { path : 'rewards' , component : BlockchainMarketingRewardsComponent , data : { title : 'Rewards' , description : 'Earn tokens for your contributions to the network' , ogImage : '/assets/og-images/rewards-v3.png' , ogImageWidth : 1200 , ogImageHeight : 1200 , } , } , ] ; @ NgModule ( { imports : [ RouterModule . forChild ( routes ) , NgCommonModule , CommonModule , FormsModule , ReactiveFormsModule , BlockchainModule , MarketingModule , ] , providers : [ ComposerService , OnchainTransferModalService , WalletV2Service ] , declarations : [ BlockchainMarketingTokenComponent , BlockchainMarketingRewardsComponent , BlockchainMarketingTokenV2Component , BlockchainMarketingRewardsV2Component , ] , } ) export class BlockchainMarketingModule { }