diff --git a/frontend/src/components/Search/index.tsx b/frontend/src/components/Search/index.tsx index 0f418b4c..bca1796f 100644 --- a/frontend/src/components/Search/index.tsx +++ b/frontend/src/components/Search/index.tsx @@ -16,6 +16,7 @@ import { SearchModuleResult } from "./ModuleResult"; import { SearchProviderResult } from "./ProviderResult"; import { SearchOtherResult } from "./OtherResult"; import { definitions } from "@/api"; +import clsx from "clsx"; function getSearchResultType(value: string) { switch (value) { @@ -191,10 +192,18 @@ export function Search({ navigate(v.link); }} > -
+
onChange(event.target.value)} placeholder={placeholder} - className={ - size === "small" - ? "relative block h-9 w-96 appearance-none border border-transparent bg-gray-200 px-4 pl-8 text-inherit placeholder:text-gray-500 focus:border-brand-700 focus:outline-none dark:bg-gray-800" - : "relative block h-12 w-full appearance-none border border-transparent bg-gray-200 px-4 pl-8 text-inherit placeholder:text-gray-500 focus:border-brand-700 focus:outline-none dark:bg-gray-800" - } + className={clsx( + "relative block w-full appearance-none border border-transparent bg-gray-200 px-4 text-inherit placeholder:text-gray-500 focus:border-brand-700 focus:outline-none dark:bg-gray-800", + size === "small" ? "h-9 pl-8" : "h-12 pl-10", + )} /> {isLoading && ( )} {filtered.map((item) => (
diff --git a/frontend/src/routes/Home/index.tsx b/frontend/src/routes/Home/index.tsx index 47ae02c5..2fde8b12 100644 --- a/frontend/src/routes/Home/index.tsx +++ b/frontend/src/routes/Home/index.tsx @@ -8,11 +8,40 @@ export function Home() { <>
-
-

+
+ + + + + + + +

Documentation for OpenTofu Providers and Modules

- + This technology preview contains documentation for a select few providers and namespaces in the OpenTofu registry.