From 7cd1985d0eba53421bb22be0cc9fb19df5f7ba5a Mon Sep 17 00:00:00 2001 From: Kinfe Michael Tariku <65047246+Kinfe123@users.noreply.github.com> Date: Sat, 5 Oct 2024 23:07:12 +0300 Subject: [PATCH] docs: fix/ui_and_hydration (#102) --- docs/app/changelogs/_logs/2024-08-09.tsx | 51 ++++++++++++++++++++++++ docs/components/blocks/features.tsx | 4 +- docs/components/landing/hero.tsx | 2 +- docs/components/nav-mobile.tsx | 4 +- docs/components/theme-toggler.tsx | 40 +++++-------------- 5 files changed, 67 insertions(+), 34 deletions(-) create mode 100644 docs/app/changelogs/_logs/2024-08-09.tsx diff --git a/docs/app/changelogs/_logs/2024-08-09.tsx b/docs/app/changelogs/_logs/2024-08-09.tsx new file mode 100644 index 0000000000..f200468ee3 --- /dev/null +++ b/docs/app/changelogs/_logs/2024-08-09.tsx @@ -0,0 +1,51 @@ +import { AnimatePresence } from "@/components/ui/fade-in"; + +const ChangelogOne = () => { + return ( + +
+ +
+

+ Commit message suggestions +

+
+
+

+ In the latest release, I've added support for commit message and + description suggestions via an integration with OpenAI. Commit looks + at all of your changes, and feeds that into the machine with a bit of + prompt-tuning to get back a commit message that does a surprisingly + good job at describing the intent of your changes. It's also been a + pretty helpful way to remind myself what the hell I was working on at + the end of the day yesterday when I get back to my computer and + realize I didn't commit any of my work. +

+
+

Improvement

+
+
+ + +
+
+ ); +}; +export default ChangelogOne; diff --git a/docs/components/blocks/features.tsx b/docs/components/blocks/features.tsx index e6b9b256c5..1f3b079700 100644 --- a/docs/components/blocks/features.tsx +++ b/docs/components/blocks/features.tsx @@ -11,10 +11,10 @@ export function Features() { className="relative bg-gradient-to-b dark:from-neutral-900 from-neutral-100 dark:to-neutral-950 to-white px-6 py-2 overflow-hidden" > -

+

{feature.title}

-

+

{feature.description}

diff --git a/docs/components/landing/hero.tsx b/docs/components/landing/hero.tsx index b93b8699c8..bad8f97cff 100644 --- a/docs/components/landing/hero.tsx +++ b/docs/components/landing/hero.tsx @@ -113,7 +113,7 @@ export default function Hero() {

{ <> -
+
{ const { toggleNavbar } = useNavbarMobile(); return ( -
+
- setTheme("light")} - > + setTheme("light")}> Light - setTheme("dark")} - > + setTheme("dark")}> Dark - setTheme("system")} - > + setTheme("system")}> System @@ -53,24 +44,15 @@ export function ThemeToggle() { export function MobileThemeToggle() { const { theme, setTheme } = useTheme(); return ( -
+
-
);