Refactor Docusaurus configuration and frontend components
- Update the title and logo in Docusaurus configuration - Add Discord and Support links to the navbar - Update the label and href for the GitHub link in the footer - Remove redundant code and comments in ImageInfoModal component - Update the text and link in ImageInfoModal component - Update the conditional statement in +page.svelte file - Comment out the unused code in settings page
This commit is contained in:
@@ -32,7 +32,7 @@
|
||||
let typeString: string = '';
|
||||
|
||||
$: {
|
||||
if (typeof window !== 'undefined') {
|
||||
if (typeof window !== 'undefined' && typeString) {
|
||||
let url = new URL(window.location.href);
|
||||
url.searchParams.set('types', typeString);
|
||||
goto(url.toString(), { invalidateAll: true, replaceState: true });
|
||||
|
||||
Reference in New Issue
Block a user