Skip to content

Commit

Permalink
fix redirects
Browse files Browse the repository at this point in the history
  • Loading branch information
ronithgan committed Aug 31, 2024
1 parent 99d3c73 commit f7392fb
Show file tree
Hide file tree
Showing 9 changed files with 134 additions and 2 deletions.
10 changes: 10 additions & 0 deletions about.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="refresh" content="0;url=/about" />
</head>
<body>
<!-- If meta redirect fails, provide a link -->
<p>If you are not redirected, <a href="/about">click here</a>.</p>
</body>
</html>
65 changes: 65 additions & 0 deletions build/privacy_policy/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="icon" href="/favicon.png"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><meta name="description" content="Web site created using create-react-app"/><link rel="apple-touch-icon" href="/favicon.png"/><link rel="manifest" href="/manifest.json"/><title>Kappa Theta Pi</title><script defer="defer" src="/static/js/main.344c02af.js"></script><link href="/static/css/main.3d03898f.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div></body></html>
<!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="icon" href="/favicon.png"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><meta name="description" content="We’re the University of Michigan’s premier technology fraternity. Founded as the first KTP chapter, we're dedicated to uniting students across the nation for the love of technology"/><link rel="apple-touch-icon" href="/favicon.png"/><link rel="manifest" href="/manifest.json"/><title>Kappa Theta Pi</title><script>"/index.html"===window.location.pathname&&window.location.replace("/")</script><script defer="defer" src="/static/js/main.344c02af.js"></script><link href="/static/css/main.3d03898f.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div></body></html>
10 changes: 10 additions & 0 deletions members.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="refresh" content="0;url=/members" />
</head>
<body>
<!-- If meta redirect fails, provide a link -->
<p>If you are not redirected, <a href="/members">click here</a>.</p>
</body>
</html>
10 changes: 10 additions & 0 deletions public/about.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="refresh" content="0;url=/about" />
</head>
<body>
<!-- If meta redirect fails, provide a link -->
<p>If you are not redirected, <a href="/about">click here</a>.</p>
</body>
</html>
9 changes: 8 additions & 1 deletion public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<meta name="theme-color" content="#000000" />
<meta
name="description"
content="Web site created using create-react-app"
content="We’re the University of Michigan’s premier technology fraternity. Founded as the first KTP chapter, we're dedicated to uniting students across the nation for the love of technology"
/>
<link rel="apple-touch-icon" href="%PUBLIC_URL%/favicon.png" />
<!--
Expand All @@ -25,6 +25,11 @@
Learn how to configure a non-root public URL by running `npm run build`.
-->
<title>Kappa Theta Pi</title>
<script>
if (window.location.pathname === "/index.html") {
window.location.replace("/");
}
</script>
</head>
<body>
<noscript>You need to enable JavaScript to run this app.</noscript>
Expand All @@ -41,3 +46,5 @@
-->
</body>
</html>


10 changes: 10 additions & 0 deletions public/members.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="refresh" content="0;url=/members" />
</head>
<body>
<!-- If meta redirect fails, provide a link -->
<p>If you are not redirected, <a href="/members">click here</a>.</p>
</body>
</html>
10 changes: 10 additions & 0 deletions public/rush.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="refresh" content="0;url=/rush" />
</head>
<body>
<!-- If meta redirect fails, provide a link -->
<p>If you are not redirected, <a href="/rush">click here</a>.</p>
</body>
</html>
10 changes: 10 additions & 0 deletions rush.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="refresh" content="0;url=/rush" />
</head>
<body>
<!-- If meta redirect fails, provide a link -->
<p>If you are not redirected, <a href="/rush">click here</a>.</p>
</body>
</html>

0 comments on commit f7392fb

Please sign in to comment.