Skip to content

Commit

Permalink
feat(sessions): add beta pill to sessions page
Browse files Browse the repository at this point in the history
  • Loading branch information
use-tusk[bot] authored Aug 27, 2024
1 parent 256dc91 commit 04da148
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
2 changes: 1 addition & 1 deletion web/components/shared/authHeader.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import Link from "next/link";
import { ReactNode } from "react";

interface AuthHeaderProps {
title: string;
title: React.ReactNode;
breadcrumb?: {
title: string;
href: string;
Expand Down
10 changes: 8 additions & 2 deletions web/components/templates/sessions/sessionsPage.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { BookOpenIcon } from "@heroicons/react/24/outline";
import { Divider } from "@tremor/react";
import { Divider, Badge } from "@tremor/react";
import Link from "next/link";
import { useRouter } from "next/router";
import { useEffect, useState } from "react";
Expand Down Expand Up @@ -66,7 +66,13 @@ const SessionsPage = (props: SessionsPageProps) => {

return (
<>
<AuthHeader title={"Sessions (beta)"} />
<AuthHeader
title={
<div className="flex items-center gap-2">
Sessions <Badge size="sm">Beta</Badge>
</div>
}
/>
<div>
{hasSomeSessions || hasSomeSessions === null ? (
<Row className="gap-5 ">
Expand Down

0 comments on commit 04da148

Please sign in to comment.