Skip to content

Commit e363abb

Browse files
Fabio BrasileiroFabio Brasileiro
authored andcommitted
ajuste
1 parent 0270d79 commit e363abb

17 files changed

Lines changed: 499 additions & 235 deletions

angular.json

Lines changed: 14 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -16,19 +16,17 @@
1616
"outputPath": "dist/java-jungle",
1717
"index": "src/index.html",
1818
"browser": "src/main.ts",
19-
"polyfills": [
20-
"zone.js"
21-
],
19+
"polyfills": ["zone.js"],
2220
"tsConfig": "tsconfig.app.json",
23-
"assets": [
24-
"src/favicon.ico",
25-
"src/assets"
26-
],
21+
"assets": ["src/favicon.ico", "src/assets"],
2722
"styles": [
2823
"@angular/material/prebuilt-themes/indigo-pink.css",
29-
"src/styles.css"
24+
"src/styles.css",
25+
"node_modules/aos/dist/aos.css"
3026
],
31-
"scripts": []
27+
"scripts": [
28+
"node_modules/aos/dist/aos.js"
29+
]
3230
},
3331
"configurations": {
3432
"production": {
@@ -75,20 +73,17 @@
7573
"test": {
7674
"builder": "@angular-devkit/build-angular:karma",
7775
"options": {
78-
"polyfills": [
79-
"zone.js",
80-
"zone.js/testing"
81-
],
76+
"polyfills": ["zone.js", "zone.js/testing"],
8277
"tsConfig": "tsconfig.spec.json",
83-
"assets": [
84-
"src/favicon.ico",
85-
"src/assets"
86-
],
78+
"assets": ["src/favicon.ico", "src/assets"],
8779
"styles": [
8880
"@angular/material/prebuilt-themes/indigo-pink.css",
89-
"src/styles.css"
81+
"src/styles.css",
82+
"node_modules/aos/dist/aos.css"
9083
],
91-
"scripts": []
84+
"scripts": [
85+
"node_modules/aos/dist/aos.js"
86+
]
9287
}
9388
}
9489
}

package-lock.json

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

package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,11 @@
2121
"@angular/platform-browser-dynamic": "^17.3.0",
2222
"@angular/router": "^17.3.0",
2323
"@fortawesome/angular-fontawesome": "^0.14.1",
24+
"@types/aos": "^3.0.7",
2425
"angular-font-awesome": "^3.1.2",
26+
"aos": "^2.3.4",
2527
"rxjs": "~7.8.0",
28+
"taos": "^1.0.5",
2629
"tslib": "^2.3.0",
2730
"zone.js": "~0.14.3"
2831
},
@@ -42,4 +45,4 @@
4245
"tailwindcss": "^3.4.1",
4346
"typescript": "~5.4.2"
4447
}
45-
}
48+
}

src/app/app.component.css

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
@font-face {
2+
font-family: "jungle";
3+
src: url("../assets/fonts/Tribeca.ttf");
4+
}
5+
6+
.jungle-font {
7+
font-family: jungle;
8+
}

src/app/app.config.ts

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,24 @@
11
import { ApplicationConfig } from '@angular/core';
2-
import { provideRouter } from '@angular/router';
2+
import {
3+
provideRouter,
4+
withComponentInputBinding,
5+
withInMemoryScrolling,
6+
withViewTransitions,
7+
} from '@angular/router';
38

49
import { routes } from './app.routes';
510
import { provideAnimationsAsync } from '@angular/platform-browser/animations/async';
11+
import { provideHttpClient, withJsonpSupport } from '@angular/common/http';
612

713
export const appConfig: ApplicationConfig = {
8-
providers: [provideRouter(routes), provideAnimationsAsync()]
14+
providers: [
15+
provideRouter(
16+
routes,
17+
withViewTransitions(),
18+
withComponentInputBinding(),
19+
withInMemoryScrolling({scrollPositionRestoration: 'enabled'})
20+
),
21+
provideAnimationsAsync(),
22+
provideHttpClient(withJsonpSupport())
23+
],
924
};

0 commit comments

Comments
 (0)