move reviews into global files
This commit is contained in:
		
							parent
							
								
									eef103fd9a
								
							
						
					
					
						commit
						1780a67e1f
					
				| @ -1,4 +0,0 @@ | |||||||
| #anmeldelser { |  | ||||||
|     display: flex; |  | ||||||
|     justify-content: center;     |  | ||||||
| } |  | ||||||
| @ -33,7 +33,7 @@ | |||||||
|             <div id="info"> |             <div id="info"> | ||||||
|                 <p id="zip-code">Postnummer ikke fundet</p> |                 <p id="zip-code">Postnummer ikke fundet</p> | ||||||
|                 <p id="mouse-position"></p> |                 <p id="mouse-position"></p> | ||||||
|                 <a href="/anmeldelser">anmeldelser</a> |                 <a href="reviews.html">Anmeldelser</a> | ||||||
|                 <p id="coords"></p> |                 <p id="coords"></p> | ||||||
|             </div> |             </div> | ||||||
|         </main> |         </main> | ||||||
|  | |||||||
| @ -1,6 +1,4 @@ | |||||||
| const reviewContainer = document.getElementById("review-container")! | const reviewContainer = document.getElementById("reviews-container")! | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| 
 | 
 | ||||||
| function addReview(location: string, title: string, content: string, stars: number, ) { | function addReview(location: string, title: string, content: string, stars: number, ) { | ||||||
|     const id = Math.random() * 1000000 |     const id = Math.random() * 1000000 | ||||||
|  | |||||||
| @ -219,3 +219,8 @@ code { | |||||||
|     } |     } | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
|  | #reviews-title { | ||||||
|  |     display: flex; | ||||||
|  |     justify-content: center; | ||||||
|  | } | ||||||
|  | 
 | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user