Skip to content

Commit

Permalink
feat: improve css, add examples
Browse files Browse the repository at this point in the history
  • Loading branch information
Draggie306 committed Oct 23, 2023
1 parent 6a8dfb2 commit 4326224
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
File renamed without changes
File renamed without changes
File renamed without changes
6 changes: 3 additions & 3 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ <h1 class="animated_rainbow_1">Word Cloud Generator</h1>
<p><br>This web interface was created for easy word cloud generation. Enter your words below.<br><br>You can separate your words with commas, spaces, or new lines.<br><br>Click generate to create your unique word cloud.<br>Customise dimensions for high-res images, or prefer faster generation.<br><br>Whether it's for educational purposes (such as a Geography A level NEA), creative projects, or data analysis, our word cloud generator has you covered.</p>
</p>
<h2>See examples below</h2>
<p>Wordcloud example 1: <a href="/lily">here</a></p>
<p>Wordcloud example 2: <a href="/chili">here</a></p>
<p>Wordcloud example 3: <a href="/riverside">here</a></p>
<p>Wordcloud example 1: <a href="/lily_cloud.png">here</a></p>
<p>Wordcloud example 2: <a href="/chili_cloud.png">here</a></p>
<p>Wordcloud example 3: <a href="/riverside_cloud.png">here</a></p>
<h2>Generate your own word cloud</h2>
<form>
<label for="data_text">Enter Words for Word Cloud:</label>
Expand Down
4 changes: 0 additions & 4 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,10 +117,6 @@ def generate_word_cloud():
"message": f"Error generating response: {e}\n\n{traceback.format_exc()}"
}), 500

@app.route("/lily")
def lily_cloud():

return

@app.route('/.git')
def go_away():
Expand Down
4 changes: 4 additions & 0 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ h1 {
text-align: center;
}

h2 {
text-align: center;
}

p {
text-align: center;
}
Expand Down

0 comments on commit 4326224

Please sign in to comment.