mirror of
https://github.com/FranP-code/create-better-t-stack.git
synced 2025-10-12 23:52:15 +00:00
fix text color issue on the website
This commit is contained in:
@@ -58,7 +58,6 @@ export function TechSelector({ onSelect, activeNodes }: TechSelectorProps) {
|
|||||||
Options
|
Options
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{/* Regular tech options */}
|
|
||||||
{Object.entries(techOptions)
|
{Object.entries(techOptions)
|
||||||
.filter(([category]) => category !== "addons")
|
.filter(([category]) => category !== "addons")
|
||||||
.map(([category, options]) => (
|
.map(([category, options]) => (
|
||||||
@@ -69,7 +68,7 @@ export function TechSelector({ onSelect, activeNodes }: TechSelectorProps) {
|
|||||||
<Badge
|
<Badge
|
||||||
key={option.id}
|
key={option.id}
|
||||||
variant="secondary"
|
variant="secondary"
|
||||||
className={`cursor-pointer hover:bg-gray-700 ${
|
className={`cursor-pointer hover:bg-gray-700 text-gray-300 ${
|
||||||
activeNodes[
|
activeNodes[
|
||||||
category as keyof Omit<ActiveNodes, "addons">
|
category as keyof Omit<ActiveNodes, "addons">
|
||||||
] === option.id && "bg-blue-600 text-white"
|
] === option.id && "bg-blue-600 text-white"
|
||||||
@@ -83,7 +82,6 @@ export function TechSelector({ onSelect, activeNodes }: TechSelectorProps) {
|
|||||||
</div>
|
</div>
|
||||||
))}
|
))}
|
||||||
|
|
||||||
{/* Feature toggles */}
|
|
||||||
<div className="space-y-2">
|
<div className="space-y-2">
|
||||||
<div className="text-xs text-gray-400">Addons</div>
|
<div className="text-xs text-gray-400">Addons</div>
|
||||||
<div className="flex flex-wrap gap-1">
|
<div className="flex flex-wrap gap-1">
|
||||||
@@ -91,7 +89,7 @@ export function TechSelector({ onSelect, activeNodes }: TechSelectorProps) {
|
|||||||
<Badge
|
<Badge
|
||||||
key={option.id}
|
key={option.id}
|
||||||
variant="secondary"
|
variant="secondary"
|
||||||
className={`cursor-pointer hover:bg-gray-700 ${
|
className={`cursor-pointer hover:bg-gray-700 text-gray-300 ${
|
||||||
activeNodes.addons[
|
activeNodes.addons[
|
||||||
option.id as keyof typeof activeNodes.addons
|
option.id as keyof typeof activeNodes.addons
|
||||||
] === true && "bg-blue-600 text-white"
|
] === true && "bg-blue-600 text-white"
|
||||||
|
|||||||
Reference in New Issue
Block a user