浏览代码

Remove Sponsors Page and Closes #40, #41

Yoginth 6 年之前
父节点
当前提交
50e23873bd
共有 4 个文件被更改,包括 0 次插入94 次删除
  1. 0 30
      routes/pages/pages.go
  2. 0 10
      templates/pages/makers.tmpl
  3. 0 10
      templates/pages/sponsors.tmpl
  4. 0 44
      templates/pages/sponsorship.tmpl

+ 0 - 30
routes/pages/pages.go

@@ -38,17 +38,8 @@ const (
 	// VerifiedTPL page template
 	VerifiedTPL = "pages/verified"
 
-	// MakersTPL page template
-	MakersTPL = "pages/makers"
-
 	// HelpTPL page template
 	HelpTPL = "pages/help"
-
-	// SponsorshipTPL page template
-	SponsorshipTPL = "pages/sponsorship"
-
-	// SponsorsTPL page template
-	SponsorsTPL = "pages/sponsors"
 )
 
 // About shows about page
@@ -108,13 +99,6 @@ func Verified(c *context.Context) {
 	c.HTML(200, VerifiedTPL)
 }
 
-// Makers shows maker page
-func Makers(c *context.Context) {
-	c.Data["Title"] = "Makers"
-
-	c.HTML(200, MakersTPL)
-}
-
 // Help shows help page
 func Help(c *context.Context) {
 	c.Data["Title"] = "Help"
@@ -129,17 +113,3 @@ func Contact(c *context.Context) {
 
 	c.HTML(200, ContactTPL)
 }
-
-// Sponsorship shows sponsorship page
-func Sponsorship(c *context.Context) {
-	c.Data["Title"] = "Sponsorship"
-
-	c.HTML(200, SponsorshipTPL)
-}
-
-// Sponsors shows sponsorship page
-func Sponsors(c *context.Context) {
-	c.Data["Title"] = "Sponsorship"
-
-	c.HTML(200, SponsorsTPL)
-}

+ 0 - 10
templates/pages/makers.tmpl

@@ -1,10 +0,0 @@
-<div class="pages bg">
-    {{template "base/head" .}}
-    <div class="pages head">
-        <p class="text">Gitote Makers</p>
-    </div>
-    <div class="pages body">
-        {{template "misc/soon" .}}
-    </div>
-    {{template "base/footer" .}}
-</div>

+ 0 - 10
templates/pages/sponsors.tmpl

@@ -1,10 +0,0 @@
-<div class="pages bg">
-    {{template "base/head" .}}
-    <div class="pages head">
-        <p class="text">Gitote Features</p>
-    </div>
-    <div class="pages body">
-        {{template "misc/soon" .}}
-    </div>
-    {{template "base/footer" .}}
-</div>

+ 0 - 44
templates/pages/sponsorship.tmpl

@@ -1,44 +0,0 @@
-<div class="pages bg">
-    {{template "base/head" .}}
-    <div class="pages head">
-        <p class="text">Sponsorship Information</p>
-    </div>
-    <div class="pages body">
-        <h2 class="pages-heading">Who do you work with?</h2>
-    
-        <p class="pages-small">
-            We work with great developer-focused companies that are interested in 
-            supporting the Gitote. These sponsors are financially supporting 
-            our operations and will receive acknowledgment with on-site display units, 
-            and recognition posts.
-        </p>
-        
-        <h2 class="pages-heading">Do you have an "ethical advertising" policy?</h2>
-    
-        <p class="pages-small">
-            Yes! So nice of you to ask. In order to ensure your privacy (and the 
-            site’s performance), it is our policy to host all images ourselves and 
-            don’t allow any third-party tracking scripts. We don’t track you or sell 
-            your data. Sponsorships are for the benefit of the community.
-        </p>
-        
-        <h2 class="pages-heading">What if I don’t want to see these sponsorship units?</h2>
-    
-        <p class="pages-small">
-            You may opt-out of seeing sponsorship displays <a href="{{AppURL}}user/settings">in your settings</a>.
-        </p>
-        
-        <h2 class="pages-heading">How can my company become a sponsor?</h2>
-    
-        <p class="pages-small">
-            Email yo@gitote.in for more information.
-        </p>
-        
-        <h2 class="pages-heading">What if I have other questions?</h2>
-    
-        <p class="pages-small">
-            Please send an email to yo@gitote.in.
-        </p>
-    </div>
-    {{template "base/footer" .}}
-</div>