-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add blurb about OPENAI_BASE_URL to creation modal * Dedent * Remove invalid inherit prop * Add menu to main icon with links to GitHub, Issues, Slack * Set default popover shadow * Empty state for tasks drawer * Rename test file to test_wrapper
- Loading branch information
1 parent
2d57987
commit 0d9ad19
Showing
7 changed files
with
112 additions
and
52 deletions.
There are no files selected for viewing
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
import { Anchor, Group, Menu, Text, Tooltip } from '@mantine/core'; | ||
import { IconBeta, IconBrandGithub, IconBrandSlack, IconBug, IconHome, IconStack2Filled } from '@tabler/icons-react'; | ||
import { ExternalUrls } from '../lib/routes.ts'; | ||
|
||
export function MainMenu() { | ||
const iconProps = { size: 20, color: 'var(--mantine-color-kolena-light-color)' }; | ||
return ( | ||
<Menu> | ||
<Menu.Target> | ||
<Group gap={4}> | ||
<IconStack2Filled {...iconProps} /> | ||
<Text fw="bold" c="black"> | ||
AutoArena | ||
</Text> | ||
<Tooltip label="Beta Release" fz="xs"> | ||
<IconBeta size={14} color="var(--mantine-color-ice-8)" /> | ||
</Tooltip> | ||
</Group> | ||
</Menu.Target> | ||
|
||
<Menu.Dropdown> | ||
<Anchor href="/" underline="never"> | ||
<Menu.Item leftSection={<IconHome {...iconProps} />}>Home</Menu.Item> | ||
</Anchor> | ||
<Anchor href={ExternalUrls.AUTOARENA_GITHUB} underline="never" target="_blank"> | ||
<Menu.Item leftSection={<IconBrandGithub {...iconProps} />}>Repository</Menu.Item> | ||
</Anchor> | ||
<Anchor href={ExternalUrls.AUTOARENA_GITHUB_ISSUES} underline="never" target="_blank"> | ||
<Menu.Item leftSection={<IconBug {...iconProps} />}>Report a Bug</Menu.Item> | ||
</Anchor> | ||
<Anchor href={ExternalUrls.AUTOARENA_SLACK_COMMUNITY} underline="never" target="_blank"> | ||
<Menu.Item leftSection={<IconBrandSlack {...iconProps} />}>Slack Community</Menu.Item> | ||
</Anchor> | ||
</Menu.Dropdown> | ||
</Menu> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters