Skip to content

Commit

Permalink
feat: add changelog button
Browse files Browse the repository at this point in the history
  • Loading branch information
jog1t committed Sep 25, 2024
1 parent 3cdcb7e commit 6d227b7
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 7 deletions.
34 changes: 28 additions & 6 deletions apps/hub/src/components/header/header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -73,11 +73,11 @@ export function Header() {
<Flex direction="col" justify="end" gap="6">
<NavItem asChild>
<a
href="https://rivet.gg/docs"
href="https://rivet.gg/changelog"
target="_blank"
rel="noreferrer"
>
Docs
Changelog
</a>
</NavItem>
<NavItem asChild>
Expand All @@ -86,7 +86,16 @@ export function Header() {
target="_blank"
rel="noreferrer"
>
Support
Help
</a>
</NavItem>
<NavItem asChild>
<a
href="https://rivet.gg/docs"
target="_blank"
rel="noreferrer"
>
Docs
</a>
</NavItem>
</Flex>
Expand All @@ -107,13 +116,26 @@ export function Header() {
</nav>
<div className="gap-6 font-medium md:flex md:flex-row md:items-center md:gap-5 md:text-sm">
<CommandPanel />

<NavItem
asChild
className="hidden md:inline-block border px-4 py-2 rounded-md"
>
<Link search={{ modal: "feedback" }}>Feedback</Link>
</NavItem>
<NavItem asChild className="hidden md:inline-block">
<a href="https://rivet.gg/docs" target="_blank" rel="noreferrer">
Docs
<a
href="https://rivet.gg/changelog"
target="_blank"
rel="noreferrer"
>
Changelog
</a>
</NavItem>
<NavItem asChild className="hidden md:inline-block">
<Link search={{ modal: "feedback" }}>Feedback</Link>
<a href="https://rivet.gg/docs" target="_blank" rel="noreferrer">
Docs
</a>
</NavItem>
<UserProfileButton />
</div>
Expand Down
5 changes: 4 additions & 1 deletion apps/hub/src/forms/feedback-form.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,10 @@ export const Feedback = () => {
<FormItem>
<FormLabel>Feedback</FormLabel>
<FormControl>
<Textarea placeholder="Yo, it's amazing but..." {...field} />
<Textarea
placeholder="Write anything you want, report an issue, request a feature or just say hi!"
{...field}
/>
</FormControl>
<FormMessage />
</FormItem>
Expand Down

0 comments on commit 6d227b7

Please sign in to comment.