File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 9797 <Icon name ="home" size ={20 } />
9898 <span class =" action-label" >Home</span >
9999 </a >
100- <a href ={ packages .pathsim .docs } class =" action-card" >
100+ <a href =" { base } / { packages .pathsim .docs }" class =" action-card" >
101101 <Icon name ="zap" size ={20 } />
102102 <span class =" action-label" >Get Started</span >
103103 </a >
Original file line number Diff line number Diff line change 1+ import { redirect } from '@sveltejs/kit' ;
2+ import { base } from '$app/paths' ;
3+ import type { PageLoad } from './$types' ;
4+
5+ export const load : PageLoad = async ( { parent } ) => {
6+ const { selectedTag } = await parent ( ) ;
7+ throw redirect ( 307 , `${ base } /pathsim/${ selectedTag } /api` ) ;
8+ } ;
Original file line number Diff line number Diff line change 1+ import { redirect } from '@sveltejs/kit' ;
2+ import { base } from '$app/paths' ;
3+ import type { PageLoad } from './$types' ;
4+
5+ export const load : PageLoad = async ( { parent } ) => {
6+ const { selectedTag } = await parent ( ) ;
7+ throw redirect ( 307 , `${ base } /pathsim/${ selectedTag } /examples` ) ;
8+ } ;
You can’t perform that action at this time.
0 commit comments