Skip to content

Commit

Permalink
Merge pull request #69 from BinaryStudioAcademy/bug/11-main-page-afte…
Browse files Browse the repository at this point in the history
…r-authentication

bug/11 main page after authentication
  • Loading branch information
Limbo2332 committed Aug 31, 2023
2 parents d6db3c1 + 7bb3938 commit 9b98b8d
Show file tree
Hide file tree
Showing 9 changed files with 7 additions and 119 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export class EditorQuestionComponent implements OnInit {

public markdownText: string;

public steps: string[] = ['Question', 'Solutions', 'Testcases'];
public steps: string[] = ['Question', 'Solutions', 'Test Cases'];

public customInputHeight = '48px';

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ export class SignUpComponent {
)
.subscribe(
() => {
this.router.navigateByUrl('');
this.router.navigate(['/main']);
this.toastrNotification.showSuccess('You have successfully registered.');
},
error => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,5 @@
<div class="container">
<app-suggested-challenge></app-suggested-challenge>
<app-filtering-section></app-filtering-section>
<router-outlet></router-outlet>
</div>
</div>
</div>
8 changes: 0 additions & 8 deletions frontend/src/app/modules/main/main-routing.module.ts
Original file line number Diff line number Diff line change
@@ -1,20 +1,12 @@
import { NgModule } from '@angular/core';
import { RouterModule, Routes } from '@angular/router';
import { NotFoundComponent } from '@shared/components/not-found/not-found.component';

import { MainComponent } from './main-page/main-page.component';

const routes: Routes = [
{
path: '',
component: MainComponent,
children: [
{
path: '**',
component: NotFoundComponent,
pathMatch: 'full',
},
],
},
];

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,12 @@ h5
margin-top: 24px

.dropdowns-container
margin-top: 20px
display: flex
flex-direction: column
justify-content: flex-start
gap: 10px

.dropdown
width: 95%!important

Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

2 changes: 1 addition & 1 deletion frontend/src/styles/global.sass
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ ul, p
input:-webkit-autofill,
input:-webkit-autofill:active
box-shadow: 0 0 0 30px $charcoal-grey inset
color: $white !important
-webkit-text-fill-color: $white
input:-webkit-autofill::first-line
color: $white !important
input:-webkit-autofill:focus
Expand Down

0 comments on commit 9b98b8d

Please sign in to comment.