diff --git a/src/app/app-routing.module.ts b/src/app/app-routing.module.ts
index 0454194..dc6372a 100644
--- a/src/app/app-routing.module.ts
+++ b/src/app/app-routing.module.ts
@@ -3,10 +3,12 @@ import { RouterModule, Routes } from '@angular/router';
import { RedirectionComponent } from './redirection/redirection.component';
import { HomeComponent } from './home/home.component';
import { ContentResolver } from './ContentService/contentresolver.service';
+import { PasswordComponent } from './password/password.component';
const routes: Routes = [
{path : '', redirectTo : generateRandomRouteId(), pathMatch:'full'},
- {path : ':id', component:HomeComponent, pathMatch:'full',resolve: { content: ContentResolver },}
+ {path : ':id', component:HomeComponent, pathMatch:'full',resolve: { content: ContentResolver },},
+ {path : 'login/:id',component : PasswordComponent,pathMatch : 'full'}
];
@NgModule({
diff --git a/src/app/app.component.html b/src/app/app.component.html
index 90c6b64..0c0b5c9 100644
--- a/src/app/app.component.html
+++ b/src/app/app.component.html
@@ -1 +1,2 @@
+
\ No newline at end of file
diff --git a/src/app/app.module.ts b/src/app/app.module.ts
index ab08f5d..e2ff3d2 100644
--- a/src/app/app.module.ts
+++ b/src/app/app.module.ts
@@ -3,11 +3,16 @@ import { BrowserModule } from '@angular/platform-browser';
import { AppRoutingModule } from './app-routing.module';
import { AppComponent } from './app.component';
-import { initializeApp,provideFirebaseApp } from '@angular/fire/app';
+import { initializeApp, provideFirebaseApp } from '@angular/fire/app';
import { environment } from '../environments/environment';
-import { provideAnalytics,getAnalytics,ScreenTrackingService,UserTrackingService } from '@angular/fire/analytics';
-import { provideDatabase,getDatabase } from '@angular/fire/database';
-import { provideFunctions,getFunctions } from '@angular/fire/functions';
+import {
+ provideAnalytics,
+ getAnalytics,
+ ScreenTrackingService,
+ UserTrackingService,
+} from '@angular/fire/analytics';
+import { provideDatabase, getDatabase } from '@angular/fire/database';
+import { provideFunctions, getFunctions } from '@angular/fire/functions';
import { RedirectionComponent } from './redirection/redirection.component';
import { HomeComponent } from './home/home.component';
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
@@ -15,14 +20,20 @@ import { MatFormFieldModule } from '@angular/material/form-field';
import { FormsModule } from '@angular/forms';
import { MatInputModule } from '@angular/material/input';
import { MatButtonModule } from '@angular/material/button';
+import { MatToolbarModule } from '@angular/material/toolbar';
+import { MatIconModule } from '@angular/material/icon';
import { ContentResolver } from './ContentService/contentresolver.service';
+import { NavigationComponent } from './navigation/navigation.component';
+import { PasswordComponent } from './password/password.component';
// import {c}
@NgModule({
declarations: [
AppComponent,
RedirectionComponent,
- HomeComponent
+ HomeComponent,
+ NavigationComponent,
+ PasswordComponent,
],
imports: [
BrowserModule,
@@ -31,25 +42,26 @@ import { ContentResolver } from './ContentService/contentresolver.service';
FormsModule,
MatInputModule,
MatButtonModule,
- provideFirebaseApp(() => initializeApp({
- projectId: environment.FIREBASE_PROJECT_ID,
- appId: environment.FIREBASE_APP_ID,
- databaseURL: environment.FIREBASE_DATABASE_URL,
- storageBucket: environment.FIREBASE_STORAGE_BUCKET,
- apiKey: environment.FIREBASE_API_KEY,
- authDomain: environment.FIREBASE_AUTH_DOMAIN,
- messagingSenderId: environment.FIREBASE_MESSAGING_SENDER_ID,
- measurementId: environment.FIREBASE_MEASUREMENT_ID
- })),
+ MatToolbarModule,
+ MatIconModule,
+ provideFirebaseApp(() =>
+ initializeApp({
+ projectId: environment.FIREBASE_PROJECT_ID,
+ appId: environment.FIREBASE_APP_ID,
+ databaseURL: environment.FIREBASE_DATABASE_URL,
+ storageBucket: environment.FIREBASE_STORAGE_BUCKET,
+ apiKey: environment.FIREBASE_API_KEY,
+ authDomain: environment.FIREBASE_AUTH_DOMAIN,
+ messagingSenderId: environment.FIREBASE_MESSAGING_SENDER_ID,
+ measurementId: environment.FIREBASE_MEASUREMENT_ID,
+ })
+ ),
// provideAnalytics(() => getAnalytics()),
provideDatabase(() => getDatabase()),
BrowserAnimationsModule,
// provideFunctions(() => getFunctions())
-
],
- providers: [
- ScreenTrackingService,UserTrackingService,ContentResolver
- ],
- bootstrap: [AppComponent]
+ providers: [ScreenTrackingService, UserTrackingService, ContentResolver],
+ bootstrap: [AppComponent],
})
-export class AppModule { }
+export class AppModule {}
diff --git a/src/app/home/home.component.css b/src/app/home/home.component.css
index e69de29..a5e57a6 100644
--- a/src/app/home/home.component.css
+++ b/src/app/home/home.component.css
@@ -0,0 +1,22 @@
+
+.div-form {
+ display: flex;
+ justify-content: center;
+ align-items: center;
+ height: 100%;
+ width: 100%;
+ /* overflow: hidden; Prevent scrolling */
+ margin: 0; /* Remove default margin */
+
+ /* Add spacing around the form */
+ padding: 20px;
+ box-sizing: border-box; /* Include padding in total width and height */
+ }
+
+ .full-screen-textarea {
+ width: 100%; /* 80% of the screen width */
+ height: 85vh; /* 80% of the screen height */
+ box-sizing: border-box; /* Include padding in total width and height */
+ padding: 10px; /* Adjust padding as needed */
+ }
+
\ No newline at end of file
diff --git a/src/app/home/home.component.html b/src/app/home/home.component.html
index c4ee90d..506bbd2 100644
--- a/src/app/home/home.component.html
+++ b/src/app/home/home.component.html
@@ -1,10 +1,18 @@
-
-