Skip to content

Commit 5403558

Browse files
Merge pull request #334 from DemocracyLab/homepage_sitemap
Sitemap: Add Home page and remove Find Projects splash page
2 parents 57bf7f6 + c091f3d commit 5403558

File tree

3 files changed

+10
-2
lines changed

3 files changed

+10
-2
lines changed

civictechprojects/sitemaps.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ class SectionSitemap(Sitemap):
1111
# TODO: Update this date for each release
1212
lastmod = settings.SITE_LAST_UPDATED
1313
pages = [
14+
str(FrontEndSection.Home.value),
1415
str(FrontEndSection.AboutUs.value),
1516
str(FrontEndSection.FindProjects.value),
16-
str(FrontEndSection.FindProjects.value) + '&showSplash=1',
1717
str(FrontEndSection.PartnerWithUs.value),
1818
str(FrontEndSection.Donate.value),
1919
str(FrontEndSection.Press.value),

common/components/enums/Section.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ const Section = {
77
FindProjects: 'FindProjects',
88
MyProjects: 'MyProjects',
99
Profile: 'Profile',
10-
Inbox: 'Inbox',
1110
SignUp: 'SignUp',
1211
LogIn: 'LogIn',
1312
ResetPassword: 'ResetPassword',

common/helpers/constants.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,3 +26,12 @@ class FrontEndSection(Enum):
2626
Donate = 'Donate'
2727
Press = 'Press'
2828
ContactUs = 'ContactUs'
29+
Home = "Home"
30+
CreateProject = 'CreateProject'
31+
EditProject = 'EditProject'
32+
MyProjects = 'MyProjects'
33+
Profile = 'Profile'
34+
SignUp = 'SignUp'
35+
EditProfile = 'EditProfile'
36+
ThankYou = 'ThankYou'
37+
EmailVerified = 'EmailVerified'

0 commit comments

Comments
 (0)