Skip to content
Snippets Groups Projects
Commit e6d2b312 authored by Finlay White's avatar Finlay White :speech_balloon:
Browse files

social

parent c7a24ff9
No related branches found
No related tags found
No related merge requests found
......@@ -19,13 +19,14 @@ def increment():
views += 1
with open('views.json','w') as f:
json.dump(views,f)
return views
@app.route('/')
def gohome():
return redirect('home')
@app.route('/home')
def home():
increment()
return render_template('home.html')
x = increment()
return render_template('home.html',view=x)
@app.route('/plushies')
def plushies():
if request.method =='GET':
......
......@@ -40,11 +40,16 @@ h2 {
color: transparent;
}
.socialbutton {
width: 3em;
height: 3em;
cursor: pointer;
width: 25px;
height: 25px;
}
button{
border: none;
cursor: pointer;
appearance: none;
}
td th {
padding-right: 20px;
cursor: pointer;
}
\ No newline at end of file
static/img/discord.png

10.1 KiB

static/img/reddit.png

32 KiB

{%extends 'template2.html'%}
{%block homepage %}
<title>hOwOme</title>
<div class="container bg-light">
<div class="container-md">
<h1> Hiiiiiiiiiiiiiii </h1>
<h1>Welcome to my website </h1>
<h1>Its still under construction </h1>
<h1>sorry </h1>
<h1>This website has {{view}} views</h1>
<img src="static/img/Adachi.png">
</div>
......
{%extends 'template2.html'%}
{%block homepage %}
<title>Plushies:3</title>
<div class="container bg-light">
<div class="container-md">
{%for cuddle in plosh %}
......
......@@ -7,7 +7,7 @@
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.4.1/dist/css/bootstrap.min.css" integrity="sha384-Vkoo8x4CGsO3+Hhxv8T/Q5PaXtkKtu6ug5TOeNV6gBiFeWPGFN9MuhOf23Q9Ifjh" crossorigin="anonymous">
<link rel="stylesheet" href="/static/css/style.css">
<title>hOwOme</title>
<link rel="shortcut icon" type="image/png" href="img/Adachi.png"/>
......@@ -52,20 +52,24 @@
<!-- bg-green -->
<section class="footer">
<div class="container">
<h1> Socials :3</h1>
<div class="col mt-4 mb-3">
<br>
</div>
<div class="col-md-6">
<button onclick="window.open('https://twitter.com/elliemoding')"><img class="socialbutton" src="static/img/twitter.png"></button>
<button onclick="window.open('https://github.com/HSTSellie')"><img class="socialbutton" src="static/img/github.png"></button>
<button onclick="window.open('https://www.reddit.com/user/pillarstar5')"><img class="socialbutton" src="static/img/twitter.png"></button>
<table height = "20" style="padding: 20px;">
<td style="padding: 20px;">
<a onclick="window.open('https://twitter.com/elliemoding')"><img class="socialbutton" src="static/img/twitter.png"> <h1 style="cursor:pointer">@elliemoding </h1></a></div>
</td>
<td style="padding: 20px;">
<a onclick="window.open('https://github.com/HSTSellie')"><img class="socialbutton" src="static/img/github.png"><h1 style ="cursor: pointer;"> HSTSellie </h1></a></div>
</td>
<td style="padding: 20px;">
<a onclick="window.open('https://www.reddit.com/user/pillarstar5')"><img class="socialbutton" src="static/img/reddit.png"><h1 style="cursor: pointer;"> u/pillarstar5 </h1></a>
</td>
</div>
<td style="padding: 20px;">
<a onclick="window.open('https://discord.gg/user/Elliex3#6275')"><img class="socialbutton" src="static/img/discord.png"><h1 style="cursor: pointer;"> Elliex3#6275 </h1></a>
</td>
</table>
</div>
</section>
{%endblock%}
</html>
\ No newline at end of file
</html>
220
\ No newline at end of file
235
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment