Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor(web): upgrade icon #915

Merged
merged 1 commit into from
Mar 18, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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