Commit 8844ac61 authored by Marcelo Rivera's avatar Marcelo Rivera

(fix): remove donate component and its routes

1 merge request!507WIP: (feat): Minds Pro (development branch) - Release 3
Pipeline #77601279 running with stages
......@@ -332,10 +332,6 @@ export class ProChannelComponent implements OnInit, AfterViewInit, OnDestroy {
return this.channelService.getRouterLink('communities');
}
get donateRouterLink() {
return this.channelService.getRouterLink('donate');
}
get proSettingsLink() {
return ['/pro/settings'];
}
......
<div class="m-pro--channel-donate">
<m-wire--creator
[object]="currentChannel"
[opts]="{onComplete: onWireCompleted}"
[inModal]="false"
>
</m-wire--creator>
</div>
m-pro--channel-donate {
.m-pro--channel-donate {
font-weight: 400;
max-width: 900px;
margin: auto;
position: relative;
padding:32px;
border-radius:6px;
background-color: var(--m-pro--plain-background-color);
}
}
import { ChangeDetectionStrategy, Component } from '@angular/core';
import { ProChannelService } from "../channel.service";
@Component({
selector: 'm-pro--channel-donate',
templateUrl: 'donate.component.html',
changeDetection: ChangeDetectionStrategy.OnPush,
})
export class ProChannelDonateComponent {
get currentChannel() {
return this.channelService.currentChannel;
}
constructor(
public channelService: ProChannelService
) {
}
onWireCompleted() {
throw new Error('Not implemented');
}
}
......@@ -10,7 +10,6 @@ import { ProChannelComponent } from "./channel/channel.component";
import { ProChannelLoginComponent } from "./channel/login/login.component";
import { MindsFormsModule } from "../forms/forms.module";
import { ProChannelListComponent } from "./channel/list/list.component";
import { ProChannelDonateComponent } from './channel/donate/donate.component';
import { ProTileComponent } from "./channel/tiles/media/tile.component";
import { NewsfeedModule } from "../newsfeed/newsfeed.module";
import { ProSettingsComponent } from './settings/settings.component';
......@@ -46,10 +45,6 @@ const routes: Routes = [
path: '',
component: ProChannelHomeComponent,
},
{
path: 'donate',
component: ProChannelDonateComponent
},
{
path: 'login',
component: ProChannelLoginComponent
......@@ -73,10 +68,6 @@ export const STANDALONE_ROUTES = [
path: '',
component: ProChannelHomeComponent,
},
{
path: 'donate',
component: ProChannelDonateComponent
},
{
path: 'login',
component: ProChannelLoginComponent
......@@ -117,7 +108,6 @@ export const STANDALONE_ROUTES = [
ProChannelComponent,
ProChannelLoginComponent,
ProChannelListComponent,
ProChannelDonateComponent,
ProChannelFooterComponent,
ProGroupTileComponent,
ProUnsubscribeModalComponent
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment