Skip to content

Commit

Permalink
chore(): move and merge assets to public folder
Browse files Browse the repository at this point in the history
  • Loading branch information
inpercima committed Sep 4, 2024
1 parent 48398ff commit 9bee854
Show file tree
Hide file tree
Showing 14 changed files with 15 additions and 14 deletions.
11 changes: 6 additions & 5 deletions frontend/angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,10 @@
],
"tsConfig": "tsconfig.app.json",
"assets": [
"src/.htaccess",
"src/favicon.ico",
"src/assets",
{
"glob": "**/*",
"input": "public"
},
{
"glob": "**/*",
"ignore": [
Expand Down Expand Up @@ -88,8 +89,8 @@
"budgets": [
{
"type": "initial",
"maximumWarning": "1MB",
"maximumError": "2MB"
"maximumWarning": "5MB",
"maximumError": "5MB"
},
{
"type": "anyComponentStyle",
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes
2 changes: 1 addition & 1 deletion frontend/src/app/app.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<button mat-button (click)="openDialog(dialog)">APP INFO</button>
|
<a mat-button href="https://github.com/inpercima/publicmedia" target="_blank">
<img class="github-link" alt="GitHub Repository" src="../assets/github-mark-white.svg">
<img class="github-link" alt="GitHub Repository" src="github-mark-white.svg">
GitHub
</a>
</div>
Expand Down
16 changes: 8 additions & 8 deletions frontend/src/fonts.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
font-style: normal;
font-weight: 300;
src: local(''),
url('/assets/fonts/roboto-v30-latin-300.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
url('/assets/fonts/roboto-v30-latin-300.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
url('/fonts/roboto-v30-latin-300.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
url('/fonts/roboto-v30-latin-300.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* roboto-regular - latin */
Expand All @@ -16,8 +16,8 @@
font-style: normal;
font-weight: 400;
src: local(''),
url('/assets/fonts/roboto-v30-latin-regular.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
url('/assets/fonts/roboto-v30-latin-regular.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
url('/fonts/roboto-v30-latin-regular.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
url('/fonts/roboto-v30-latin-regular.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* roboto-500 - latin */
Expand All @@ -26,8 +26,8 @@
font-style: normal;
font-weight: 500;
src: local(''),
url('/assets/fonts/roboto-v30-latin-500.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
url('/assets/fonts/roboto-v30-latin-500.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
url('/fonts/roboto-v30-latin-500.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
url('/fonts/roboto-v30-latin-500.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* roboto-700 - latin */
Expand All @@ -36,6 +36,6 @@
font-style: normal;
font-weight: 700;
src: local(''),
url('/assets/fonts/roboto-v30-latin-700.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
url('/assets/fonts/roboto-v30-latin-700.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
url('/fonts/roboto-v30-latin-700.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
url('/fonts/roboto-v30-latin-700.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

0 comments on commit 9bee854

Please sign in to comment.