changed around to using .. and import
This commit is contained in:
parent
80e678ce8d
commit
97454c0685
5 changed files with 7 additions and 7 deletions
src/components
|
@ -7,7 +7,7 @@ export interface Props {
|
|||
|
||||
const { image, link, title } = Astro.props;
|
||||
|
||||
const icon: string = `background: url('${Astro.site}/ta_icons/${image}.webp')`
|
||||
const icon: string = `background: url('../ta_icons/${image}.webp')`
|
||||
---
|
||||
<a href={link} target="_blank" rel="noopener noreferrer" aria-label={title}>
|
||||
<article>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue