Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions apps/webstore/src/app/app-routing.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import { ProfileComponent } from './pages/auth/profile/profile.component';
import { ResetPasswordComponent } from './pages/auth/reset-password/reset-password.component';
import { SignupComponent } from './pages/auth/signup/signup.component';
import { UnsubscribeComponent } from './pages/auth/unsubscribe/unsubscribe.component';
import { BlogListComponent } from './pages/blog-list/blog-list.component';
import { HomeComponent } from './pages/home/home.component';
import { PageNotFoundComponent } from './pages/issues/page-not-found/page-not-found.component';
import { PaymentCancelledComponent } from './pages/payment-cancelled/payment-cancelled.component';
Expand All @@ -24,6 +25,7 @@ const routes: Routes = [
{ path: '', pathMatch: 'full', component: HomeComponent },
{ path: 'home', redirectTo: '' }, // Handle legacy /home route
{ path: 'about-us', component: AboutUsComponent },
{ path: 'blog-page', component: BlogListComponent },
{ path: 'login', component: LoginComponent },
{
path: 'resetPassword/:token',
Expand Down
2 changes: 2 additions & 0 deletions apps/webstore/src/app/app.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ import { StickyNewsletterButtonComponent } from './shared/components/sticky-news
import { ToastsContainerComponent } from './shared/components/toast/toast-container.component';
import { authInterceptorProviders } from './shared/helpers/auth.interceptor';
import { GoogleAnalyticsService } from './shared/services/google-analytics/google-analytics.service';
import { BlogListComponent } from './pages/blog-list/blog-list.component';

@NgModule({
declarations: [
Expand Down Expand Up @@ -99,6 +100,7 @@ import { GoogleAnalyticsService } from './shared/services/google-analytics/googl
CustomOrderComponent,
CustomOrderDisplayComponent,
StickyNewsletterButtonComponent,
BlogListComponent,
],
imports: [
BrowserModule,
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<main class="page-container">
<div class="page-wrapper">blog page stuff</div>
</main>
12 changes: 12 additions & 0 deletions apps/webstore/src/app/pages/blog-list/blog-list.component.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
.page-container {
width: 100vw;
display: flex;
justify-content: center;
}

.page-wrapper {
max-width: 1300px;
min-height: 100vh;
width: 100%;
margin-top: 4em;
}
22 changes: 22 additions & 0 deletions apps/webstore/src/app/pages/blog-list/blog-list.component.spec.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
import { ComponentFixture, TestBed } from '@angular/core/testing';

import { BlogListComponent } from './blog-list.component';

describe('BlogListComponent', () => {
let component: BlogListComponent;
let fixture: ComponentFixture<BlogListComponent>;

beforeEach(async () => {
await TestBed.configureTestingModule({
declarations: [BlogListComponent],
}).compileComponents();

fixture = TestBed.createComponent(BlogListComponent);
component = fixture.componentInstance;
fixture.detectChanges();
});

it('should create', () => {
expect(component).toBeTruthy();
});
});
12 changes: 12 additions & 0 deletions apps/webstore/src/app/pages/blog-list/blog-list.component.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
import { Component, OnInit } from '@angular/core';

@Component({
selector: 'webstore-blog-list',
templateUrl: './blog-list.component.html',
styleUrls: ['./blog-list.component.scss'],
})
export class BlogListComponent implements OnInit {
constructor() {}

ngOnInit(): void {}
}