mirror of
https://github.com/FranP-code/create-better-t-stack.git
synced 2025-10-12 23:52:15 +00:00
update theme (experimental)
This commit is contained in:
@@ -38,7 +38,6 @@ import { useQueryStates } from "nuqs";
|
||||
import type React from "react";
|
||||
import { useEffect, useMemo, useRef, useState } from "react";
|
||||
import { toast } from "sonner";
|
||||
import SponsorsSection from "./sponsors-section";
|
||||
|
||||
const validateProjectName = (name: string): string | undefined => {
|
||||
const INVALID_CHARS = ["<", ">", ":", '"', "|", "?", "*"];
|
||||
@@ -1837,7 +1836,7 @@ const StackBuilder = () => {
|
||||
? "cursor-not-allowed opacity-60"
|
||||
: "cursor-pointer",
|
||||
isSelected
|
||||
? "border-primary bg-primary/10 ring-1 ring-primary"
|
||||
? "border-primary bg-primary/10"
|
||||
: `border-border ${
|
||||
!isDisabled
|
||||
? "hover:border-muted hover:bg-muted"
|
||||
@@ -1909,7 +1908,6 @@ const StackBuilder = () => {
|
||||
);
|
||||
})}
|
||||
<div className="h-10" />
|
||||
<SponsorsSection />
|
||||
</main>
|
||||
</ScrollArea>
|
||||
</div>
|
||||
|
||||
@@ -154,13 +154,13 @@ export default function HomePage() {
|
||||
<Button
|
||||
size="lg"
|
||||
variant="outline"
|
||||
className="w-full hover:text-primary sm:w-auto"
|
||||
className="w-full hover:bg-muted/50 hover:text-foreground sm:w-auto dark:hover:text-foreground"
|
||||
disabled={isLoadingStars}
|
||||
>
|
||||
<Github className="mr-2 h-4 w-4" />
|
||||
Star on GitHub
|
||||
{stars !== null && !isLoadingStars && (
|
||||
<span className="ml-2 flex items-center gap-1 rounded bg-muted px-1.5 py-0.5 text-xs">
|
||||
<span className="ml-2 flex items-center gap-1 rounded bg-muted/30 px-1.5 py-0.5 text-xs">
|
||||
<Star className="h-3 w-3 text-yellow-400" />
|
||||
{stars}
|
||||
</span>
|
||||
@@ -175,7 +175,7 @@ export default function HomePage() {
|
||||
<Button
|
||||
size="lg"
|
||||
variant="outline"
|
||||
className="w-full hover:text-primary sm:w-auto"
|
||||
className="w-full hover:bg-muted/50 hover:text-foreground sm:w-auto dark:hover:text-foreground"
|
||||
>
|
||||
<Image
|
||||
src={discordLogo}
|
||||
|
||||
Reference in New Issue
Block a user