Nick
Explore posts from serversKPCKevin Powell - Community
โขCreated by Nick on 9/21/2024 in #back-end
Can't connect to my Postgres instance from my app
yeah, think it was just some weirdness with payload's postgres adapter. i ditched payload anyway after getting it set up. was disappointed that they added postgres but everything was still very much document based.
thanks for the reply though ๐
4 replies
KPCKevin Powell - Community
โขCreated by raul-barriga on 9/15/2024 in #back-end
sendgrid email
Not sure if it will help (as from memory I think I'm using the web api as opposed to their normal api), but this is what I do:
2 replies
KPCKevin Powell - Community
โขCreated by Nick on 8/15/2024 in #front-end
Not sure how to make this hero text animation responsive
All fixed, used a clip path instead ๐
2 replies
KPCKevin Powell - Community
โขCreated by Nick on 7/23/2024 in #back-end
Does anyone use Drizzle here? Many-to-Many relationships and types
Yeah that's the conclusion I came to as well last night, ended up brushing up on my joins ๐
Thanks for your help
12 replies
KPCKevin Powell - Community
โขCreated by Nick on 7/23/2024 in #back-end
Does anyone use Drizzle here? Many-to-Many relationships and types
hi @แผฯฯฯ, yeah I guess I was just expecting the convenience that you get with that Sequelize example (where you can access the other side of the M:N relationship because you've specified the join table in the relationship itself). I guess it's doing work behind the scenes to mutate and flatten the data. It also confused me because there's a Drizzle youtube tutorial that looks to be doing exactly that, but I must be missing something about his code
But you're right, that's definitely not how sql works!
12 replies
KPCKevin Powell - Community
โขCreated by Nick on 6/1/2024 in #front-end
Intrinsic image sizes
skill mate, not luck ๐
118 replies
KPCKevin Powell - Community
โขCreated by Nick on 6/1/2024 in #front-end
Intrinsic image sizes
yeah, thought your answer was on the money tbf ๐
118 replies
KPCKevin Powell - Community
โขCreated by Nick on 6/1/2024 in #front-end
Intrinsic image sizes
i usually just use css too!
118 replies
KPCKevin Powell - Community
โขCreated by Nick on 6/1/2024 in #front-end
Intrinsic image sizes
yeah I hadn't thought about distinguishing between the html element and the JS that represented it
118 replies
KPCKevin Powell - Community
โขCreated by Nick on 6/1/2024 in #front-end
Intrinsic image sizes
ah ok, that makes sense
118 replies
KPCKevin Powell - Community
โขCreated by Nick on 6/1/2024 in #front-end
Intrinsic image sizes
yeah i think it's intrinsic. i'll have to play with the natural width/height property that was mentioned too
118 replies
KPCKevin Powell - Community
โขCreated by Nick on 6/1/2024 in #front-end
Intrinsic image sizes
i've actually quite enjoyed it so far tbf
118 replies
KPCKevin Powell - Community
โขCreated by Nick on 6/1/2024 in #front-end
Intrinsic image sizes
yeah you're probably right!
118 replies
KPCKevin Powell - Community
โขCreated by Nick on 6/1/2024 in #front-end
Intrinsic image sizes
Understand what you're getting at RE Js width and height - those are definitely rendered. But the Nextjs Image component is surely equivalent to the html img tag?
118 replies
KPCKevin Powell - Community
โขCreated by Nick on 6/1/2024 in #front-end
Intrinsic image sizes
118 replies
KPCKevin Powell - Community
โขCreated by Nick on 6/1/2024 in #front-end
Intrinsic image sizes
are you sure? it says they're required props
118 replies
KPCKevin Powell - Community
โขCreated by Nick on 6/1/2024 in #front-end
Intrinsic image sizes
especially as I've seen teachers use it in that way (and it seemingly working)
118 replies
KPCKevin Powell - Community
โขCreated by Nick on 6/1/2024 in #front-end
Intrinsic image sizes
that's true, like i said, it just confused the hell out of me ๐
118 replies
KPCKevin Powell - Community
โขCreated by Nick on 6/1/2024 in #front-end
Intrinsic image sizes
ah ok
118 replies
KPCKevin Powell - Community
โขCreated by Nick on 6/1/2024 in #front-end
Intrinsic image sizes
just feels weird that nextjs wouldn't mirror that
118 replies