From 36472ea89e3dcc5daa88308ef85e775fe8822e64 Mon Sep 17 00:00:00 2001 From: koalasat Date: Wed, 18 Sep 2024 08:37:37 +0200 Subject: [PATCH] Django HTML generation --- frontend/templates/frontend/basic.html | 62 ------ .../frontend/{pro.html => index.ejs} | 14 +- frontend/webpack.config.ts | 103 ++++++---- package-lock.json | 192 ++++++++++++++++++ package.json | 3 + 5 files changed, 270 insertions(+), 104 deletions(-) delete mode 100644 frontend/templates/frontend/basic.html rename frontend/templates/frontend/{pro.html => index.ejs} (94%) diff --git a/frontend/templates/frontend/basic.html b/frontend/templates/frontend/basic.html deleted file mode 100644 index 97252982..00000000 --- a/frontend/templates/frontend/basic.html +++ /dev/null @@ -1,62 +0,0 @@ - - - - - - - - - - - - - - RoboSats - Simple and Private Bitcoin Exchange - {% load static %} - - - - - - - -
-
-
-
-
-
-
-
    -
  • -
    Looking for robot parts ...
    -
  • -
  • -
    Adding layers to the onion ...
    -
  • -
  • -
    Winning at game theory ...
    -
  • -
  • -
    Moving Sats at light speed ...
    -
  • -
  • -
    Hiding in 2^256 bits of entropy...
    -
  • -
-
-
-
-
-
- - - \ No newline at end of file diff --git a/frontend/templates/frontend/pro.html b/frontend/templates/frontend/index.ejs similarity index 94% rename from frontend/templates/frontend/pro.html rename to frontend/templates/frontend/index.ejs index c563837b..0536e8d4 100644 --- a/frontend/templates/frontend/pro.html +++ b/frontend/templates/frontend/index.ejs @@ -10,15 +10,21 @@ - + <% if (pro) { %> RoboSats PRO - Simple and Private Bitcoin Exchange - {% load static %} + + + + <% } else { %> + RoboSats - Simple and Private Bitcoin Exchange + + + <% } %> + {% load static %} - -