File tree Expand file tree Collapse file tree 6 files changed +18
-18
lines changed
file-manager/components/layout Expand file tree Collapse file tree 6 files changed +18
-18
lines changed Original file line number Diff line number Diff line change @@ -79,7 +79,8 @@ export default function ContainersPage() {
7979 < PageLayout maxWidth = "6xl" padding = "md" spacing = "lg" className = "relative z-10" >
8080 < div className = "flex items-center justify-between mb-6 flex-wrap gap-4" >
8181 < span >
82- < TypographyH1 className = "text-2xl font-bold" > { t ( 'containers.title' ) } </ TypographyH1 >
82+ < TypographyH1 > { t ( 'containers.title' ) } </ TypographyH1 >
83+ < TypographyMuted > { t ( 'containers.description' ) } </ TypographyMuted >
8384 </ span >
8485 < div className = "flex items-center gap-2 flex-wrap" >
8586 < Button
Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ import { Button } from '@/components/ui/button';
66import { ExternalLink } from 'lucide-react' ;
77import { Skeleton } from '@/components/ui/skeleton' ;
88import Image from 'next/image' ;
9+ import { TypographyH1 , TypographyMuted } from '@/components/ui/typography' ;
910
1011interface ExtensionsHeroProps {
1112 isLoading ?: boolean ;
@@ -25,10 +26,8 @@ function ExtensionsHero({ isLoading = false }: ExtensionsHeroProps) {
2526 < div className = "inline-flex items-center rounded-full bg-primary/10 px-2 py-1 text-xs font-medium text-primary" >
2627 { t ( 'extensions.beta' ) }
2728 </ div >
28- < h1 className = "text-xl font-bold tracking-tight md:text-2xl lg:text-3xl" >
29- { t ( 'extensions.title' ) }
30- </ h1 >
31- < p className = "text-sm text-muted-foreground md:text-base" > { t ( 'extensions.subtitle' ) } </ p >
29+ < TypographyH1 > { t ( 'extensions.title' ) } </ TypographyH1 >
30+ < TypographyMuted > { t ( 'extensions.subtitle' ) } </ TypographyMuted >
3231 </ div >
3332 < div className = "flex-1" >
3433 < div className = "relative mx-auto max-w-xs" >
Original file line number Diff line number Diff line change 11import React from 'react' ;
22import { useTranslation } from '@/hooks/use-translation' ;
3- import { TypographyMuted } from '@/components/ui/typography ' ;
3+ import DashboardPageHeader from '@/components/layout/dashboard-page-header ' ;
44
55function FileManagerHeader ( ) {
66 const { t } = useTranslation ( ) ;
77
88 return (
9- < div >
10- < div className = "" >
11- < h1 className = "text-md font-bold capitalize leading-normal text-primary sm:text-lg md:text-xl lg:text-3xl" >
12- { t ( 'fileManager.header.title' ) }
13- </ h1 >
14- < TypographyMuted > { t ( 'fileManager.header.subtitle' ) } </ TypographyMuted >
15- </ div >
16- </ div >
9+ < DashboardPageHeader
10+ label = { t ( 'fileManager.header.title' ) }
11+ description = { t ( 'fileManager.header.subtitle' ) }
12+ />
1713 ) ;
1814}
1915
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ import ListRepositories from './components/github-repositories/list-repositories
55import AppItem , { AppItemSkeleton } from './components/application' ;
66import useGetDeployedApplications from './hooks/use_get_deployed_applications' ;
77import PaginationWrapper from '@/components/ui/pagination' ;
8- import { DahboardUtilityHeader } from '@/components/layout/dashboard-page-header' ;
8+ import DashboardPageHeader , { DahboardUtilityHeader } from '@/components/layout/dashboard-page-header' ;
99import { Application } from '@/redux/types/applications' ;
1010import { Button } from '@/components/ui/button' ;
1111import { useTranslation } from '@/hooks/use-translation' ;
@@ -81,6 +81,10 @@ function page() {
8181 }
8282 >
8383 < PageLayout maxWidth = "6xl" padding = "md" spacing = "lg" >
84+ < DashboardPageHeader
85+ label = { t ( 'selfHost.page.title' ) }
86+ description = { t ( 'selfHost.page.description' ) }
87+ />
8488 { renderContent ( ) }
8589
8690 { showApplications && (
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ import TeamMembers from './components/TeamMembers';
88import EditTeam from './components/EditTeam' ;
99import { useTranslation } from '@/hooks/use-translation' ;
1010import { ResourceGuard } from '@/components/rbac/PermissionGuard' ;
11- import { TypographyH2 , TypographyMuted } from '@/components/ui/typography' ;
11+ import { TypographyH1 , TypographyMuted } from '@/components/ui/typography' ;
1212import PageLayout from '@/components/layout/page-layout' ;
1313
1414function Page ( ) {
@@ -40,7 +40,7 @@ function Page() {
4040 < div className = { 'flex items-center justify-between space-y-2' } >
4141 < div className = "flex items-center" >
4242 < span className = "" >
43- < TypographyH2 > { teamName } </ TypographyH2 >
43+ < TypographyH1 > { teamName } </ TypographyH1 >
4444 < TypographyMuted > { teamDescription } </ TypographyMuted >
4545 </ span >
4646
Original file line number Diff line number Diff line change 2525 },
2626 "containers" : {
2727 "title" : " Containers" ,
28- "description" : " Preview all the containers" ,
28+ "description" : " Manage and monitor your containers" ,
2929 "list" : " Container List" ,
3030 "name" : " Name" ,
3131 "image" : " Image" ,
You can’t perform that action at this time.
0 commit comments