matrix-art

An image gallery for Matrix
git clone git://archive.git.mtrnord.blog/MTRNord/matrix-art.git
Log | Files | Refs | README | LICENSE

commit 2a7492c4b933730e8ddee10edbfbd0041f3c788d
parent e7c19306a3815d16bde975dff3ea974f919fe340
Author: MTRNord <mtrnord1@gmail.com>
Date:   Tue,  3 Jan 2023 21:50:37 +0100

remove stray id and add aria-label

Diffstat:
Msrc/components/post.tsx | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/components/post.tsx b/src/components/post.tsx @@ -13,7 +13,7 @@ export function Post({ user, post }: Props) { return ( <Suspense fallback={<div className="flex flex-col w-full"><BounceLoader color="#FEA500" /></div>}> <div className="flex flex-col"> - <a id="gallery_click" href={post.content.file.url} className="w-full" target="_blank" rel="noreferrer"> + <a aria-label={`Open post by ${user.display_name}`} href={post.content.file.url} className="w-full" target="_blank" rel="noreferrer"> <SuspenseImage className="rounded-3xl shadow object-cover transform transition-transform ease-in-out duration-300 hover:scale-105" src={post.content.file.url} /> </a> <div className="flex items-center justify-between py-4">