kdiffin
TTCTheo's Typesafe Cult
•Created by kdiffin on 8/22/2024 in #questions
building content heavy SEO-compatible websites
Been wondering about the way I should go for these projects, should I use something like wordpress or continue with nextJS and sanity.io?
Recently I've gotten a new client recently and they want me to build a website like https://scafwest.com.au/projects, which will obv need some content editing and a cms
7 replies
TTCTheo's Typesafe Cult
•Created by kdiffin on 12/30/2023 in #questions
CSS radial gradient with bottom linear
here the background of this page is a radiel gradient, but i want the bottom to gradually fade to black without the top changing, any ideas?
5 replies
TTCTheo's Typesafe Cult
•Created by kdiffin on 7/9/2023 in #questions
when is virtualization neccessary
I have an array of 873 objects and im wondering if virtualization is needed, it also needs to be responsive and change the amount of rows/collumns based on the users screen size
17 replies
TTCTheo's Typesafe Cult
•Created by kdiffin on 5/17/2023 in #questions
When Is it time to make the component wet and give up on ternaries?
https://github.com/diffim/diffinlist
https://diffinlist.vercel.app
Check out the Section.tsx component and how its implemented along with SectionCard.tsx, because of typesafety and different fetches I had to do the .map part of the component as children, yet I dont feel like this is very dry. Also there are a lot of ternaries in that component for things that only happen once. Should I just make the codebase wet and make a different componrnt for each different fetch/section? Like I.e for the landing page make <AllPlaylistsSection> as the project grows it feels more hectic to maintain this component as I keep having to add more ternaries. Or is this normal and I should just continue.
2 replies
TTCTheo's Typesafe Cult
•Created by kdiffin on 5/6/2023 in #questions
running a query only if a boolean is true
the component which Im running the query in is always mounted in app.tsx and I only want it to run a query when its opened, (the component is a modal)
12 replies
TTCTheo's Typesafe Cult
•Created by kdiffin on 4/21/2023 in #questions
is it bad to fetch data inside of the definition of a custom procedure?

2 replies
TTCTheo's Typesafe Cult
•Created by kdiffin on 4/11/2023 in #questions
TRPC clerk middleware error in middleware.ts

20 replies
TTCTheo's Typesafe Cult
•Created by kdiffin on 4/2/2023 in #questions
clerk cant check passwordless

5 replies
TTCTheo's Typesafe Cult
•Created by kdiffin on 3/25/2023 in #questions
implementing search filter with nextjs and url params

10 replies
TTCTheo's Typesafe Cult
•Created by kdiffin on 3/17/2023 in #questions
hydration the initial UI does not match what was rendered on the server with next-theme

9 replies
TTCTheo's Typesafe Cult
•Created by kdiffin on 3/12/2023 in #questions
how to get the same effect as browser zoom/unzoom in css natively
so it looks like this on 100% zoom but i wanna get it to how it looks like in the 80%
5 replies