File tree 2 files changed +0
-17
lines changed
website/app/routes/_layout._index
2 files changed +0
-17
lines changed Original file line number Diff line number Diff line change 1
1
[
2
- [" test.docs.page" , " invertase/docs.page" ],
3
2
[" use.docs.page" , " invertase/docs.page" ],
4
3
[" docs.globe.dev" , " invertase/globe" ],
5
4
[" docs.turing.sh" , " TuringAI-Team/turing-ai-api" ],
Original file line number Diff line number Diff line change @@ -9,25 +9,9 @@ import { Features } from "./Features";
9
9
import { Hero } from "./Hero" ;
10
10
import { Platform } from "./Platform" ;
11
11
12
- import { loader as docsRouteLoader } from "~/routes/$/route" ;
13
- import { LoaderFunctionArgs } from "@vercel/remix" ;
14
-
15
12
export const links = getLinkDescriptors ;
16
13
export const meta = getMetadata ;
17
14
18
- export const loader = async ( args : LoaderFunctionArgs ) => {
19
- const url = new URL ( args . request . url ) ;
20
-
21
- console . log ( 'URL HOSTNAME' , url . hostname ) ;
22
-
23
- // If url hostname is not docs.page or staging.docs.page, we need to return the docsRouteLoader
24
- if ( ! [ "docs.page" , "staging.docs.page" ] . includes ( url . hostname ) ) {
25
- return docsRouteLoader ( args ) ;
26
- }
27
-
28
- return { } ;
29
- } ;
30
-
31
15
export default function Homepage ( ) {
32
16
return (
33
17
< >
You can’t perform that action at this time.
0 commit comments