mirror of
https://github.com/9x/sheetmusictrainer.git
synced 2026-09-02 01:24:33 +02:00
Adjust logo and switch help and settings buttons
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
|
||||
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>sheet-music-trainer</title>
|
||||
</head>
|
||||
|
||||
17
public/favicon.svg
Normal file
17
public/favicon.svg
Normal file
@@ -0,0 +1,17 @@
|
||||
<svg width="64" height="64" viewBox="0 0 32 32" xmlns="http://www.w3.org/2000/svg">
|
||||
<path
|
||||
d="M 2 18 Q 15 -5 28 18"
|
||||
fill="none"
|
||||
stroke="black"
|
||||
stroke-width="3"
|
||||
stroke-linecap="round"
|
||||
/>
|
||||
<circle cx="15" cy="18" r="4" fill="black" />
|
||||
|
||||
<style>
|
||||
@media (prefers-color-scheme: dark) {
|
||||
path { stroke: white; }
|
||||
circle { fill: white; }
|
||||
}
|
||||
</style>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 396 B |
14
src/App.tsx
14
src/App.tsx
@@ -420,13 +420,6 @@ function App() {
|
||||
</button>
|
||||
</div>
|
||||
|
||||
<button
|
||||
className="icon-button"
|
||||
onClick={() => setIsSettingsOpen(true)}
|
||||
title="Settings"
|
||||
>
|
||||
<Settings size={24} />
|
||||
</button>
|
||||
<button
|
||||
className="icon-button"
|
||||
onClick={() => setShowHelp(true)}
|
||||
@@ -434,6 +427,13 @@ function App() {
|
||||
>
|
||||
<HelpCircle size={24} />
|
||||
</button>
|
||||
<button
|
||||
className="icon-button"
|
||||
onClick={() => setIsSettingsOpen(true)}
|
||||
title="Settings"
|
||||
>
|
||||
<Settings size={24} />
|
||||
</button>
|
||||
</div>
|
||||
</header>
|
||||
)}
|
||||
|
||||
@@ -3,9 +3,9 @@ import React from 'react';
|
||||
export const Logo: React.FC<{ className?: string }> = ({ className }) => {
|
||||
return (
|
||||
<svg
|
||||
width="250"
|
||||
width="260"
|
||||
height="40"
|
||||
viewBox="0 0 250 40"
|
||||
viewBox="0 0 260 40"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
className={className}
|
||||
aria-label="sight-reading.de logo"
|
||||
@@ -18,7 +18,7 @@ export const Logo: React.FC<{ className?: string }> = ({ className }) => {
|
||||
</defs>
|
||||
|
||||
{/* Icon: Stylized Fermata (Eye) */}
|
||||
<g transform="translate(10, 8) scale(0.8)">
|
||||
<g transform="translate(5, 5) scale(1.1)">
|
||||
{/* The Arc (Eyelid) */}
|
||||
<path
|
||||
d="M 2 18 Q 15 -5 28 18"
|
||||
@@ -33,8 +33,8 @@ export const Logo: React.FC<{ className?: string }> = ({ className }) => {
|
||||
|
||||
{/* Text */}
|
||||
<text
|
||||
x="45"
|
||||
y="25"
|
||||
x="48"
|
||||
y="28"
|
||||
fontFamily='"Inter", system-ui, -apple-system, sans-serif'
|
||||
fontSize="20"
|
||||
fill="currentColor"
|
||||
|
||||
Reference in New Issue
Block a user