Five review fixes across both node UIs. 1. LND now uses the app-store icon. It was shipping its own 182KB lnd.svg while the app store, My Apps and the signed catalog all render neode-ui/public/assets/img/app-icons/lnd.png (catalog.json points at /assets/img/app-icons/lnd.png). Same file is now vendored into the image, so the app header, the launcher and the store agree. That icon is a full-bleed square with an opaque white background rather than a transparent glyph, so it fills the frame and is clipped to the inner radius — exactly how bitcoin-ui frames its own icon — instead of being inset with padding on a dark plate. 2. Header no longer squishes at tablet widths. Both headers had a single 768px breakpoint, so between 768 and 1024 the title and description got crushed against the controls on the right (four status cards on bitcoin-ui) and overlapped. Both now use three breakpoints: fully stacked and centred below 768, logo + title on one row with the controls wrapped underneath below 1024, single row above. The app name and description are centred on mobile. 3. QR codes stay square. .conn-layout is a flex row on desktop and flex items stretch by default, so the white QR plate was being pulled to the height of the fields column and the square QR sat letterboxed in it. The plate is now a fixed square inside a black glass panel that absorbs the extra height, so the panel matches the fields and the QR stays square. 4. Buttons read as one family. The Settings button and both modal dismiss buttons used the flat .glass-button while every other button on the page used .info-card-button; they now all use the latter, via new .compact (inline) and .icon-only (square) variants so the shared style works at button size rather than only as a full-width card. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
31 lines
1.1 KiB
Docker
31 lines
1.1 KiB
Docker
FROM git.tx1138.com/lfg2025/nginx:1.27.4-alpine
|
|
|
|
# Copy the HTML file
|
|
COPY index.html /usr/share/nginx/html/
|
|
COPY tailwind.css /usr/share/nginx/html/
|
|
COPY qrcode.js /usr/share/nginx/html/
|
|
|
|
# Create directories for assets
|
|
RUN mkdir -p /usr/share/nginx/html/assets/img/app-icons && \
|
|
mkdir -p /usr/share/nginx/html/assets/img
|
|
|
|
# Copy assets
|
|
# Canonical app icon — the same file the app store / My Apps renders
|
|
# (neode-ui/public/assets/img/app-icons/lnd.png, referenced by the signed
|
|
# catalog as /assets/img/app-icons/lnd.png). Keep these in sync.
|
|
COPY lnd.png /usr/share/nginx/html/assets/img/app-icons/
|
|
COPY bg-web5.jpg /usr/share/nginx/html/assets/img/
|
|
COPY bg-intro.jpg /usr/share/nginx/html/assets/img/
|
|
|
|
# Copy nginx config
|
|
COPY nginx.conf /etc/nginx/conf.d/default.conf
|
|
|
|
# Run nginx as root to avoid chown failures in rootless Podman user namespaces
|
|
RUN sed -i 's/^user nginx;/user root;/' /etc/nginx/nginx.conf && \
|
|
mkdir -p /var/cache/nginx/client_temp /var/cache/nginx/proxy_temp \
|
|
/var/cache/nginx/fastcgi_temp /var/cache/nginx/uwsgi_temp \
|
|
/var/cache/nginx/scgi_temp
|
|
EXPOSE 18083
|
|
ENTRYPOINT []
|
|
CMD ["nginx", "-g", "daemon off;"]
|