Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: rename profile #1654

Merged
merged 2 commits into from
Feb 3, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ export const BerachainMarketCardWrapper = styled(Card)(({ theme }) => ({
gap: theme.spacing(2),
borderRadius: '16px',
border: '1px solid #383433',
background: '#1E1D1C',
background: '#121213',
transition:
'background ease-in-out 300ms, border ease-in-out 300ms, box-shadow ease-in-out 300ms',
'&:hover': {
background: lighten('#1E1D1C', 0.02),
background: lighten('#121213', 0.02),
boxShadow: `0px 0px 28px 2px ${alpha('#F47226', 0.14)}`,
border: `1px solid ${lighten('#383433', 0.2)}`,
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { alpha, styled } from '@mui/material/styles';
export const BeraChainProgressCardComponent = styled(Card)(({ theme }) => ({
display: 'flex',
flexDirection: 'row',
backgroundColor: 'inherit',
backgroundColor: '#1E1D1C',
padding: theme.spacing(1.5, 3),
flexGrow: 1,
borderColor: alpha(theme.palette.black.main, 0.08),
Expand Down
2 changes: 1 addition & 1 deletion src/components/Menus/MainMenu/useMainMenuContent.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ export const useMainMenuContent = () => {
// },
// },
{
label: 'Jumper Loyalty Pass',
label: 'Jumper Profile',
prefixIcon: <AccountCircleIcon />,
showMoreIcon: false,
link: { url: JUMPER_LOYALTY_PATH },
Expand Down
2 changes: 1 addition & 1 deletion src/components/QuestPage/BackButton/BackButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export const BackButton = ({ path, title }: BackButtonProps) => {
}}
>
{String(
title || 'Loyalty Pass' || t('navbar.navbarMenu.profile'),
title || 'Profile' || t('navbar.navbarMenu.profile'),
).toUpperCase()}
</Typography>
</Button>
Expand Down
2 changes: 1 addition & 1 deletion src/components/Zap/BackButton/BackButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export const BackButton = ({ path, title }: BackButtonProps) => {
marginLeft={'8px'}
>
{String(
title || t('navbar.navbarMenu.profile') || 'Loyalty Pass',
title || t('navbar.navbarMenu.profile') || 'Profile',
).toUpperCase()}
</Typography>
</BackButtonStyles>
Expand Down
2 changes: 1 addition & 1 deletion src/components/Zap/ZapInfo/ZapInfo.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export const ZapInfo = ({ market, detailInformation }: ZapPageProps) => {

return (
<ZapProtocolActionInfoBox>
<BackButton title={'Loyalty Pass'} />
<BackButton title={'Profile'} />
{/* Main Information about the protocol */}
<ZapProtocolIntro market={market} detailInformation={detailInformation} />

Expand Down
2 changes: 1 addition & 1 deletion src/i18n/resources.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ interface Resources {
theme: 'Theme';
developers: 'Developers';
support: 'Support';
profile: 'Loyalty Pass';
profile: 'Profile';
fest: 'Superfest Festival';
};
walletMenu: {
Expand Down
2 changes: 1 addition & 1 deletion src/i18n/translations/en/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"theme": "Theme",
"developers": "Developers",
"support": "Support",
"profile": "Loyalty Pass",
"profile": "Profile",
"fest": "Superfest Festival"
},
"walletMenu": {
Expand Down
Loading