diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c2a347b..6effb01 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -79,6 +79,7 @@ jobs: env: NEXT_PUBLIC_GA_ID: "G-TEST12345" NEXT_PUBLIC_ENABLE_ADS: "true" + NEXT_PUBLIC_ADSENSE_ID: "ca-pub-0000000000000000" steps: - uses: actions/checkout@v6 diff --git a/app/globals.css b/app/globals.css index 3c3c46a..9c0f814 100644 --- a/app/globals.css +++ b/app/globals.css @@ -1,7 +1,3 @@ @import "tailwindcss"; -@theme { - --breakpoint-4k: 2560px; -} - @custom-variant dark (&:where(.dark, .dark *)); diff --git a/app/page.tsx b/app/page.tsx index 60d6613..4e0e18d 100644 --- a/app/page.tsx +++ b/app/page.tsx @@ -62,19 +62,19 @@ export default function Home() {
-
-
-
- +
+
+
+
-

+

WorkLoad

-
- +
+ {currentTime === null ? PLACEHOLDER_CLOCK @@ -94,9 +94,9 @@ export default function Home() { title="Alternar tema" > {resolvedTheme === "dark" ? ( - + ) : ( - + )}
diff --git a/components/atoms/button.tsx b/components/atoms/button.tsx index ec6b44c..0c658f1 100644 --- a/components/atoms/button.tsx +++ b/components/atoms/button.tsx @@ -24,11 +24,10 @@ const Button = React.forwardRef( variant === "ghost", "bg-red-500/10 text-red-600 hover:bg-red-500/20": variant === "danger", - "h-12 px-6 py-2 text-base 4k:h-20 4k:px-12 4k:text-2xl": - size === "default", + "h-12 px-6 py-2 text-base": size === "default", "h-9 rounded-md px-3 text-sm": size === "sm", "h-14 rounded-2xl px-8 text-lg": size === "lg", - "h-10 w-10 4k:h-16 4k:w-16": size === "icon", + "h-10 w-10": size === "icon", }, className, )} diff --git a/components/atoms/input.tsx b/components/atoms/input.tsx index de147cc..70b203f 100644 --- a/components/atoms/input.tsx +++ b/components/atoms/input.tsx @@ -18,8 +18,8 @@ const Input = React.forwardRef( - + {STATUS_MESSAGES[status]}
diff --git a/components/molecules/date-time-input.tsx b/components/molecules/date-time-input.tsx index fb3e31b..4a8d5dc 100644 --- a/components/molecules/date-time-input.tsx +++ b/components/molecules/date-time-input.tsx @@ -10,7 +10,7 @@ const TIME_GROUPS = [2, 2] as const; const BR_DATE_FORMAT = "dd/MM/yyyy"; const ISO_DATE_FORMAT = "yyyy-MM-dd"; const FIELD_CLASSES = - "h-14 4k:h-20 focus-visible:ring-indigo-500 placeholder:text-neutral-500"; + "h-14 focus-visible:ring-indigo-500 placeholder:text-neutral-500"; const toBRDate = (isoDate: string) => { if (!isoDate) return ""; @@ -67,9 +67,9 @@ export function DateTimeInput({
@@ -85,7 +85,7 @@ export function DateTimeInput({ className={FIELD_CLASSES} />
-
+
-
-
); } diff --git a/components/molecules/extra-entry-list.tsx b/components/molecules/extra-entry-list.tsx index e743708..d7ff68e 100644 --- a/components/molecules/extra-entry-list.tsx +++ b/components/molecules/extra-entry-list.tsx @@ -25,9 +25,7 @@ export function ExtraEntryList({ return (
-

- {label} -

+

{label}

-
+
-
); diff --git a/components/molecules/hero-panel.tsx b/components/molecules/hero-panel.tsx index 24f98ab..4ab0b98 100644 --- a/components/molecules/hero-panel.tsx +++ b/components/molecules/hero-panel.tsx @@ -29,35 +29,30 @@ export function HeroPanel({ return (
-
-
-
+
+
+
-
-
-
-

+

+

{value}

{children}
{footer ? ( -
- {footer} -
+
{footer}
) : null}
diff --git a/components/molecules/stat-box.tsx b/components/molecules/stat-box.tsx index 964f4b6..738d7c3 100644 --- a/components/molecules/stat-box.tsx +++ b/components/molecules/stat-box.tsx @@ -21,7 +21,7 @@ export function StatBox({ return (
-
+
{icon} - + {label}
{subValue && ( -
- {subValue} -
+
{subValue}
)}
); diff --git a/components/organisms/journey-form.tsx b/components/organisms/journey-form.tsx index f66c32c..9d0e2a6 100644 --- a/components/organisms/journey-form.tsx +++ b/components/organisms/journey-form.tsx @@ -86,10 +86,10 @@ export function JourneyForm({ const [showSettings, setShowSettings] = useState(false); return ( -
-
+
+
-

Sua Jornada

+

Sua Jornada

-
+
@@ -117,7 +117,7 @@ export function JourneyForm({ type="button" aria-pressed={isManualExit} onClick={() => onManualExitChange(true)} - className={`px-6 py-2.5 rounded-xl text-xs font-bold transition-all 4k:px-12 4k:py-6 4k:text-3xl 4k:rounded-3xl ${isManualExit ? "bg-white dark:bg-neutral-700 shadow-md text-emerald-500" : "text-neutral-400 hover:text-neutral-600"}`} + className={`px-6 py-2.5 rounded-xl text-xs font-bold transition-all ${isManualExit ? "bg-white dark:bg-neutral-700 shadow-md text-emerald-500" : "text-neutral-400 hover:text-neutral-600"}`} > MANUAL @@ -129,22 +129,19 @@ export function JourneyForm({ isOpen={showSettings} className="mb-8" > -
+
-
-
+
onWorkMinutesChange(parseDuration(duration)) } - className="h-12 4k:h-24 rounded-xl text-center text-lg font-bold focus-visible:ring-emerald-500" + className="h-12 rounded-xl text-center text-lg font-bold focus-visible:ring-emerald-500" />
-
+
-
+
-