Skip to content

Commit 22f4fd9

Browse files
chore: Remove unused assets and update page title for clarity
1 parent 9c28e6e commit 22f4fd9

5 files changed

Lines changed: 14 additions & 70 deletions

File tree

angular.json

Lines changed: 10 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"version": 1,
44
"newProjectRoot": "projects",
55
"projects": {
6-
"angular-tauri": {
6+
"github-security-alerts": {
77
"projectType": "application",
88
"schematics": {
99
"@schematics/angular:component": {
@@ -24,18 +24,11 @@
2424
"base": "dist"
2525
},
2626
"index": "src/index.html",
27-
"polyfills": [
28-
"src/polyfills.ts"
29-
],
27+
"polyfills": ["src/polyfills.ts"],
3028
"tsConfig": "src/tsconfig.app.json",
3129
"inlineStyleLanguage": "scss",
32-
"assets": [
33-
"src/favicon.ico",
34-
"src/assets"
35-
],
36-
"styles": [
37-
"src/styles.scss"
38-
],
30+
"assets": ["src/favicon.ico", "src/assets"],
31+
"styles": ["src/styles.scss"],
3932
"scripts": [],
4033
"browser": "src/main.ts"
4134
},
@@ -75,18 +68,18 @@
7568
"builder": "@angular/build:dev-server",
7669
"configurations": {
7770
"production": {
78-
"buildTarget": "angular-tauri:build:production"
71+
"buildTarget": "github-security-alerts:build:production"
7972
},
8073
"development": {
81-
"buildTarget": "angular-tauri:build:development"
74+
"buildTarget": "github-security-alerts:build:development"
8275
}
8376
},
8477
"defaultConfiguration": "development"
8578
},
8679
"extract-i18n": {
8780
"builder": "@angular/build:extract-i18n",
8881
"options": {
89-
"buildTarget": "angular-tauri:build"
82+
"buildTarget": "github-security-alerts:build"
9083
}
9184
},
9285
"test": {
@@ -97,23 +90,15 @@
9790
"tsConfig": "src/tsconfig.spec.json",
9891
"karmaConfig": "src/karma.conf.js",
9992
"inlineStyleLanguage": "scss",
100-
"assets": [
101-
"src/favicon.ico",
102-
"src/assets"
103-
],
104-
"styles": [
105-
"src/styles.scss"
106-
],
93+
"assets": ["src/favicon.ico", "src/assets"],
94+
"styles": ["src/styles.scss"],
10795
"scripts": []
10896
}
10997
},
11098
"lint": {
11199
"builder": "@angular-eslint/builder:lint",
112100
"options": {
113-
"lintFilePatterns": [
114-
"src/**/*.ts",
115-
"src/**/*.html"
116-
]
101+
"lintFilePatterns": ["src/**/*.ts", "src/**/*.html"]
117102
}
118103
}
119104
}

src/assets/background.jpg

-227 KB
Binary file not shown.

src/assets/icons/electron.bmp

-446 KB
Binary file not shown.

src/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<html>
33
<head>
44
<meta charset="utf-8" />
5-
<title>Angular Tauri</title>
5+
<title>Github Security Alerts</title>
66
<base href="/" />
77

88
<meta name="viewport" content="width=device-width, initial-scale=1" />

src/styles.scss

Lines changed: 3 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -1,52 +1,11 @@
11
/* You can add global styles to this file, and also import other style files */
2-
@import '@tabler/icons-webfont/dist/tabler-icons.css';
2+
@import "@tabler/icons-webfont/dist/tabler-icons.css";
33

4-
html, body {
4+
html,
5+
body {
56
margin: 0;
67
padding: 0;
78

89
height: 100%;
910
font-family: Arial, Helvetica, sans-serif;
1011
}
11-
12-
/* CAN (MUST) BE REMOVED ! Sample Global style */
13-
.container {
14-
height: 100%;
15-
display: flex;
16-
flex-direction: column;
17-
align-items: center;
18-
justify-content: center;
19-
20-
background: url(./assets/background.jpg) no-repeat center fixed;
21-
-webkit-background-size: cover; /* pour anciens Chrome et Safari */
22-
background-size: cover; /* version standardisée */
23-
24-
.title {
25-
color: white;
26-
margin: 0;
27-
padding: 50px 20px;
28-
}
29-
30-
a {
31-
color: #fff !important;
32-
text-transform: uppercase;
33-
text-decoration: none;
34-
background: #ed3330;
35-
padding: 20px;
36-
border-radius: 5px;
37-
display: inline-block;
38-
border: none;
39-
transition: all 0.4s ease 0s;
40-
41-
&:hover {
42-
background: #fff;
43-
color: #ed3330 !important;
44-
letter-spacing: 1px;
45-
-webkit-box-shadow: 0px 5px 40px -10px rgba(0,0,0,0.57);
46-
-moz-box-shadow: 0px 5px 40px -10px rgba(0,0,0,0.57);
47-
box-shadow: 5px 40px -10px rgba(0,0,0,0.57);
48-
transition: all 0.4s ease 0s;
49-
}
50-
}
51-
}
52-

0 commit comments

Comments
 (0)