Skip to content

Commit

Permalink
Improved icons
Browse files Browse the repository at this point in the history
  • Loading branch information
iaincollins committed Nov 5, 2024
1 parent 3aee843 commit 704c180
Show file tree
Hide file tree
Showing 9 changed files with 217 additions and 193 deletions.
13 changes: 7 additions & 6 deletions components/header.js
Original file line number Diff line number Diff line change
Expand Up @@ -86,18 +86,19 @@ export default () => {
onClick={() => router.push(`/commodity/${item.commodityName}/${item.demandBracket === 3 ? 'importers' : 'exporters'}?location=${encodeURIComponent(item.systemName)}&maxDistance=1`)}
>
<i
className='icarus-terminal-cargo muted'
style={{position: 'absolute', left: '-2rem', fontSize: '1.5rem', lineHeight: '2rem'}}
className={`icarus-terminal-cargo-${item.demandBracket > item.stockBracket ? 'import' : 'export'} muted`}
style={{position: 'absolute', left: '-2.25rem', fontSize: '2rem', lineHeight: '2rem'}}
/>
<span className='muted'>{item.stationName}, {item.systemName}</span>
<br />
{item.demandBracket === 3 && <>Buying</>}
{item.stockBracket === 3 && <>Selling</>}
{item.demandBracket > item.stockBracket ? 'Buying' : 'Selling'}
{' '}
<span style={{ color: 'var(--color-primary--lighter)' }}>{commodities?.[item.commodityName]?.name ?? item.commodityName}</span>
<span className='news-ticker__ticker-item-price'>
{item.demandBracket === 3 && <>{item.demand === 0 ? '' : <>{item.demand.toLocaleString()} T</>}<br />{item.sellPrice.toLocaleString()} CR/T</>}
{item.stockBracket === 3 && <>{item.stock.toLocaleString()} T<br />{item.buyPrice.toLocaleString()} CR/T</>}
{(item.demandBracket > item.stockBracket)
? <>{item.demand === 0 ? '' : <>{item.demand.toLocaleString()} T</>}<br />{item.sellPrice.toLocaleString()} CR/T</>
: <>{item.stock.toLocaleString()} T<br />{item.buyPrice.toLocaleString()} CR/T</>
}
</span>
<span className='news-ticker__ticker-item-price-difference'>
{item.avgSellPrice !== 0 && item.demandBracket === 3 && <span className='muted'>AVG {item.avgSellPrice.toLocaleString()} CR</span>}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ardent-www",
"version": "0.95.4",
"version": "0.95.5",
"description": "Ardent Industry",
"main": "index.js",
"scripts": {
Expand Down
190 changes: 97 additions & 93 deletions public/fonts/icarus-terminal/icarus-terminal.css
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
@font-face {
font-family: "icarus-terminal";
src: url('icarus-terminal.eot?t=1730806728119'); /* IE9*/
src: url('icarus-terminal.eot?t=1730806728119#iefix') format('embedded-opentype'), /* IE6-IE8 */
url("icarus-terminal.woff2?t=1730806728119") format("woff2"),
url("icarus-terminal.woff?t=1730806728119") format("woff"),
url('icarus-terminal.ttf?t=1730806728119') format('truetype'), /* chrome, firefox, opera, Safari, Android, iOS 4.2+*/
url('icarus-terminal.svg?t=1730806728119#icarus-terminal') format('svg'); /* iOS 4.1- */
src: url('icarus-terminal.eot?t=1730830037439'); /* IE9*/
src: url('icarus-terminal.eot?t=1730830037439#iefix') format('embedded-opentype'), /* IE6-IE8 */
url("icarus-terminal.woff2?t=1730830037439") format("woff2"),
url("icarus-terminal.woff?t=1730830037439") format("woff"),
url('icarus-terminal.ttf?t=1730830037439') format('truetype'), /* chrome, firefox, opera, Safari, Android, iOS 4.2+*/
url('icarus-terminal.svg?t=1730830037439#icarus-terminal') format('svg'); /* iOS 4.1- */
}

[class^="icarus-terminal-"], [class*=" icarus-terminal-"] {
Expand All @@ -21,90 +21,94 @@
.icarus-terminal-asteroid-base:before { content: "\ea02"; }
.icarus-terminal-atmosphere:before { content: "\ea03"; }
.icarus-terminal-barrel:before { content: "\ea04"; }
.icarus-terminal-cargo:before { content: "\ea05"; }
.icarus-terminal-chevron-down:before { content: "\ea06"; }
.icarus-terminal-chevron-left:before { content: "\ea07"; }
.icarus-terminal-chevron-right:before { content: "\ea08"; }
.icarus-terminal-chevron-up:before { content: "\ea09"; }
.icarus-terminal-cogs:before { content: "\ea0a"; }
.icarus-terminal-color-picker:before { content: "\ea0b"; }
.icarus-terminal-coriolis-starport:before { content: "\ea0c"; }
.icarus-terminal-credits:before { content: "\ea0d"; }
.icarus-terminal-direction-heading:before { content: "\ea0e"; }
.icarus-terminal-download:before { content: "\ea0f"; }
.icarus-terminal-economy:before { content: "\ea10"; }
.icarus-terminal-engineer:before { content: "\ea11"; }
.icarus-terminal-engineering:before { content: "\ea12"; }
.icarus-terminal-exit:before { content: "\ea13"; }
.icarus-terminal-fleet-carrier-lg:before { content: "\ea14"; }
.icarus-terminal-fleet-carrier:before { content: "\ea15"; }
.icarus-terminal-fuel:before { content: "\ea16"; }
.icarus-terminal-fullscreen-window:before { content: "\ea17"; }
.icarus-terminal-fullscreen:before { content: "\ea18"; }
.icarus-terminal-help:before { content: "\ea19"; }
.icarus-terminal-info:before { content: "\ea1a"; }
.icarus-terminal-inventory:before { content: "\ea1b"; }
.icarus-terminal-location-filled:before { content: "\ea1c"; }
.icarus-terminal-location:before { content: "\ea1d"; }
.icarus-terminal-logo:before { content: "\ea1e"; }
.icarus-terminal-materials-encoded:before { content: "\ea1f"; }
.icarus-terminal-materials-grade-1:before { content: "\ea20"; }
.icarus-terminal-materials-grade-2:before { content: "\ea21"; }
.icarus-terminal-materials-grade-3:before { content: "\ea22"; }
.icarus-terminal-materials-grade-4:before { content: "\ea23"; }
.icarus-terminal-materials-grade-5:before { content: "\ea24"; }
.icarus-terminal-materials-manufactured:before { content: "\ea25"; }
.icarus-terminal-materials-raw:before { content: "\ea26"; }
.icarus-terminal-materials-xeno:before { content: "\ea27"; }
.icarus-terminal-materials:before { content: "\ea28"; }
.icarus-terminal-megaship:before { content: "\ea29"; }
.icarus-terminal-notifications-disabled:before { content: "\ea2a"; }
.icarus-terminal-notifications:before { content: "\ea2b"; }
.icarus-terminal-ocellus-starport:before { content: "\ea2c"; }
.icarus-terminal-orbis-starport:before { content: "\ea2d"; }
.icarus-terminal-outpost:before { content: "\ea2e"; }
.icarus-terminal-pin-window:before { content: "\ea2f"; }
.icarus-terminal-planet-ammonia-based-life:before { content: "\ea30"; }
.icarus-terminal-planet-ammonia-world:before { content: "\ea31"; }
.icarus-terminal-planet-atmosphere-landable:before { content: "\ea32"; }
.icarus-terminal-planet-atmosphere:before { content: "\ea33"; }
.icarus-terminal-planet-earthlike:before { content: "\ea34"; }
.icarus-terminal-planet-empty:before { content: "\ea35"; }
.icarus-terminal-planet-gas-giant:before { content: "\ea36"; }
.icarus-terminal-planet-high-metal-content:before { content: "\ea37"; }
.icarus-terminal-planet-high-value:before { content: "\ea38"; }
.icarus-terminal-planet-landable:before { content: "\ea39"; }
.icarus-terminal-planet-lander:before { content: "\ea3a"; }
.icarus-terminal-planet-life:before { content: "\ea3b"; }
.icarus-terminal-planet-ringed:before { content: "\ea3c"; }
.icarus-terminal-planet-terraformable:before { content: "\ea3d"; }
.icarus-terminal-planet-volcanic:before { content: "\ea3e"; }
.icarus-terminal-planet-water-based-life:before { content: "\ea3f"; }
.icarus-terminal-planet-water-world:before { content: "\ea40"; }
.icarus-terminal-planet:before { content: "\ea41"; }
.icarus-terminal-planetary-port-large:before { content: "\ea42"; }
.icarus-terminal-planetary-port:before { content: "\ea43"; }
.icarus-terminal-plant:before { content: "\ea44"; }
.icarus-terminal-poi:before { content: "\ea45"; }
.icarus-terminal-power:before { content: "\ea46"; }
.icarus-terminal-route:before { content: "\ea47"; }
.icarus-terminal-scan:before { content: "\ea48"; }
.icarus-terminal-search:before { content: "\ea49"; }
.icarus-terminal-settings:before { content: "\ea4a"; }
.icarus-terminal-settlement:before { content: "\ea4b"; }
.icarus-terminal-shield:before { content: "\ea4c"; }
.icarus-terminal-ship:before { content: "\ea4d"; }
.icarus-terminal-signal:before { content: "\ea4e"; }
.icarus-terminal-sound:before { content: "\ea4f"; }
.icarus-terminal-star:before { content: "\ea50"; }
.icarus-terminal-sync:before { content: "\ea51"; }
.icarus-terminal-system-authority-solid:before { content: "\ea52"; }
.icarus-terminal-system-authority:before { content: "\ea53"; }
.icarus-terminal-system-bodies:before { content: "\ea54"; }
.icarus-terminal-system-orbits:before { content: "\ea55"; }
.icarus-terminal-table-index:before { content: "\ea56"; }
.icarus-terminal-table-inspector:before { content: "\ea57"; }
.icarus-terminal-table-rows:before { content: "\ea58"; }
.icarus-terminal-triangle-up:before { content: "\ea59"; }
.icarus-terminal-warning:before { content: "\ea5a"; }
.icarus-terminal-wrench:before { content: "\ea5b"; }
.icarus-terminal-cargo-export:before { content: "\ea05"; }
.icarus-terminal-cargo-import:before { content: "\ea06"; }
.icarus-terminal-cargo:before { content: "\ea07"; }
.icarus-terminal-chevron-down:before { content: "\ea08"; }
.icarus-terminal-chevron-left:before { content: "\ea09"; }
.icarus-terminal-chevron-right:before { content: "\ea0a"; }
.icarus-terminal-chevron-up:before { content: "\ea0b"; }
.icarus-terminal-cogs:before { content: "\ea0c"; }
.icarus-terminal-color-picker:before { content: "\ea0d"; }
.icarus-terminal-coriolis-starport:before { content: "\ea0e"; }
.icarus-terminal-credits:before { content: "\ea0f"; }
.icarus-terminal-direction-heading:before { content: "\ea10"; }
.icarus-terminal-download:before { content: "\ea11"; }
.icarus-terminal-economy:before { content: "\ea12"; }
.icarus-terminal-engineer:before { content: "\ea13"; }
.icarus-terminal-engineering:before { content: "\ea14"; }
.icarus-terminal-exit:before { content: "\ea15"; }
.icarus-terminal-fleet-carrier-lg:before { content: "\ea16"; }
.icarus-terminal-fleet-carrier:before { content: "\ea17"; }
.icarus-terminal-fuel:before { content: "\ea18"; }
.icarus-terminal-fullscreen-window:before { content: "\ea19"; }
.icarus-terminal-fullscreen:before { content: "\ea1a"; }
.icarus-terminal-help:before { content: "\ea1b"; }
.icarus-terminal-info:before { content: "\ea1c"; }
.icarus-terminal-inventory:before { content: "\ea1d"; }
.icarus-terminal-location-filled:before { content: "\ea1e"; }
.icarus-terminal-location:before { content: "\ea1f"; }
.icarus-terminal-logo:before { content: "\ea20"; }
.icarus-terminal-materials-encoded:before { content: "\ea21"; }
.icarus-terminal-materials-grade-1:before { content: "\ea22"; }
.icarus-terminal-materials-grade-2:before { content: "\ea23"; }
.icarus-terminal-materials-grade-3:before { content: "\ea24"; }
.icarus-terminal-materials-grade-4:before { content: "\ea25"; }
.icarus-terminal-materials-grade-5:before { content: "\ea26"; }
.icarus-terminal-materials-manufactured:before { content: "\ea27"; }
.icarus-terminal-materials-raw:before { content: "\ea28"; }
.icarus-terminal-materials-xeno:before { content: "\ea29"; }
.icarus-terminal-materials:before { content: "\ea2a"; }
.icarus-terminal-megaship-lg:before { content: "\ea2b"; }
.icarus-terminal-megaship:before { content: "\ea2c"; }
.icarus-terminal-notifications-disabled:before { content: "\ea2d"; }
.icarus-terminal-notifications:before { content: "\ea2e"; }
.icarus-terminal-ocellus-starport:before { content: "\ea2f"; }
.icarus-terminal-orbis-starport:before { content: "\ea30"; }
.icarus-terminal-outpost:before { content: "\ea31"; }
.icarus-terminal-pin-window:before { content: "\ea32"; }
.icarus-terminal-planet-ammonia-based-life:before { content: "\ea33"; }
.icarus-terminal-planet-ammonia-world:before { content: "\ea34"; }
.icarus-terminal-planet-atmosphere-landable:before { content: "\ea35"; }
.icarus-terminal-planet-atmosphere:before { content: "\ea36"; }
.icarus-terminal-planet-earthlike:before { content: "\ea37"; }
.icarus-terminal-planet-empty:before { content: "\ea38"; }
.icarus-terminal-planet-gas-giant:before { content: "\ea39"; }
.icarus-terminal-planet-high-metal-content:before { content: "\ea3a"; }
.icarus-terminal-planet-high-value:before { content: "\ea3b"; }
.icarus-terminal-planet-landable:before { content: "\ea3c"; }
.icarus-terminal-planet-lander:before { content: "\ea3d"; }
.icarus-terminal-planet-life:before { content: "\ea3e"; }
.icarus-terminal-planet-ringed:before { content: "\ea3f"; }
.icarus-terminal-planet-terraformable:before { content: "\ea40"; }
.icarus-terminal-planet-volcanic:before { content: "\ea41"; }
.icarus-terminal-planet-water-based-life:before { content: "\ea42"; }
.icarus-terminal-planet-water-world:before { content: "\ea43"; }
.icarus-terminal-planet:before { content: "\ea44"; }
.icarus-terminal-planetary-port-large:before { content: "\ea45"; }
.icarus-terminal-planetary-port:before { content: "\ea46"; }
.icarus-terminal-plant:before { content: "\ea47"; }
.icarus-terminal-poi-empty:before { content: "\ea48"; }
.icarus-terminal-poi:before { content: "\ea49"; }
.icarus-terminal-power:before { content: "\ea4a"; }
.icarus-terminal-route:before { content: "\ea4b"; }
.icarus-terminal-scan:before { content: "\ea4c"; }
.icarus-terminal-search:before { content: "\ea4d"; }
.icarus-terminal-settings:before { content: "\ea4e"; }
.icarus-terminal-settlement:before { content: "\ea4f"; }
.icarus-terminal-shield:before { content: "\ea50"; }
.icarus-terminal-ship:before { content: "\ea51"; }
.icarus-terminal-signal:before { content: "\ea52"; }
.icarus-terminal-sound:before { content: "\ea53"; }
.icarus-terminal-star:before { content: "\ea54"; }
.icarus-terminal-sync:before { content: "\ea55"; }
.icarus-terminal-system-authority-solid:before { content: "\ea56"; }
.icarus-terminal-system-authority:before { content: "\ea57"; }
.icarus-terminal-system-bodies:before { content: "\ea58"; }
.icarus-terminal-system-orbits:before { content: "\ea59"; }
.icarus-terminal-table-index:before { content: "\ea5a"; }
.icarus-terminal-table-inspector:before { content: "\ea5b"; }
.icarus-terminal-table-rows:before { content: "\ea5c"; }
.icarus-terminal-triangle-up:before { content: "\ea5d"; }
.icarus-terminal-warning:before { content: "\ea5e"; }
.icarus-terminal-wrench:before { content: "\ea5f"; }
Binary file modified public/fonts/icarus-terminal/icarus-terminal.eot
Binary file not shown.
Loading

0 comments on commit 704c180

Please sign in to comment.