Spaces:
Sleeping
Sleeping
PandaArtStation
commited on
Commit
•
afaf528
1
Parent(s):
63fd3e6
Create main.py
Browse files
main.py
ADDED
@@ -0,0 +1,26 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
from flask import Flask, render_template
|
2 |
+
|
3 |
+
app = Flask(__name__)
|
4 |
+
|
5 |
+
@app.route('/')
|
6 |
+
def index():
|
7 |
+
return render_template('index.html')
|
8 |
+
|
9 |
+
@app.route('/about')
|
10 |
+
def about():
|
11 |
+
return render_template('about.html')
|
12 |
+
|
13 |
+
@app.route('/services')
|
14 |
+
def services():
|
15 |
+
return render_template('services.html')
|
16 |
+
|
17 |
+
@app.route('/portfolio')
|
18 |
+
def portfolio():
|
19 |
+
return render_template('portfolio.html')
|
20 |
+
|
21 |
+
@app.route('/contact')
|
22 |
+
def contact():
|
23 |
+
return render_template('contact.html')
|
24 |
+
|
25 |
+
if __name__ == '__main__':
|
26 |
+
app.run()
|