Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit ece3c81

Browse files
committedDec 9, 2024
facebook login v1
1 parent 5427253 commit ece3c81

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+1566
-331
lines changed
 

‎src/app/app.routes.ts

+15-3
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ import { AddChapterComponent } from './story/add-chapter/add-chapter.component';
1212
import { Component } from '@angular/core';
1313
import { UserReplyComponent } from './social/user-reply/user-reply.component';
1414
import { RefreshComponentComponent } from './refresh-component/refresh-component.component';
15+
import { ReadChapterComponent } from './story/read-chapter/read-chapter.component';
16+
import { ForgetPasswordComponent } from './authenticate/forget-password/forget-password.component';
17+
import { VerifyscreenComponent } from './authenticate/verifyscreen/verifyscreen.component';
1518

1619
export const routes: Routes = [
1720
{
@@ -23,6 +26,9 @@ export const routes: Routes = [
2326
{
2427
path: 'login', component: LoginComponent
2528
},
29+
{
30+
path: 'forget-password', component:ForgetPasswordComponent
31+
},
2632
{
2733
path: 'newfeeds', component: NewfeedsUserComponent
2834
},
@@ -37,20 +43,26 @@ export const routes: Routes = [
3743
component: UserReplyComponent
3844
},
3945
{
40-
path: 'add-story', component: AddStoryComponent,
46+
path: 'verify-email', component: VerifyscreenComponent
47+
},
48+
{
49+
path: 'writer/:id/add-story', component: AddStoryComponent,
4150

4251
},
4352
{
44-
path: 'story-info', component: StoryInformationComponent
53+
path: 'story/:storyId/story-info', component: StoryInformationComponent
4554
},
4655
{
4756
path: 'view-profile/:id', component: ViewProfileComponent,
4857

4958
},
5059
{
51-
path: 'add-chapter', component: AddChapterComponent
60+
path: 'story/:storyId/add-chapter', component: AddChapterComponent
5261
},
5362
{
5463
path: 'Refresh', component: RefreshComponentComponent
64+
},
65+
{
66+
path: 'story/:storyId/chapter/:chapterId', component:ReadChapterComponent
5567
}
5668
];
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
<div class="bg-cover w-screen h-screen min-w-fit min-h-fit z-10 bg-[url('/img/background_web.png')]">
2+
<div class="flex justify-center" id="website_name">
3+
<h1 class="text-white font-Italiana text-4xl p-3 tracking-[.25em]">
4+
MEMOIRIST
5+
</h1>
6+
</div>
7+
<div id="website_quotes bg-black">
8+
<div class="flex justify-center">
9+
<p class="text-white font-Italiana text-xl">
10+
"A memoirist knows life is a book,
11+
</p>
12+
</div>
13+
<div class="flex justify-center">
14+
<p class="text-white font-Italiana text-xl">
15+
but its true meaning lies in the pages they choose to share."
16+
</p>
17+
</div>
18+
</div>
19+
<div class="text-white p-1 flex justify-center">
20+
<div class="border-none rounded-2xl w-fit h-fit p-5 bg-black bg-opacity-90">
21+
<div class="flex justify-center font-bold text-lg m-1">
22+
<h5>Forgot Password</h5>
23+
</div>
24+
<div class="">
25+
<form [formGroup]="requestForm">
26+
<div>
27+
<label class="font-bold text-xs">Verifycation Code:</label>
28+
<input type="password" id="password" formControlName="code"
29+
class="text-white block bg-stone-800 border-none rounded " size="35" />
30+
</div>
31+
<div>
32+
<label class="font-bold text-xs " for="confirmPassword">New Password:</label>
33+
<input type="password" id="confirmPassword" formControlName="newPassword"
34+
class="text-white block bg-stone-800 border-none rounded" size="35" />
35+
</div>
36+
37+
<div class="bg-white rounded-xl flex justify-center my-3">
38+
<button class="font-bold text-black border-none m-1" type="submit" (click)="submitForm()"
39+
>
40+
Change Password
41+
</button>
42+
</div>
43+
<div class="font-bold">
44+
<a routerLink="/login" routerLinkActive="active">Login</a>
45+
</div>
46+
</form>
47+
</div>
48+
49+
</div>
50+
</div>
51+
</div>
There was a problem loading the remainder of the diff.

0 commit comments

Comments
 (0)
Please sign in to comment.