Skip to content

Commit

Permalink
Merge pull request #155 from vespa-engine/kkraune/link-to-doc
Browse files Browse the repository at this point in the history
Add link to documentation
  • Loading branch information
ldalves authored Aug 26, 2024
2 parents 1539a20 + ab33a3b commit e0236ef
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/App/libs/layout/header-logo.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export function HeaderLogo() {
const logo =
computedColorScheme === 'dark' ? VespaLogoHeather : VespaLogoBlack;
return (
<Link to="/">
<Link to="https://vespa.ai/">
<Image h={27} w="auto" src={logo} />
</Link>
);
Expand Down
23 changes: 18 additions & 5 deletions src/App/pages/home/index.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,25 @@
import React from 'react';
import { Container, Space } from '@mantine/core';
import { Container, Group, Space } from '@mantine/core';
import { SearchInput } from 'App/pages/search/search-input/index.js';
import { Icon } from 'App/components/index.js';
import { Link } from 'App/libs/router/index.js';

export function Home() {
return (
<Container w="100%" size="sm">
<Space h={144} />
<SearchInput size="lg" autofocus />
</Container>
<div>
<Container w="100%" size="sm">
<Space h={144} />
<SearchInput size="lg" autofocus />
</Container>
<Container>
<Space h={50} />
</Container>
<Link to="https://docs.vespa.ai">
<Group gap="xs" justify="center">
<Icon name="external-link" />
Browse documentation
</Group>
</Link>
</div>
);
}

0 comments on commit e0236ef

Please sign in to comment.