Skip to content

Commit

Permalink
refactor(web): upgrade icon
Browse files Browse the repository at this point in the history
  • Loading branch information
LeezQ committed Mar 17, 2023
1 parent 463a1bb commit 3d31d0b
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 8 deletions.
Binary file modified web/public/favicon.ico
Binary file not shown.
Binary file modified web/public/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions web/src/layouts/Basic.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,15 @@ export default function BasicLayout() {
return (
<div>
<Header size="lg" />
<>
<div className="pb-10">
{loading ? (
<Center style={{ minHeight: 300 }}>
<Spinner />
</Center>
) : (
<Outlet />
)}
</>
</div>
<div className="text-center fixed -z-10 bottom-0 py-4 w-full">
Made with <AiFillHeart className="inline text-red-500" />️ by laf team
</div>
Expand Down
5 changes: 1 addition & 4 deletions web/src/pages/home/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,7 @@ function HomePage() {
return (appListQuery.data?.data || []).length === 0 ? (
<Empty />
) : (
<div
className="w-8/12 mt-10 mx-auto overflow-hidden flex flex-col"
style={{ height: "calc(100vh - 150px)" }}
>
<div className="w-8/12 mt-10 mx-auto flex flex-col">
<List
appListQuery={appListQuery}
setShouldRefetch={() => {
Expand Down
4 changes: 2 additions & 2 deletions web/src/pages/home/mods/CreateAppModal/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ const CreateAppModal = (props: {

<ModalBody pb={6}>
<VStack spacing={6} align="flex-start">
<FormControl isRequired isInvalid={!!errors?.name}>
<FormControl isRequired isInvalid={!!errors?.name} isDisabled={type === "renewal"}>
<FormLabel htmlFor="name">{t("HomePanel.Application") + t("Name")}</FormLabel>
<Input
{...register("name", {
Expand Down Expand Up @@ -280,7 +280,7 @@ const CreateAppModal = (props: {
<FormErrorMessage>{errors?.bundleId?.message}</FormErrorMessage>
</FormControl>
(
<FormControl isInvalid={!!errors?.subscriptionOption}>
<FormControl isInvalid={!!errors?.subscriptionOption} hidden={type === "edit"}>
<FormLabel htmlFor="subscriptionOption">{t("HomePanel.Duration")}</FormLabel>
<Controller
name="subscriptionOption"
Expand Down

0 comments on commit 3d31d0b

Please sign in to comment.