The choice for pulling HTML data instead of Wiki markup from Wiktionary was made because the markup content would have required a lot of code to expand the template data into user readable content.
		
			
				
	
	
		
			19 lines
		
	
	
		
			438 B
		
	
	
	
		
			TypeScript
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			19 lines
		
	
	
		
			438 B
		
	
	
	
		
			TypeScript
		
	
	
		
			Executable File
		
	
	
	
	
| import "../styles/globals.css";
 | |
| import "../styles/components.css";
 | |
| import "../styles/wiktionary.css";
 | |
| import type { AppProps } from "next/app";
 | |
| import { Navigation } from "../components";
 | |
| 
 | |
| export default function FlashCardApp({ Component, pageProps }: AppProps) {
 | |
|   return (
 | |
|     <div className="page">
 | |
|       <header>
 | |
|         <Navigation />
 | |
|       </header>
 | |
|       <main>
 | |
|         <Component {...pageProps} />
 | |
|       </main>
 | |
|     </div>
 | |
|   );
 | |
| }
 |