filyys
filyys
Explore posts from servers
TTCTheo's Typesafe Cult
Created by filyys on 9/29/2024 in #questions
What's the best way of making a Next.js image component fit the parent size?
<Image
src="/images/other-img-1.jpg"
alt="Server image"
width={0}
height={0}
style={{ width: "100%", height: "100%" }}
/>
<Image
src="/images/other-img-1.jpg"
alt="Server image"
width={0}
height={0}
style={{ width: "100%", height: "100%" }}
/>
The width and height is necessary, though I can't set it to "100%" or something similar. How do I achieve this the best way possible without hard coding it?
10 replies
TTCTheo's Typesafe Cult
Created by filyys on 8/6/2024 in #questions
tRPC error Unhandled Runtime Error
No description
5 replies
TtRPC
Created by filyys on 8/1/2024 in #❓-help
tRPC & Next.js confused about error
No description
12 replies
TTCTheo's Typesafe Cult
Created by filyys on 7/25/2024 in #questions
tRPC example file structure question
No description
6 replies