Skip to content

Commit

Permalink
Use Infinite HD icon as logo
Browse files Browse the repository at this point in the history
Add it to the header, favicon, iOS home screen and other places.

Fixes #141
  • Loading branch information
mihaip committed Jan 27, 2024
1 parent a24e167 commit 3e2eb3a
Show file tree
Hide file tree
Showing 15 changed files with 31 additions and 21 deletions.
Binary file added Art/Header (2024).acorn
Binary file not shown.
Binary file added Art/Icon 192 (2024).acorn
Binary file not shown.
Binary file added Art/Icon 512 (2024).acorn
Binary file not shown.
Binary file added Art/Infinite HD Icon.acorn
Binary file not shown.
Binary file removed Art/Infinite HD Icon.psd
Binary file not shown.
2 changes: 2 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
<head>
<meta charset="utf-8" />
<link rel="icon" href="/favicon.ico" />
<link rel="icon" type="image/png" sizes="32x32" href="/favicon32.png" />
<link rel="icon" type="image/png" sizes="16x16" href="/favicon16.png" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="theme-color" content="#000000" />
Expand Down
Binary file modified public/favicon.ico
Binary file not shown.
Binary file added public/favicon16.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/favicon32.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified public/logo192.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified public/logo512.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
42 changes: 25 additions & 17 deletions src/Browser.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,40 +6,48 @@

.Browser {
--browser-padding: 40px;
--browser-logo-scale: 1;
--browser-logo-scale: 2;
padding: var(--browser-padding);
}

@media (max-width: 400px) {
@media (max-width: 440px) {
.Browser header {
flex-direction: column;
}
}

@media (max-width: 640px) {
.Browser {
--browser-padding: 10px;
--browser-logo-scale: 0.67;
--browser-padding: 15px;
--browser-logo-scale: 1;
}
}

.Browser header {
max-width: 100vw;
background-color: #fff;
display: flex;
gap: var(--browser-padding);
background: #d9e5fe;
margin: calc(var(--browser-padding) * -1);
margin-bottom: 0;
padding: var(--browser-padding);
margin-bottom: 0;
align-items: center;
}

.Browser .Logo {
background-image: url(./Images/Header.png);
flex-shrink: 0;
background-image: url(./Images/HeaderLogo.png);
background-size: cover;
image-rendering: pixelated;
width: calc(325px * var(--browser-logo-scale));
height: calc(170px * var(--browser-logo-scale));
margin: 0 auto;
width: calc(114px * var(--browser-logo-scale));
height: calc(74px * var(--browser-logo-scale));
}

.Browser .Description {
margin: 0 calc(var(--browser-padding) * -1);
padding: calc(var(--browser-padding) / 2) var(--browser-padding);
background: #d9e5fe;
max-width: 100vw;
box-sizing: border-box;
.Browser .Description p:first-child {
margin-top: 0;
}

.Browser .Description p:last-child {
margin-bottom: 0;
}

.Browser .Description span {
Expand Down
8 changes: 4 additions & 4 deletions src/Browser.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,11 @@ export function Browser({
<div className="Logo">
<h1>Infinite Mac</h1>
</div>
<Description
onRun={onRun}
initialCustomRunDef={initialCustomRunDef}
/>
</header>
<Description
onRun={onRun}
initialCustomRunDef={initialCustomRunDef}
/>
<div className="Disks-Container">
<NotableToggle
notableOnly={notableOnly}
Expand Down
Binary file removed src/Images/Header.png
Binary file not shown.
Binary file added src/Images/HeaderLogo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 3e2eb3a

Please sign in to comment.