mirror of
https://github.com/Sevichecc/Urara-Blog.git
synced 2025-04-30 18:59:31 +08:00
revert u-photo
This commit is contained in:
parent
5ac936411d
commit
a4b09a51b5
1 changed files with 1 additions and 2 deletions
|
@ -1,6 +1,5 @@
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import { site } from '$lib/config/site'
|
import { site } from '$lib/config/site'
|
||||||
import Webring from './webring.svelte'
|
|
||||||
// import { src, width, height } from '/static/assets/avatar.jpg?width=384&metadata'
|
// import { src, width, height } from '/static/assets/avatar.jpg?width=384&metadata'
|
||||||
// import srcset from '/static/assets/avatar.jpg?w=48;96;192&srcset'
|
// import srcset from '/static/assets/avatar.jpg?w=48;96;192&srcset'
|
||||||
</script>
|
</script>
|
||||||
|
@ -10,7 +9,7 @@
|
||||||
<a href={site.protocol + site.domain} class="hidden u-url u-uid">{site.author.name}</a>
|
<a href={site.protocol + site.domain} class="hidden u-url u-uid">{site.author.name}</a>
|
||||||
<figure class="relative mx-auto group">
|
<figure class="relative mx-auto group">
|
||||||
<img
|
<img
|
||||||
class="rounded-full shadow-xl w-32 h-32 hover:rotate-[360deg] transition-transform duration-1000 ease-in-out"
|
class="u-photo rounded-full shadow-xl w-32 h-32 hover:rotate-[360deg] transition-transform duration-1000 ease-in-out"
|
||||||
src={site.author.avatar}
|
src={site.author.avatar}
|
||||||
alt={site.author.name} />
|
alt={site.author.name} />
|
||||||
<!-- <picture>
|
<!-- <picture>
|
||||||
|
|
Loading…
Reference in a new issue