feat: 404 page emitter
This commit is contained in:
		
							parent
							
								
									2d52eba413
								
							
						
					
					
						commit
						8d6029b7b8
					
				
					 7 changed files with 75 additions and 4 deletions
				
			
		
							
								
								
									
										12
									
								
								quartz/components/pages/404.tsx
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										12
									
								
								quartz/components/pages/404.tsx
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,12 @@
 | 
			
		|||
import { QuartzComponentConstructor } from "../types"
 | 
			
		||||
 | 
			
		||||
function NotFound() {
 | 
			
		||||
  return (
 | 
			
		||||
    <article class="popover-hint">
 | 
			
		||||
      <h1>404</h1>
 | 
			
		||||
      <p>Either this page is private or doesn't exist.</p>
 | 
			
		||||
    </article>
 | 
			
		||||
  )
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
export default (() => NotFound) satisfies QuartzComponentConstructor
 | 
			
		||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue