Skip to content

Commit 9085456

Browse files
authored
Merge pull request #31
dev -> master
2 parents 12f2af5 + 2b948a3 commit 9085456

File tree

4 files changed

+117
-1
lines changed

4 files changed

+117
-1
lines changed

src/app/app.routes.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,10 @@ import { NotFoundPage } from './pages/not-found/not-found-page.component'
33
import { authGuard } from './guards/auth-guard'
44
import { AuthPage } from './pages/auth-page/auth-page.component'
55
import { StatusPage } from './pages/status-page/status-page'
6+
import { WelcomePage } from './pages/welcome-page/welcome-page'
67

78
export const routes: Routes = [
8-
{ path: '', redirectTo: 'auth', pathMatch: 'full' },
9+
{ path: '', component: WelcomePage, pathMatch: 'full' },
910
{ path: 'auth', component: AuthPage, data: { title: 'Authentication' } },
1011
{
1112
path: 'articles',
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
.content {
2+
display: flex;
3+
flex-direction: column;
4+
gap: 1.5rem;
5+
padding-block: 1rem;
6+
max-width: clamp(25rem, 40vw, 40rem);
7+
}
8+
9+
.details {
10+
display: flex;
11+
flex-direction: column;
12+
padding-inline: 1rem;
13+
margin: 0;
14+
gap: 1rem;
15+
}
Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
<mat-card>
2+
<mat-card-header>
3+
<mat-card-title>
4+
<h1>
5+
RSS Reader
6+
</h1>
7+
</mat-card-title>
8+
</mat-card-header>
9+
<mat-card-content class="content">
10+
<ul class="details">
11+
<li>Do not track or store any user information.</li>
12+
<li>Usernames are generated randomly.
13+
</li>
14+
<li>The ability to load the full article text.
15+
</li>
16+
<li>Auto-delete orphaned users once a month.
17+
</li>
18+
<li>Can be self-hosted.</li>
19+
</ul>
20+
<mat-accordion>
21+
<mat-expansion-panel>
22+
<mat-expansion-panel-header>
23+
<mat-panel-title>
24+
WebClient
25+
</mat-panel-title>
26+
</mat-expansion-panel-header>
27+
<ul>
28+
<li>Angular</li>
29+
<li>Angular Material</li>
30+
</ul>
31+
<a
32+
matButton
33+
href="https://github.com/emp74ark/rss-client"
34+
target="_blank"
35+
>
36+
<mat-icon>link</mat-icon>
37+
GitHub
38+
</a>
39+
</mat-expansion-panel>
40+
<mat-expansion-panel>
41+
<mat-expansion-panel-header>
42+
<mat-panel-title>
43+
Backend
44+
</mat-panel-title>
45+
</mat-expansion-panel-header>
46+
<ul>
47+
<li>NestJs</li>
48+
<li>MongoDB</li>
49+
</ul>
50+
<a
51+
matButton
52+
href="https://github.com/emp74ark/rss-nest"
53+
target="_blank"
54+
>
55+
<mat-icon>link</mat-icon>
56+
GitHub
57+
</a>
58+
</mat-expansion-panel>
59+
</mat-accordion>
60+
</mat-card-content>
61+
<mat-card-actions align="end">
62+
<button
63+
matFab
64+
extended
65+
routerLink="/auth"
66+
>
67+
<mat-icon>person</mat-icon>
68+
Authorize
69+
</button>
70+
</mat-card-actions>
71+
</mat-card>
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
import { Component } from '@angular/core'
2+
import { MatButton, MatFabButton } from '@angular/material/button'
3+
import { RouterLink } from '@angular/router'
4+
import {
5+
MatAccordion,
6+
MatExpansionPanel,
7+
MatExpansionPanelHeader,
8+
MatExpansionPanelTitle,
9+
} from '@angular/material/expansion'
10+
import { MatCardModule } from '@angular/material/card'
11+
import { MatIconModule } from '@angular/material/icon'
12+
13+
@Component({
14+
selector: 'app-welcome-page',
15+
imports: [
16+
MatButton,
17+
RouterLink,
18+
MatExpansionPanel,
19+
MatExpansionPanelHeader,
20+
MatExpansionPanelTitle,
21+
MatCardModule,
22+
MatIconModule,
23+
MatFabButton,
24+
MatAccordion,
25+
],
26+
templateUrl: './welcome-page.html',
27+
styleUrl: './welcome-page.css',
28+
})
29+
export class WelcomePage {}

0 commit comments

Comments
 (0)