-
-
Notifications
You must be signed in to change notification settings - Fork 609
bug: fixed favicon and title of default vite app #1127
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -2,9 +2,17 @@ | |||||
| <html lang="en"> | ||||||
| <head> | ||||||
| <meta charset="UTF-8" /> | ||||||
| <link rel="icon" type="image/svg+xml" href="/vite.svg" /> | ||||||
| <link | ||||||
| rel="icon" | ||||||
| type="image/png" | ||||||
| href="https://aossie-org.github.io/PictoPy/assets/favicon.png" | ||||||
| /> | ||||||
| <meta | ||||||
|
||||||
| <meta | |
| <meta |
This file was deleted.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -3,7 +3,7 @@ import { FaDiscord } from 'react-icons/fa' // Import Discord icon from React Ic | |
|
|
||
| const Footer: React.FC = () => { | ||
| return ( | ||
| <footer className="relative bg-black text-white py-8 overflow-hidden"> | ||
| <footer className="relative bg-white dark:bg-black text-gray-900 dark:text-white py-8 overflow-hidden transition-colors duration-300 border-t border-gray-100 dark:border-gray-900"> | ||
|
||
| <div className="relative container mx-auto px-6"> | ||
| <div className="flex justify-between items-center"> | ||
| {/* Left-aligned PictoPy text */} | ||
|
|
@@ -15,10 +15,10 @@ const Footer: React.FC = () => { | |
|
|
||
| {/* Right-aligned Discord Icon and "Made with love" text */} | ||
| <div className="flex items-center space-x-2"> | ||
| <a | ||
| href="https://discord.com/channels/1022871757289422898/1311271974630330388" | ||
| target="_blank" | ||
| rel="noopener noreferrer" | ||
| <a | ||
| href="https://discord.com/channels/1022871757289422898/1311271974630330388" | ||
| target="_blank" | ||
| rel="noopener noreferrer" | ||
| className="text-sm font-medium text-transparent bg-clip-text bg-gradient-to-r from-yellow-400 to-green-400 hover:bg-gradient-to-r hover:from-yellow-500 hover:to-green-500 transition duration-300 ease-in-out" | ||
| > | ||
| <FaDiscord className="inline-block mr-2 text-yellow-400 hover:text-green-400 transition duration-300 ease-in-out transform scale-150" /> {/* Scale it to 1.5x */} | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The favicon is being loaded from an external GitHub Pages URL, which creates an external dependency and may cause issues if the GitHub Pages site is unavailable or if the application is used offline. Consider copying the favicon to the frontend/public directory (similar to how 128x128.png and tauri.svg exist there) and referencing it as a local asset with href="/favicon.png" instead. A local copy of the favicon already exists at docs/assets/favicon.png and could be copied to frontend/public/.