Nick
Explore posts from serversKPCKevin Powell - Community
•Created by Nick on 1/12/2025 in #front-end
Centering a div vertically... (Kevin's shape-outside video)
apparently there's no way to do it without JS https://stackoverflow.com/questions/61992180/how-to-vertically-center-text-within-a-circle-created-with-shape-outside
2 replies
KPCKevin Powell - Community
•Created by Nick on 12/22/2024 in #front-end
Animating clip path with gsap?
Hi Mark, sorry, I didn't see this reply. Yeah that was the original answer I got on the gsap forums, but was then told that url to path is now possible, so who knows. Maybe you are right.
I never got it solved, I just switched to using
inset
instead (and have now ditched clip-path for a Flip effect anyway!)
Thanks though, appreciate the help!26 replies
KPCKevin Powell - Community
•Created by Nick on 12/22/2024 in #front-end
Animating clip path with gsap?
thanks for trying anyway 🙂
26 replies
KPCKevin Powell - Community
•Created by Nick on 12/22/2024 in #front-end
Animating clip path with gsap?
I just cannot get my head around it 😄
26 replies
KPCKevin Powell - Community
•Created by Nick on 12/22/2024 in #front-end
Animating clip path with gsap?
(there's still a chance)
26 replies
KPCKevin Powell - Community
•Created by Nick on 12/22/2024 in #front-end
Animating clip path with gsap?
😄
26 replies
KPCKevin Powell - Community
•Created by Nick on 12/22/2024 in #front-end
Animating clip path with gsap?
i was hoping you were right / i couldn't count
26 replies
KPCKevin Powell - Community
•Created by Nick on 12/22/2024 in #front-end
Animating clip path with gsap?
20 on this one yeah?
gsap.to(".hero", {
clipPath:
path("M20 10 H80 A20 20 0 0 1 80 90 H20 A20 20 0 0 1 20 10 Z")
,26 replies
KPCKevin Powell - Community
•Created by Nick on 12/22/2024 in #front-end
Animating clip path with gsap?
does it? i swear they're the same 😄
26 replies
KKinde
•Created by Nick on 11/26/2024 in #💻┃support
Typescript jwt payload type?
Thanks a lot, that's perfect 🙂
9 replies
PPrisma
•Created by Nick on 11/30/2024 in #help-and-questions
New to Prisma, can I not rely on the order of the array when creating nested records?
Hi @Nurul , thanks for the reply. Am I right in thinking that an orderBy wouldn't work when creating these nested events?
I ended up creating each event manually anyway, just curious 🙂
3 replies
KKinde
•Created by Nick on 11/26/2024 in #💻┃support
"AuthProvider gives access to auth data in your app"
Hi @CB_Kinde, it's just the "Set up the Kinde Auth Provider" section here: https://docs.kinde.com/developer-tools/sdks/backend/nextjs-sdk/
I just seem to have access using getKindeServerSession, and noticed that in various youtube videos I've watched, that section doesn't exist (or isn't in the version of the docs they're referring to)
3 replies
KKinde
•Created by Nick on 11/26/2024 in #💻┃support
Typescript jwt payload type?
Looks awesome, thanks!
Would you mind explaining the difference between using validateToken/jwtDecoder vs what's in the code above? (jwt.verify?)
Thanks again, had no idea the zod types would be so involved!
9 replies
KKinde
•Created by Nick on 11/26/2024 in #💻┃support
Typescript jwt payload type?
Sorry it's taken a while to respond, ended up in bed with a banging migraine yesterday!
@Ages I was just trying to get the compile time error on
event?.type
to go away. But I solved the issue (I think) by asserting that the result of jwt.verify was of type jwt.JwtPayload
.
Code snippet from the app/api/kinde-webhook/route.ts
route described here (https://docs.kinde.com/integrate/webhooks/webhooks-nextjs/)
I'm using the nextjs app router sdk, so I'm guessing the TS sdk isn't relevant?9 replies
KKinde
•Created by Nick on 11/24/2024 in #💻┃support
Middleware: Not being redirected back to the protected page
No that's perfect, thanks
4 replies
KKinde
•Created by Nick on 11/24/2024 in #💻┃support
Middleware: Not being redirected back to the protected page
ah, nevermind:
isReturnToCurrentPage
4 replies
KPCKevin 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