Skip to content

Commit fa441d9

Browse files
committed
Add comments for temporary redirects
1 parent abdc5f4 commit fa441d9

File tree

9 files changed

+9
-0
lines changed

9 files changed

+9
-0
lines changed

src/build/sitemap.mjs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ const sitemap = async () => {
1313
priority: 1,
1414
changefreq: 'daily',
1515
},
16+
// Temporarily disable pages while we work on them
1617
// {
1718
// url: '/participation',
1819
// lastmod: new Date().toISOString(),

src/pages/about.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -322,6 +322,7 @@ const About = () => {
322322
};
323323

324324
export const getStaticProps = async () => {
325+
// This page is not yet ready for public access, so we will return a 404
325326
const shouldRender404 = true;
326327

327328
if (shouldRender404) {

src/pages/auth.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,7 @@ const Auth = () => {
155155
};
156156

157157
export const getStaticProps = async () => {
158+
// This page is not yet ready for public access, so we will return a 404
158159
const shouldRender404 = true;
159160

160161
if (shouldRender404) {

src/pages/donate.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,7 @@ const Donate = ({ projects }) => {
182182
};
183183

184184
export const getStaticProps = async () => {
185+
// This page is not yet ready for public access, so we will return a 404
185186
const shouldRender404 = true;
186187

187188
if (shouldRender404) {

src/pages/events.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -224,6 +224,7 @@ const Events = () => {
224224
};
225225

226226
export const getStaticProps = async () => {
227+
// This page is not yet ready for public access, so we will return a 404
227228
const shouldRender404 = true;
228229

229230
if (shouldRender404) {

src/pages/participation.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -350,6 +350,7 @@ const Participation = () => {
350350
};
351351

352352
export const getStaticProps = async () => {
353+
// This page is not yet ready for public access, so we will return a 404
353354
const shouldRender404 = true;
354355

355356
if (shouldRender404) {

src/pages/profile.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,7 @@ const Profile = () => {
137137
};
138138

139139
export const getStaticProps = async () => {
140+
// This page is not yet ready for public access, so we will return a 404
140141
const shouldRender404 = true;
141142

142143
if (shouldRender404) {

src/pages/register.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,7 @@ const Register = () => {
114114
};
115115

116116
export const getStaticProps = async () => {
117+
// This page is not yet ready for public access, so we will return a 404
117118
const shouldRender404 = true;
118119

119120
if (shouldRender404) {

src/pages/report.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -225,6 +225,7 @@ const Report = () => {
225225
};
226226

227227
export const getStaticProps = async () => {
228+
// This page is not yet ready for public access, so we will return a 404
228229
const shouldRender404 = true;
229230

230231
if (shouldRender404) {

0 commit comments

Comments
 (0)