From 102ef01fbf6d90992a244510e433bd0b79c94a94 Mon Sep 17 00:00:00 2001 From: Mateusz Charytoniuk <mateusz.charytoniuk@protonmail.com> Date: Wed, 24 Apr 2024 21:41:56 +0200 Subject: [PATCH] chore(docs): add YT link --- docs/pages/index.md | 15 ++++++++------- src/YesNoMaybe.php | 5 +++++ 2 files changed, 13 insertions(+), 7 deletions(-) diff --git a/docs/pages/index.md b/docs/pages/index.md index 54d090c3..baac3f89 100644 --- a/docs/pages/index.md +++ b/docs/pages/index.md @@ -65,13 +65,14 @@ description: > <span class="homepage-gallery__version">v0.30.0</span> </a> </h4> - <p> - Extract strictly formatted data from user's fuzzy input. - </p> - <a - class="homepage-gallery__item__learnmore" - href="/docs/features/ai/server/llama-cpp/extractors/" - >Learn More</a> + <iframe + src="https://www.youtube.com/embed/Jz-p6Bhcm54" + title="YouTube video player" + frameborder="0" + allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" + referrerpolicy="strict-origin-when-cross-origin" + allowfullscreen + ></iframe> </li> <li class="homepage-gallery__item"> <h4> diff --git a/src/YesNoMaybe.php b/src/YesNoMaybe.php index bcf01c17..fa32df24 100644 --- a/src/YesNoMaybe.php +++ b/src/YesNoMaybe.php @@ -18,6 +18,11 @@ enum YesNoMaybe: string return self::Maybe !== $this; } + public function isMaybe(): bool + { + return self::Maybe === $this; + } + public function isNo(): bool { return self::No === $this; -- GitLab