Skip to content
Snippets Groups Projects
Commit 54c9657b authored by Hartung, Michael's avatar Hartung, Michael
Browse files

import fa icons from component to include it in bundle

parent f4cfe0b1
No related branches found
No related tags found
No related merge requests found
......@@ -47,7 +47,7 @@ Thumbs.db
.idea
drugsTone-build
package-lock.jsondrugsTone-build
package-lock.json
.ipynb_checkpoints/
*.ipynb
......
......@@ -11,6 +11,6 @@ const concat = require('concat');
await fs.ensureDir('drugsTone-build');
await concat(files, 'drugsTone-build/drugstone.js');
await fs.copy('./dist/netex/styles.css', 'drugsTone-build/styles.css');
await fs.copy('./dist/netex/assets/', 'netex/assets/');
await fs.copy('./dist/netex/assets/', 'drugsTone-build/assets/');
})();
This diff is collapsed.
......@@ -42,6 +42,7 @@ import { QuickDrugComponent } from './components/quick-drug/quick-drug.component
import { ToastComponent } from './components/toast/toast.component';
import { GroupSelectionComponent } from './pages/explorer-page/group-selection/group-selection.component';
import { FaSolidIconComponent } from './components/fa-solid-icon/fa-solid-icon.component';
import { FaIconsComponent } from './pages/explorer-page/fa-icons/fa-icons.component';
@NgModule({
......@@ -74,6 +75,7 @@ import { FaSolidIconComponent } from './components/fa-solid-icon/fa-solid-icon.c
ToastComponent,
GroupSelectionComponent,
FaSolidIconComponent,
FaIconsComponent,
],
imports: [
BrowserModule,
......
<i class="icon {{ classString }}" title="{{ title }}">
<svg class="icon-height-normal">
<use
[attr.xlink:href]="
'/assets/fontawesome-sprites-5.15.4-custom/solid.svg#' + icon
"
[attr.xlink:href]="'#' + icon"
></use>
</svg>
</i>
<div id="appWindow" (window:resize)="onResize($event)">
<div class="is-hidden-mobile fullheight" id="appContainer">
<app-fa-icons></app-fa-icons>
<app-license-agreement></app-license-agreement>
<app-launch-analysis
......
This diff is collapsed.
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><!-- Font Awesome Free 5.15.4 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) --><path d="M432 32H312l-9.4-18.7A24 24 0 0 0 281.1 0H166.8a23.72 23.72 0 0 0-21.4 13.3L136 32H16A16 16 0 0 0 0 48v32a16 16 0 0 0 16 16h416a16 16 0 0 0 16-16V48a16 16 0 0 0-16-16zM53.2 467a48 48 0 0 0 47.9 45h245.8a48 48 0 0 0 47.9-45L416 128H32z"/></svg>
\ No newline at end of file
......@@ -88,6 +88,7 @@
<br>
<button onclick="setNetwork('netexp1')">Add nodes</button>
<div style="max-width: 80vw; width: 1276px; height: 500px">
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment