tangled
alpha
login
or
join now
finxol.io
/
portfolio
0
fork
atom
Personal site
staging.colinozanne.co.uk
portfolio
astro
0
fork
atom
overview
issues
pulls
pipelines
fix: view transition
finxol.io
2 months ago
187392d9
f7db328d
verified
This commit was signed with the committer's
known signature
.
finxol.io
SSH Key Fingerprint:
SHA256:olFE3asYdoBMScuJOt60UxXdJ0RFdGv5kVKrdOtIcPI=
1/1
deploy.yaml
success
12s
+6
-2
2 changed files
expand all
collapse all
unified
split
src
components
pages
index.astro
project.astro
+3
-1
src/components/pages/index.astro
reviewed
···
164
164
style: `--container-color: var(${project.colour});`,
165
165
})}
166
166
>
167
167
-
<picture style="view-transition-name: project-img">
167
167
+
<picture
168
168
+
style={`view-transition-name: project-img-${project.slug}`}
169
169
+
>
168
170
<source
169
171
srcset={project.imgs.webp.src}
170
172
type="image/webp"
+3
-1
src/components/pages/project.astro
reviewed
···
47
47
style: `--container-color: var(${project.colour});`,
48
48
}}
49
49
>
50
50
-
<picture style="view-transition-name: project-img">
50
50
+
<picture
51
51
+
style={`view-transition-name: project-img-${project.slug}`}
52
52
+
>
51
53
<source srcset={project.imgs.webp.src} type="image/webp" />
52
54
<img src={project.imgs.jpg.src} alt={content.title[locale]} />
53
55
</picture>