Skip to content

Commit

Permalink
Link to documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
ldalves committed Aug 26, 2024
1 parent 7796616 commit ab33a3b
Showing 1 changed file with 8 additions and 14 deletions.
22 changes: 8 additions & 14 deletions src/App/pages/home/index.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
import React from 'react';
import { Anchor, Container, Group, 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 (
Expand All @@ -13,19 +14,12 @@ export function Home() {
<Container>
<Space h={50} />
</Container>
{/* eslint-disable-next-line no-undef */}
<div style={{ margin: 'auto', width: '50%' }}>
<Anchor
href={'https://docs.vespa.ai/'}
//size={isMobile ? 'xs' : 'sm'} we should fix this, too
target="_blank"
>
<Group gap="xs">
<Icon name="external-link" />
Browse documentation
</Group>
</Anchor>
</div>
<Link to="https://docs.vespa.ai">
<Group gap="xs" justify="center">
<Icon name="external-link" />
Browse documentation
</Group>
</Link>
</div>
);
}

0 comments on commit ab33a3b

Please sign in to comment.