Skip to content

Commit 1a69ebe

Browse files
committed
Updated the page header design
1 parent f9bc634 commit 1a69ebe

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

49 files changed

+50
-131
lines changed

package-lock.json

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"private": true,
55
"type": "module",
66
"dependencies": {
7-
"@churchapps/apphelper": "0.6.18",
7+
"@churchapps/apphelper": "0.6.19",
88
"@churchapps/apphelper-donations": "0.6.17",
99
"@churchapps/apphelper-forms": "0.6.14",
1010
"@churchapps/apphelper-login": "0.6.17",

src/attendance/AttendancePage.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,6 @@ export const AttendancePage = () => {
6868
return (
6969
<>
7070
<PageHeader
71-
icon={<CalendarIcon />}
7271
title={Locale.label("attendance.attendancePage.att")}
7372
subtitle={Locale.label("attendance.attendancePage.subtitle")}
7473
>

src/calendars/CalendarPage.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,6 @@ export const CalendarPage = () => {
9393
return (
9494
<>
9595
<PageHeader
96-
icon={<CalendarIcon />}
9796
title={currentCalendar?.name || Locale.label("calendars.calendarPage.calendar")}
9897
subtitle={Locale.label("calendars.calendarPage.subtitle")}
9998
/>

src/calendars/CalendarsPage.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,6 @@ export const CalendarsPage = () => {
155155
return (
156156
<>
157157
<PageHeader
158-
icon={<CalendarIcon />}
159158
title={Locale.label("calendars.calendarList.title")}
160159
subtitle={
161160
calendars.length > 0

src/dashboard/components/AdminWelcome.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import React from "react";
22
import { Box, Container, Grid, Typography } from "@mui/material";
33
import { Image, Language, VolunteerActivism, MusicNote, Person, Groups, LiveTv, Lock } from "@mui/icons-material";
44
import { ApiHelper } from "@churchapps/apphelper";
5-
import { WelcomeHeader } from "./WelcomeHeader";
5+
import { PageHeader } from "@churchapps/apphelper";
66
import { FeatureCard } from "./FeatureCard";
77
import { QuickSetupModal, type WizardType } from "./QuickSetupModal";
88
import { useNavigate } from "react-router-dom";
@@ -35,7 +35,7 @@ export const AdminWelcome: React.FC = () => {
3535

3636
return (
3737
<>
38-
<WelcomeHeader
38+
<PageHeader
3939
title="Welcome to B1.church!"
4040
subtitle="Let's get your church set up. Here are some things you'll likely want to do first."
4141
/>

src/dashboard/components/MemberWelcome.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import React from "react";
22
import { Box, Container, Grid, Typography } from "@mui/material";
33
import { CameraAlt, Groups, VolunteerActivism, Event, PhoneIphone, Person } from "@mui/icons-material";
44
import { UserHelper, Permissions } from "@churchapps/apphelper";
5-
import { WelcomeHeader } from "./WelcomeHeader";
5+
import { PageHeader } from "@churchapps/apphelper";
66
import { FeatureCard } from "./FeatureCard";
77
import { EnvironmentHelper } from "../../helpers/EnvironmentHelper";
88

@@ -13,7 +13,7 @@ export const MemberWelcome: React.FC = () => {
1313

1414
return (
1515
<>
16-
<WelcomeHeader
16+
<PageHeader
1717
title={`Welcome to ${churchName}!`}
1818
subtitle="Here are some things you can do to get connected."
1919
/>

src/dashboard/components/WelcomeHeader.tsx

Lines changed: 0 additions & 48 deletions
This file was deleted.

src/dashboard/components/index.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
export * from "../../components";
22
export { PeopleSearch } from "./PeopleSearch";
3-
export { WelcomeHeader } from "./WelcomeHeader";
43
export { FeatureCard } from "./FeatureCard";
54
export { AdminWelcome } from "./AdminWelcome";
65
export { MemberWelcome } from "./MemberWelcome";

src/donations/BatchGivingStatementsPage.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,7 @@ import {
66
} from "@mui/material";
77
import {
88
DownloadOutlined as DownloadIcon,
9-
PrintOutlined as PrintIcon,
10-
VolunteerActivism as DonationIcon
9+
PrintOutlined as PrintIcon
1110
} from "@mui/icons-material";
1211
import { PageHeader, Locale, CurrencyHelper, UserHelper, Permissions, ArrayHelper } from "@churchapps/apphelper";
1312
import { type DonationInterface, type FundDonationInterface, type PersonInterface, type FundInterface } from "@churchapps/helpers";
@@ -196,7 +195,6 @@ export const BatchGivingStatementsPage = () => {
196195
return (
197196
<>
198197
<PageHeader
199-
icon={<DonationIcon />}
200198
title={Locale.label("donations.batchStatements.title") || "Batch Giving Statements"}
201199
subtitle={Locale.label("donations.batchStatements.subtitle") || "Download giving statements for all donors"}
202200
/>

0 commit comments

Comments
 (0)