Moved pages
This commit is contained in:
		
							parent
							
								
									8b994ce249
								
							
						
					
					
						commit
						43af5b5686
					
				@ -21,6 +21,6 @@ func (a *AboutPage) Render() app.UI {
 | 
			
		||||
		Main(
 | 
			
		||||
			newHTMLBlock().
 | 
			
		||||
				Class("right").
 | 
			
		||||
				Src("/web/blocks/about.html"),
 | 
			
		||||
				Src("/web/blocks/pages/about.html"),
 | 
			
		||||
		)
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
@ -19,6 +19,6 @@ func (f *GalaxiesPage) Render() app.UI {
 | 
			
		||||
		Main(
 | 
			
		||||
			newHTMLBlock().
 | 
			
		||||
				Class("right").
 | 
			
		||||
				Src("/web/blocks/galaxies.html"),
 | 
			
		||||
				Src("/web/blocks/pages/galaxies.html"),
 | 
			
		||||
		)
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
@ -32,7 +32,7 @@ func (p *Homepage) Render() app.UI {
 | 
			
		||||
		Main(
 | 
			
		||||
			newHTMLBlock().
 | 
			
		||||
				Class("right").
 | 
			
		||||
				Src("/web/blocks/intro.html"),
 | 
			
		||||
				Src("/web/blocks/pages/intro.html"),
 | 
			
		||||
			&guestbookForm{
 | 
			
		||||
				OnSubmit: func(name, message string) {
 | 
			
		||||
					var comment entity.Comment
 | 
			
		||||
 | 
			
		||||
@ -261,4 +261,8 @@ div.comment-message p{
 | 
			
		||||
 | 
			
		||||
.fit { 
 | 
			
		||||
	width: fit-content;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.invisible {
 | 
			
		||||
	visibility: hidden;
 | 
			
		||||
}
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user