Skip to content

Commit 9da919f

Browse files
SalleeMatthewsmile0711
authored andcommitted
Adding links to constitution
Adding links to constitution to home page, login page, and immigration page.
1 parent 171131a commit 9da919f

5 files changed

Lines changed: 16 additions & 1 deletion

File tree

spa/src/main.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ router.beforeEach((to, from, next) => {
109109
}
110110

111111
if (!["login", "logout", "signup", "forgot", "password_reset",
112-
"about", "privacypolicy", "rulesandregulations", "banned"]
112+
"about", "privacypolicy", "rulesandregulations", "constitution", "banned"]
113113
.includes(to.name)) {
114114
api.get<{
115115
user: User,

spa/src/pages/Constitution.vue

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -291,6 +291,8 @@
291291
</div>
292292
<h2>Section One - Expected Behaviour</h2>
293293
<br />
294+
<p class="p-5">Be nice, don't be an idiot.</p>
295+
<br />
294296
<h5>1: Chat</h5>
295297
<div class="p-5">
296298
<p>Cybertown Revival is a family friendly site. We have many people who come together from across the globe to

spa/src/pages/HomePage.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -275,6 +275,7 @@
275275
<div class="flex justify-center">
276276
<h3 class="p-2"><router-link to="/privacypolicy"> Privacy Policy </router-link></h3>
277277
<h3 class="p-2"><router-link to="/rulesandregulations"> Rules and Regulations </router-link></h3>
278+
<h3 class="p-2"><router-link to="/constitution"> Constitution </router-link></h3>
278279
</div>
279280
<h2><router-link to="/about">About Cybertown Revival</router-link></h2>
280281
<br/>

spa/src/pages/LoginPage.vue

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,12 @@
141141
<p>
142142
<strong>Immigration or Login Problems?</strong> Check the
143143
<a href="" target="_self">Quick Help</a>!<br /><br />
144+
<div class="flex justify-center">
145+
<h3 class="p-2"><router-link to="/privacypolicy"> Privacy Policy </router-link></h3>
146+
<h3 class="p-2"><router-link to="/rulesandregulations"> Rules and Regulations </router-link></h3>
147+
<h3 class="p-2"><router-link to="/constitution"> Constitution </router-link></h3>
148+
</div>
149+
<br />
144150
<font size="+1" color="#FFFF00">
145151
<strong>Please note:</strong> to enter the site your browser must accept
146152
cookies.

spa/src/pages/SignupPage.vue

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,12 @@
2525
<router-link to="/login">Click here to login.</router-link>
2626
</p>
2727
<div align="center" v-if="!showSuccess">
28+
<div class="flex justify-center">
29+
<h3 class="p-2"><router-link to="/privacypolicy"> Privacy Policy </router-link></h3>
30+
<h3 class="p-2"><router-link to="/rulesandregulations"> Rules and Regulations </router-link></h3>
31+
<h3 class="p-2"><router-link to="/constitution"> Constitution </router-link></h3>
32+
</div>
33+
2834
<br />
2935
<font color="#ffff00">*** These fields are mandatory!</font>
3036
<font color="red" size="+1"></font>

0 commit comments

Comments
 (0)