rob
rob
TTCTheo's Typesafe Cult
Created by rob on 5/16/2024 in #questions
Running into Error: @clerk/nextjs: Missing publishableKey. when following the The Modern React Tutor
Looks like it's a Vercel incident: [Vercel status] Investigating: New environment variable not appearing in production deployments https://stspg.io/2jnk8gcxtllr
14 replies
TTCTheo's Typesafe Cult
Created by rob on 5/16/2024 in #questions
Running into Error: @clerk/nextjs: Missing publishableKey. when following the The Modern React Tutor
Thanks for trying, appreciate it 🙏
14 replies
TTCTheo's Typesafe Cult
Created by rob on 5/16/2024 in #questions
Running into Error: @clerk/nextjs: Missing publishableKey. when following the The Modern React Tutor
No description
14 replies
TTCTheo's Typesafe Cult
Created by rob on 5/16/2024 in #questions
Running into Error: @clerk/nextjs: Missing publishableKey. when following the The Modern React Tutor
nah, same issue.
14 replies
TTCTheo's Typesafe Cult
Created by rob on 5/16/2024 in #questions
Running into Error: @clerk/nextjs: Missing publishableKey. when following the The Modern React Tutor
I'll try it out, I'll 🤦‍♂️ if it's this because I found this prop but noticed Theo wasn't using it lol
14 replies
TTCTheo's Typesafe Cult
Created by rob on 5/16/2024 in #questions
Running into Error: @clerk/nextjs: Missing publishableKey. when following the The Modern React Tutor
No description
14 replies
TTCTheo's Typesafe Cult
Created by rob on 5/16/2024 in #questions
Running into Error: @clerk/nextjs: Missing publishableKey. when following the The Modern React Tutor
I'm using a server component, same as Theo did in the tutorial
14 replies
TTCTheo's Typesafe Cult
Created by rob on 3/24/2024 in #questions
Headless WordPress hosting for ~2k page marketing blog
thanks man, fast monitor looks cool too. Are you only measuring is 200 response + response time, or do you record CWV scores too?
10 replies
TTCTheo's Typesafe Cult
Created by rob on 1/6/2023 in #questions
Assigning Default Custom Components to HTML Elements in Astro
Damn, yeah I was hoping there would be a nicer way of doing that without having to create a separate astro component for each one. The @apply tailwind classes approach is used in the t3 docs site, I might just go that approach by wrapping all mdx content in a .markdown class and then in a global.css file doing this:
.markdown h1 {
@apply mt-8 mb-4 text-3xl font-extrabold;
}
.markdown h2 {
@apply mt-8 mb-4 text-2xl font-semibold;
}
.markdown h1 {
@apply mt-8 mb-4 text-3xl font-extrabold;
}
.markdown h2 {
@apply mt-8 mb-4 text-2xl font-semibold;
}
etc... Writing an astro component for each one feels like way too much boilerplate when all I'm wanting to do is add some class names
8 replies
TTCTheo's Typesafe Cult
Created by rob on 1/6/2023 in #questions
Assigning Default Custom Components to HTML Elements in Astro
That's good, I think that's kind of what I'm doing already. This works fine for my link components which don't have variants passed as a prop, however I was hoping to be able to create a Heading component which would take a prop like size or level which I could use to set the heading level. Something like this:
<Content
components={{
h1: ()=>(<Heading as="h1" />),
h2: ()=>(<Heading as="h2" />),
}}
/>
<Content
components={{
h1: ()=>(<Heading as="h1" />),
h2: ()=>(<Heading as="h2" />),
}}
/>
8 replies