feat: style improvements
This commit is contained in:
1 parent
c642691dc8
commit
35f9260b58
7 files changed
+27
-8
No files matched your search
@@ -14,6 +14,7 @@ const className = Astro.props.class;
|
||||
const isLocal = !(src.startsWith('/') || src.startsWith('http') || src.startsWith('https') || src.startsWith('data:'));
|
||||
|
||||
// TODO temporary workaround for images dynamic import
|
||||
// https://github.com/withastro/astro/issues/3373
|
||||
let img;
|
||||
if (isLocal) {
|
||||
const files = import.meta.glob<ImageMetadata>("../../**", { import: 'default' });
|
||||
|
||||
Reference in new issue
Block a user