Skip to content

Commit

Permalink
chore(demo): use only v3 assets for examples
Browse files Browse the repository at this point in the history
  • Loading branch information
nsbarsukov committed Aug 16, 2024
1 parent 0f99e2a commit d445806
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions projects/demo/src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
property="og:url"
/>
<meta
content="https://taiga-ui.dev/assets/images/card.jpg"
content="https://taiga-ui.dev/v3/assets/images/card.jpg"
property="og:image"
/>
<meta
Expand All @@ -77,7 +77,7 @@
name="twitter:description"
/>
<meta
content="https://taiga-ui.dev/assets/images/card.jpg"
content="https://taiga-ui.dev/v3/assets/images/card.jpg"
name="twitter:image"
/>
<meta
Expand Down
2 changes: 1 addition & 1 deletion projects/demo/src/modules/app/classes/ts-file.parser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ export class TsFileParser {

this.rawFileContent = this.rawFileContent.replace(
'assets`',
'`https://taiga-ui.dev/assets',
'`https://taiga-ui.dev/v3/assets',
);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import {AppComponent} from './app.component';
providers: [
// A workaround because StackBlitz does not support assets
tuiSvgOptionsProvider({
path: 'https://taiga-ui.dev/assets/taiga-ui/icons',
path: 'https://taiga-ui.dev/v3/assets/taiga-ui/icons',
}),
/**
* If you use unsafe icons or TuiEditor in your app
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@
.fullsize();
content: '';
background: currentColor;
mask: url(https://taiga-ui.dev/assets/taiga-ui/icons/tuiIconHeartOutline.svg) no-repeat center;
mask: url(https://taiga-ui.dev/v3/assets/taiga-ui/icons/tuiIconHeartOutline.svg) no-repeat center;
}

&:checked:before {
color: var(--tui-negative);
mask: url(https://taiga-ui.dev/assets/taiga-ui/icons/tuiIconHeartLarge.svg) no-repeat center;
mask: url(https://taiga-ui.dev/v3/assets/taiga-ui/icons/tuiIconHeartLarge.svg) no-repeat center;
}
}

0 comments on commit d445806

Please sign in to comment.