Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit b5fe96e

Browse files
committed
Updates Vercel Deployments
1 parent f0a3452 commit b5fe96e

File tree

13 files changed

+105
-52
lines changed

13 files changed

+105
-52
lines changed

‎app.py‎

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,22 @@
1-
from app import app
1+
from flask import Flask, render_template
2+
3+
app = Flask(__name__)
4+
5+
@app.route('/')
6+
def home():
7+
return render_template('index.html')
8+
9+
@app.route('/about')
10+
def about():
11+
return render_template('about.html')
12+
13+
@app.route('/projects')
14+
def projects():
15+
return render_template('projects.html')
16+
17+
@app.route('/contact')
18+
def contact():
19+
return render_template('contact.html')
220

321
if __name__ == '__main__':
4-
app.run(debug=True)
22+
app.run(debug=True)

‎app/__init__.py‎

Lines changed: 0 additions & 5 deletions
This file was deleted.

‎app/routes.py‎

Lines changed: 0 additions & 14 deletions
This file was deleted.

‎app/static/css/style.css‎

Whitespace-only changes.

‎app/static/images/profile1.png‎

-5.85 MB
Binary file not shown.

‎app/templates/base.html‎

Lines changed: 0 additions & 20 deletions
This file was deleted.

‎app/templates/index.html‎

Lines changed: 0 additions & 9 deletions
This file was deleted.

‎requirements.txt‎

-2.24 KB
Binary file not shown.

‎templates/about.html‎

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="UTF-8" />
5+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
6+
<title>About Me</title>
7+
</head>
8+
<body>
9+
<h1>About Me</h1>
10+
<nav>
11+
<a href="/">Home</a>
12+
<a href="/about">About</a>
13+
<a href="/projects">Projects</a>
14+
<a href="/contact">Contact</a>
15+
</nav>
16+
<p>This is the about page.</p>
17+
</body>
18+
</html>

‎templates/contact.html‎

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="UTF-8" />
5+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
6+
<title>Contact</title>
7+
</head>
8+
<body>
9+
<h1>Contact Me</h1>
10+
<nav>
11+
<a href="/">Home</a>
12+
<a href="/about">About</a>
13+
<a href="/projects">Projects</a>
14+
<a href="/contact">Contact</a>
15+
</nav>
16+
<p>This is the contact page.</p>
17+
</body>
18+
</html>

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /