@@ -44,29 +44,23 @@ const PlayButton = styled.img`
4444const Header = styled . header < { $isOnline : boolean } > `
4545 position: relative;
4646 width: 100%;
47- height: 75px;
48- color: #fff;
49- font-family: 'Inter', sans-serif;
50- padding: 20px;
47+ padding: 20px 40px;
5148 z-index: 1000;
5249 transition: background-color 0.3s ease;
50+ display: flex;
51+ flex-direction: row-reverse;
52+ align-items: center;
53+
54+ @media (max-width: 768px) {
55+ padding: 10px 20px;
56+ }
5357
54- h1 {
55- float: left;
56- font-size: 1.6em;
57- line-height: 1em;
58- margin: 0;
59-
60- span {
61- font-size: 0.4em;
62- visibility: ${ props => props . $isOnline ? 'hidden' : 'visible' } ;
63- }
58+ .logo {
59+ height: 60px;
60+ width: auto;
6461 }
6562
6663 input[type="range"] {
67- position: absolute;
68- top: 30px;
69- right: 40px;
7064 width: 100px;
7165 opacity: 0.3;
7266 transition: opacity 0.2s ease;
@@ -100,17 +94,16 @@ const MainArea = styled.div<{ $isOnline: boolean }>`
10094 margin: auto;
10195 background: conic-gradient(
10296 from 0deg,
103- #90D1CA 0%,
104- #7BCDC1 10%,
105- #129990 20%,
97+ #FE7743 0%,
98+ #F1BA88 20%,
10699 #6C4E4E 30%,
107- #CB0404 40%,
108- #D93C1B 50%,
109- #FE5D26 60%,
110- #FF7F35 70%,
111- #FF9B45 80%,
112- #927AF5 90%,
113- #4B70F5 100%
100+ #3A59D1 40%,
101+ #3D90D7 50%,
102+ #0118D8 60%,
103+ #7965C1 70%,
104+ #483AA0 80%,
105+ #CF0F47 90%,
106+ #EA98DA 100%
114107 );
115108 animation: spinAndPulseBlob 30s cubic-bezier(0.77, 0, 0.175, 1) infinite,
116109 fadeBlob 15s ease-in-out infinite;
@@ -174,6 +167,11 @@ const Footer = styled.footer`
174167 text-align: center;
175168 color: #666;
176169 font-size: 0.9em;
170+ display: flex;
171+ justify-content: center;
172+ align-items: center;
173+ flex-direction: column;
174+ gap: 10px;
177175` ;
178176
179177const App : React . FC = ( ) => {
@@ -296,10 +294,6 @@ const App: React.FC = () => {
296294
297295 < MainArea $isOnline = { isOnline } >
298296 < Header $isOnline = { isOnline } >
299- < h1 >
300- Project Audio for GitHub
301- < span > offline</ span >
302- </ h1 >
303297 < input
304298 type = "range"
305299 min = "0"
@@ -329,18 +323,25 @@ const App: React.FC = () => {
329323 </ ConfigArea >
330324
331325 < Footer >
332- < div >
333- < span > This project is not in any way affiliated with GitHub.</ span > < br />
334- This project is open source, you can view it on{ ' ' }
335- < a href = "https://github.com/debugger22/github-audio" target = "_blank" rel = "noopener noreferrer" >
336- GitHub
337- </ a > < br />
338- Developed by{ ' ' }
339- < a href = "https://github.com/debugger22/github-audio" target = "_blank" rel = "noopener noreferrer" >
340- @debugger22
341- </ a > < br />
342- ProTip: It's actually kind of nice to leave on the background
343- </ div >
326+ < img
327+ className = "logo"
328+ src = "/images/logo-60.avif"
329+ alt = "GitHub Audio Logo"
330+ width = { 60 }
331+ height = { 60 }
332+ />
333+ < span > This project is not in any way affiliated with GitHub.</ span >
334+ < span >
335+ < a href = "https://github.com/debugger22/github-audio" target = "_blank" rel = "noopener noreferrer" >
336+ Source Code
337+ </ a >
338+ </ span >
339+ < span >
340+ Developed by{ ' ' } < a href = "https://github.com/debugger22" target = "_blank" rel = "noopener noreferrer" > @debugger22</ a >
341+ </ span >
342+ < span >
343+ ProTip: It's actually kind of nice to leave on the background
344+ </ span >
344345 </ Footer >
345346 </ AppContainer >
346347 ) ;
0 commit comments