Skip to content

Commit

Permalink
fix: line
Browse files Browse the repository at this point in the history
  • Loading branch information
HYACCCINT committed Jun 21, 2023
1 parent e031296 commit 7bb8f70
Show file tree
Hide file tree
Showing 9 changed files with 25 additions and 25 deletions.
2 changes: 1 addition & 1 deletion angularfire-start/firebase.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,4 +60,4 @@
]
}
]
}
}
2 changes: 1 addition & 1 deletion angularfire-start/firestore.rules
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ service cloud.firestore {
allow read, write;
}
}
}
}
2 changes: 1 addition & 1 deletion angularfire-start/functions/.gitignore
Original file line number Diff line number Diff line change
@@ -1 +1 @@
node_modules/
node_modules/
2 changes: 1 addition & 1 deletion angularfire-start/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,4 @@
"tailwindcss": "^3.3.2",
"typescript": "~5.0.2"
}
}
}
2 changes: 1 addition & 1 deletion angularfire-start/src/app/app.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
<div class="container">
</div>
<router-outlet></router-outlet>
</div>
</div>
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,4 @@
</div>
</div>
</nav>
</header>
</header>
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,4 @@
</button>
</div>
</div>
</div>
</div>
18 changes: 9 additions & 9 deletions angularfire-start/src/environments/environment.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
export const environment = {
firebase: {
apiKey: "API_KEY",
authDomain: "PROJECT_ID.firebaseapp.com",
databaseURL: "https://PROJECT_ID.firebaseio.com",
projectId: "PROJECT_ID",
storageBucket: "PROJECT_ID.appspot.com",
messagingSenderId: "SENDER_ID",
appId: "APP_ID",
measurementId: "G-MEASUREMENT_ID",
apiKey: 'API_KEY',
authDomain: 'PROJECT_ID.firebaseapp.com',
databaseURL: 'https://PROJECT_ID.firebaseio.com',
projectId: 'PROJECT_ID',
storageBucket: 'PROJECT_ID.appspot.com',
messagingSenderId: 'SENDER_ID',
appId: 'APP_ID',
measurementId: 'G-MEASUREMENT_ID',
},
};
};
18 changes: 9 additions & 9 deletions webframework/src/app/pages/login-page/login-page.component.html
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<main>
<div *ngIf="user$ | async as user; else showLogin">
<h1 class="title">{{ user.displayName }}</h1>
</div>
<ng-template #showLogin>
<h1 class="title">FriendlyTravels</h1>
<h2 class="description">A travel blog built by AngularFire</h2>
<button class="login-button" (click)="login()">Login</button>
</ng-template>
</main>
<div *ngIf="user$ | async as user; else showLogin">
<h1 class="title">{{ user.displayName }}</h1>
</div>
<ng-template #showLogin>
<h1 class="title">FriendlyTravels</h1>
<h2 class="description">A travel blog built by AngularFire</h2>
<button class="login-button" (click)="login()">Login</button>
</ng-template>
</main>

0 comments on commit 7bb8f70

Please sign in to comment.