File tree 2 files changed +45
-4
lines changed
2 files changed +45
-4
lines changed Original file line number Diff line number Diff line change @@ -5,9 +5,50 @@ import { RouterModule } from '@angular/router';
5
5
standalone : true ,
6
6
imports : [ RouterModule ] ,
7
7
selector : 'nx-nf-root' ,
8
- template : `My Account` ,
8
+ template : `
9
+ <div class="flex min-h-full flex-col justify-center px-6 py-12 lg:px-8">
10
+ <div class="sm:mx-auto sm:w-full sm:max-w-sm">
11
+ <h2
12
+ class="mt-10 text-center text-2xl font-bold leading-9 tracking-tight text-gray-900"
13
+ >
14
+ My account
15
+ </h2>
16
+ </div>
17
+
18
+ <div class="mt-10 sm:mx-auto sm:w-full sm:max-w-sm p-5 rounded shadow">
19
+ <form class="space-y-6" action="#" method="POST">
20
+ <div>
21
+ <label
22
+ for="email"
23
+ class="block text-sm font-medium leading-6 text-gray-900"
24
+ >Email address</label
25
+ >
26
+ <div class="mt-2">
27
+ {{ email }}
28
+ </div>
29
+ </div>
30
+
31
+ <div>
32
+ <div class="flex items-center justify-between">
33
+ <label
34
+ for="password"
35
+ class="block text-sm font-medium leading-6 text-gray-900"
36
+ >Password</label
37
+ >
38
+ </div>
39
+ <div class="mt-2">
40
+ {{ password }}
41
+ </div>
42
+ </div>
43
+
44
+ <div></div>
45
+ </form>
46
+ </div>
47
+ </div>
48
+ ` ,
9
49
styles : `` ,
10
50
} )
11
51
export class AppComponent {
12
- title = 'mf-account' ;
52
+
53
+ password = 'qwerty' ;
13
54
}
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ import { FormsModule } from '@angular/forms';
16
16
</h2>
17
17
</div>
18
18
19
- <div class="mt-10 sm:mx-auto sm:w-full sm:max-w-sm">
19
+ <div class="mt-10 sm:mx-auto sm:w-full sm:max-w-sm p-5 rounded shadow ">
20
20
<form class="space-y-6" action="#" method="POST">
21
21
<div>
22
22
<label
@@ -53,7 +53,7 @@ import { FormsModule } from '@angular/forms';
53
53
required
54
54
autocomplete="false"
55
55
class="block w-full rounded-md border-0 py-1.5 text-gray-900 shadow-sm ring-1 ring-inset ring-gray-300 placeholder:text-gray-400 focus:ring-2 focus:ring-inset focus:ring-indigo-600 sm:text-sm sm:leading-6"
56
- [ngModel]="email "
56
+ [ngModel]="password "
57
57
/>
58
58
</div>
59
59
</div>
You can’t perform that action at this time.
0 commit comments