Revert “move the screenshot into the web app”
- ID
19924b6- date
2022-05-07 09:38:09+00:00- author
Alex Chan <alex@alexwlchan.net>- parent
a0f3d00- message
Revert "move the screenshot into the web app" a0f3d00518d71b72ad56ae5cd1873cb78f1752d4- changed files
3 files, 1 addition, 7 deletions
Changed files
webapp/README.md (1305) → webapp/README.md (1298)
diff --git a/webapp/README.md b/webapp/README.md
index 03359bd..c7bd61f 100644
--- a/webapp/README.md
+++ b/webapp/README.md
@@ -2,7 +2,7 @@
This is a web version of [dominant_colours], which is available at <https://dominant-colours.glitch.me/>
-<img src="static/screenshot_wide.png" alt="A screenshot of the web app. It says 'find the dominant colours in an image' in bold letters at the top, then an illustration of two people in a Chinese dragon costume. On the right hand side are the dominant colours from that image: brown, blue, red and yellow, along with hex codes. At the bottom is a red-coloured link 'try another image'.">
+<img src="screenshot_wide.png" alt="A screenshot of the web app. It says 'find the dominant colours in an image' in bold letters at the top, then an illustration of two people in a Chinese dragon costume. On the right hand side are the dominant colours from that image: brown, blue, red and yellow, along with hex codes. At the bottom is a red-coloured link 'try another image'.">
It's not meant to replace the command-line tool -- it won't get all the options, and uploading the image over HTTP means it's a lot slower.
It's meant to be a quick replacement when I don't have easy access to a command line, e.g. when I'm on my phone.
webapp/static/screenshot_wide.png (1703237) → webapp/screenshot_wide.png (1703237)
diff --git a/webapp/static/screenshot_wide.png b/webapp/screenshot_wide.png
similarity index 100%
rename from webapp/static/screenshot_wide.png
rename to webapp/screenshot_wide.png
Binary files a/webapp/static/screenshot_wide.png and b/webapp/screenshot_wide.png differ
webapp/templates/base.html (1457) → webapp/templates/base.html (1082)
diff --git a/webapp/templates/base.html b/webapp/templates/base.html
index 7eeecbb..df820da 100644
--- a/webapp/templates/base.html
+++ b/webapp/templates/base.html
@@ -6,12 +6,6 @@
<link rel="stylesheet" href="/static/style.css">
- <meta name="twitter:card" content="summary_large_image">
- <meta name="twitter:site" content="dominant_colours" />
- <meta name="twitter:title" content="dominant_colours" />
- <meta name="twitter:description" content="Find the dominant colours in an image">
- <meta name="twitter:image" content="https://dominant-colours.glitch.me/static/screenshot_wide.png" />
-
<title>dominant colours</title>
</head>
<body>