Skip to content

Commit e637f3d

Browse files
committed
Moved projects from /project routes to projects.isaacrutter.dev subdomain
1 parent d9e2f65 commit e637f3d

File tree

2 files changed

+8
-34
lines changed

2 files changed

+8
-34
lines changed

templates/homepage.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ <h2>Calculator</h2>
5959
<div>
6060
<p>This is a basic calculator which I developed to learn HTML, CSS, and JavaScript.</p>
6161
<div class="buttons">
62-
<a href="/calculator/"><button>Project Demo</button></a>
62+
<a href="https://projects.isaacrutter.dev/calculator/"><button>Project Demo</button></a>
6363
<a href="https://github.com/saacutter/Calculator"><button>Source Code</button></a>
6464
</div>
6565
</div>
@@ -69,7 +69,7 @@ <h2>Grade Calculator</h2>
6969
<div>
7070
<p>This is a caluclator that can be used to calculate grades of courses, including the final grade required in order to achieve a certain final grade.</p>
7171
<div class="buttons">
72-
<a href="/grades/"><button>Project Demo</button></a>
72+
<a href="https://projects.isaacrutter.dev/grades/"><button>Project Demo</button></a>
7373
<a href="https://github.com/saacutter/Grade-Calculator"><button>Source Code</button></a>
7474
</div>
7575
</div>

vercel.json

Lines changed: 6 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -2,37 +2,11 @@
22
"$schema": "https://openapi.vercel.sh/vercel.json",
33
"routes": [
44
{"handle": "filesystem"},
5-
{
6-
"src": "^/games/$",
7-
"dest": "/Projects/Games/menu.html"
8-
},
9-
{
10-
"src": "^/games/(.*)/$",
11-
"dest": "/Projects/Games/$1/index.html"
12-
},
13-
{
14-
"src": "^/games/(.*)/(.*)$",
15-
"dest": "/Projects/Games/$1/$2"
16-
},
17-
{
18-
"src": "^/calculator/(.*)$",
19-
"dest": "https://calculator-two-rho-59.vercel.app/$1"
20-
},
21-
{
22-
"src": "^/grades/(.*)$",
23-
"dest": "https://grade-calculator-two-lime.vercel.app/$1"
24-
},
25-
{
26-
"src": "^/([0-9]{4})/([0-9]{2})/([0-9]{2})/(.*)/(.*\\..*)$",
27-
"dest": "/blog/$1/$2/$3/$4/$5"
28-
},
29-
{
30-
"src": "^/([0-9]{4})/([0-9]{2})/([0-9]{2})/(.*)/$",
31-
"dest": "/blog/$1/$2/$3/$4/$4.html"
32-
},
33-
{
34-
"src": "/(.*)",
35-
"dest": "/"
36-
}
5+
{"src": "^/games/$", "dest": "/Projects/Games/menu.html"},
6+
{"src": "^/games/(.*)/$", "dest": "/Projects/Games/$1/index.html"},
7+
{"src": "^/games/(.*)/(.*)$", "dest": "/Projects/Games/$1/$2"},
8+
{"src": "^/([0-9]{4})/([0-9]{2})/([0-9]{2})/(.*)/(.*\\..*)$", "dest": "/blog/$1/$2/$3/$4/$5"},
9+
{"src": "^/([0-9]{4})/([0-9]{2})/([0-9]{2})/(.*)/$", "dest": "/blog/$1/$2/$3/$4/$4.html"},
10+
{"src": "/(.*)", "dest": "/?view=home"}
3711
]
3812
}

0 commit comments

Comments
 (0)