Skip to content

Commit c2d54d6

Browse files
committed
feat: add proper functionality for demo
1 parent 22ca2d2 commit c2d54d6

20 files changed

+396
-371
lines changed

package-lock.json

Lines changed: 75 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@
1818
"@angular/platform-browser": "^18.2.0",
1919
"@angular/platform-browser-dynamic": "^18.2.0",
2020
"@angular/router": "^18.2.0",
21+
"@reduxjs/angular-redux": "^0.1.0",
22+
"@reduxjs/toolkit": "^2.2.7",
23+
"redux": "^5.0.1",
2124
"rxjs": "~7.8.0",
2225
"tslib": "^2.3.0",
2326
"zone.js": "~0.14.10"

public/favicon.ico

-11.2 KB
Binary file not shown.

public/logo.svg

Lines changed: 1 addition & 0 deletions
Loading

public/logo192.png

4.06 KB
Loading

public/logo512.png

11.8 KB
Loading

public/manifest.json

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
{
2+
"short_name": "Angular App",
3+
"name": "Angular App Sample",
4+
"icons": [
5+
{
6+
"src": "favicon.ico",
7+
"sizes": "64x64 32x32 24x24 16x16",
8+
"type": "image/x-icon"
9+
},
10+
{
11+
"src": "logo192.png",
12+
"type": "image/png",
13+
"sizes": "192x192"
14+
},
15+
{
16+
"src": "logo512.png",
17+
"type": "image/png",
18+
"sizes": "512x512"
19+
}
20+
],
21+
"start_url": ".",
22+
"display": "standalone",
23+
"theme_color": "#000000",
24+
"background_color": "#ffffff"
25+
}

src/app/app.component.css

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
.App {
2+
text-align: center;
3+
}
4+
5+
.App-logo {
6+
height: 40vmin;
7+
pointer-events: none;
8+
}
9+
10+
@media (prefers-reduced-motion: no-preference) {
11+
.App-logo {
12+
animation: App-logo-float infinite 3s ease-in-out;
13+
}
14+
}
15+
16+
.App-header {
17+
min-height: 100vh;
18+
display: flex;
19+
flex-direction: column;
20+
align-items: center;
21+
justify-content: center;
22+
font-size: calc(10px + 2vmin);
23+
}
24+
25+
.App-link {
26+
color: rgb(112, 76, 182);
27+
}
28+
29+
@keyframes App-logo-float {
30+
0% {
31+
transform: translateY(0);
32+
}
33+
50% {
34+
transform: translateY(10px)
35+
}
36+
100% {
37+
transform: translateY(0px)
38+
}
39+
}

0 commit comments

Comments
 (0)