initial commit
This commit is contained in:
commit
c7c8fc4e67
24 changed files with 1328 additions and 0 deletions
3
utils/imageHelper.ts
Normal file
3
utils/imageHelper.ts
Normal file
|
@ -0,0 +1,3 @@
|
|||
export function imageSrc(src: string) {
|
||||
return src.startsWith('http') ? `url(${src})` : `/images/${src}`
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue