mirror of
				https://github.com/bartvdbraak/hellob.art.git
				synced 2025-10-31 12:19:10 +00:00 
			
		
		
		
	refactor: distinctive re-use of site header and navbar rename
This commit is contained in:
		
							parent
							
								
									3bb7737625
								
							
						
					
					
						commit
						f9dfaa2fd2
					
				
					 13 changed files with 188 additions and 179 deletions
				
			
		|  | @ -1,17 +1,14 @@ | |||
| <script lang="ts"> | ||||
| 	import * as PageHeader from '$lib/components/site/page-header'; | ||||
| 	import { Timeline } from '$lib/components/site/timeline'; | ||||
| 	import { page } from '$app/stores'; | ||||
| 	import { SiteHeader } from '$lib/components/site'; | ||||
| 
 | ||||
| 	$: title = $page.data.title; | ||||
| 	$: subTitle = $page.data.subTitle; | ||||
| </script> | ||||
| 
 | ||||
| <div class="container relative max-w-[980px]"> | ||||
| 	<PageHeader.Root class="pb-8"> | ||||
| 		<PageHeader.Heading>Experiences through time</PageHeader.Heading> | ||||
| 		<PageHeader.Description> | ||||
| 			Achievements in my education, career and personal life. | ||||
| 		</PageHeader.Description> | ||||
| 	</PageHeader.Root> | ||||
| <SiteHeader {title} {subTitle} /> | ||||
| 
 | ||||
| 	<section> | ||||
| 		<Timeline /> | ||||
| 	</section> | ||||
| </div> | ||||
| <section> | ||||
| 	<Timeline /> | ||||
| </section> | ||||
|  |  | |||
|  | @ -1,6 +1,8 @@ | |||
| /** @type {import('./$types').PageLoad} */ | ||||
| export function load() { | ||||
| 	return { | ||||
| 		title: `Timeline` | ||||
| 		name: `Timeline`, | ||||
| 		title: `Experiences through time`, | ||||
| 		subTitle: `Achievements in my education, career and personal life.` | ||||
| 	}; | ||||
| } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue