Skip to content

Commit

Permalink
Resize some assets.
Browse files Browse the repository at this point in the history
  • Loading branch information
amanzag committed Oct 18, 2024
1 parent c26000d commit 850fa3b
Show file tree
Hide file tree
Showing 6 changed files with 22 additions and 33 deletions.
2 changes: 1 addition & 1 deletion swap-frontend/src/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export const Header: Component = () => {
<img src={logo} style="height: 3rem"/>
</Navbar.Brand>
<Navbar.Toggle class="d-sm-block d-md-none" onClick={() => setShowOffCanvas(true)} />
<Nav class="justify-content-end gap-5 d-sm-none d-md-flex">
<Nav class="justify-content-end gap-5 d-none d-md-flex">
<NavLinks />
</Nav>
<Offcanvas show={showOffCanvas()} onHide={setShowOffCanvas(false)}>
Expand Down
4 changes: 2 additions & 2 deletions swap-frontend/src/SwapForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { Component, createEffect, createResource, createSignal, Show } from 'sol
import { Form } from 'solid-bootstrap';
import bitcoinLogo from '/assets/bitcoin-logo.svg';
import lightningLogo from '/assets/lightning-logo.svg';
import swapPlacesImg from '/assets/swap-places.svg';
import flipImg from '/assets/flip.png';
import { Asset, currencyFormat, SwapType } from './utils.js';
import { createStore } from 'solid-js/store';
import { decode } from 'bolt11';
Expand Down Expand Up @@ -218,7 +218,7 @@ export const SwapForm: Component = () => {
</div>
</div>
<div style="margin: auto -28px; z-index: 0" onClick={flipSwapType}>
<img style="height: 48px" src={swapPlacesImg} />
<img src={flipImg} />
</div>
<div class="bg-light d-flex flex-column p-4" style="flex: 1 1 0" id="right-side">
<div class="fw-medium">
Expand Down
1 change: 1 addition & 0 deletions swap-frontend/src/app.scss
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ $small-font-size: .80em;
background-position: center;
background-repeat: no-repeat;
min-height: 100vh;
padding-bottom: 60px;
}

.content {
Expand Down
29 changes: 18 additions & 11 deletions swap-frontend/src/assets/brand.svg
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 swap-frontend/src/assets/flip.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
19 changes: 0 additions & 19 deletions swap-frontend/src/assets/swap-places.svg

This file was deleted.

0 comments on commit 850fa3b

Please sign in to comment.