Change logo and title in Index.html not working properly

Hello everyone Like react i have changes the title and meta faviicon but only the faviicon seems to reflected , when refresh the changes title appears for milliseconds but then again the refine keyword is displayed in the space
kapa.ai
kapa.ai283d ago
Hi @jash.s. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave: ---------------------- It seems like you're trying to change the title of your refine project. In refine, you can change the title of the AuthPage component using the title prop. Here's an example of how you can do it:
import { AuthPage } from "@refinedev/mui";
const MyLoginPage = () => {
return <AuthPage type="login" title={<h1>My Title</h1>} />;
};
import { AuthPage } from "@refinedev/mui";
const MyLoginPage = () => {
return <AuthPage type="login" title={<h1>My Title</h1>} />;
};
Or you can customize the title with ThemedTitle component.
import { AuthPage, ThemedTitle } from "@refinedev/antd";
const MyLoginPage = () => {
return (
<AuthPage
type="login"
title={
<ThemedTitleV2
title="My Title"
icon={<img src="<https://refine.dev/img/logo.png"> />}
/>
}
/>
);
};
import { AuthPage, ThemedTitle } from "@refinedev/antd";
const MyLoginPage = () => {
return (
<AuthPage
type="login"
title={
<ThemedTitleV2
title="My Title"
icon={<img src="<https://refine.dev/img/logo.png"> />}
/>
}
/>
);
};
If you're trying to change the title of the entire application and not just the AuthPage, the information provided in the extracts is not sufficient to guide you on how to do that. You may need to check the official refine documentation (https://refine.dev/docs) for more details. ---------------------- Note: you can ask me a follow up question by @ mentioning me again :speech_balloon: ----------------------
kapa.ai
kapa.ai283d ago
<@1129363768661516329> kapa.ai is still learning and improving, please let us know how it did by reacting below
extended-yellow
extended-yellow283d ago
The issue is not for the auth login page but the header tab present in the browser the one which comes from index.htmk
metropolitan-bronze
metropolitan-bronze283d ago
More Posts
Open other resource in new tabis there any hooks or component to embed a text to open a new tab to another show resourceSimple read-only static JSON data providerI looked through the examples, but I'm not able to find any example which just consumes a read-only unsaved changes warning in custom componentaside Mui components I have another plugins in my form so I need to show this warning if i leave chauseModalForm 3.x.x add a value before serverconst { modalProps: createModalProps, formProps: createFormProps, show: createModalShow,warn when unsaved changesin my create/edit forms Iam using useForm({ warnWhenUnsavedChanges: true, }); but it does not Realtime chat socket.ioHello everyone, this is a question, I am doing a chat on react socket-client, nodejs express mongoosCasbin's newEnforcer crash the appI'm trying to configure a RBAC using Casbin following the Doc. Creating the AccessControlProvider, No reflecting the change in title from index.html in refineNo treflecting the change in title from index.html in refinesocketHello, I have a question I am trying to integrate socket.io for live-provider. I have an order lisAdd fields in Edit view@kapa.ai , i want to add keyMembers field in this code and data format for keyMembers is like this, edit form submitI have a useEffect in my Autocomplete component useEffect(() => { if ( initialReturnValuAutocomplete initial renderI previously asked you a problem which was, I want to modify only the data refine fills when Edit paantd table without useTablehow do i set the view elements per page on an antd TableAutocomplete return idIam using a lot of Autocomplete component in the form I made a custom component for that and reusing