Skip to content

Commit

Permalink
Edited ProfilePage style
Browse files Browse the repository at this point in the history
  • Loading branch information
jannickheisch committed Oct 29, 2023
1 parent f67caa6 commit 70195e3
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
8 changes: 8 additions & 0 deletions DineDevineUI/src/pages/ProfilePage.css
Expand Up @@ -62,4 +62,12 @@

.persoSelect {
width: 20%;
}

.profileContainer {
--ion-background-color: linear-gradient(0deg, #FDF9F6, #FFFAF5);
}

.profileHeader {
--ion-background-color: white;
}
6 changes: 3 additions & 3 deletions DineDevineUI/src/pages/ProfilePage.tsx
Expand Up @@ -99,7 +99,7 @@ const ProfilePage: React.FC<Profile> = (props: Profile) => {

return (
<IonPage>
<IonHeader>
<IonHeader className={"profileHeader"}>
<IonToolbar>
<IonButtons slot="start">
<IonBackButton defaultHref="/"></IonBackButton>
Expand All @@ -112,7 +112,7 @@ const ProfilePage: React.FC<Profile> = (props: Profile) => {
</IonButtons>
</IonToolbar>
</IonHeader>
<IonContent fullscreen>
<IonContent fullscreen class={"profileContainer"}>
<IonGrid class={"ion-margin-top"}>
<IonRow class={"ion-margin-top ion-margin-bottom"}>
<IonCol className={"avatarContainer"}>
Expand Down Expand Up @@ -179,7 +179,7 @@ const ProfilePage: React.FC<Profile> = (props: Profile) => {
<IonRow>
<IonCol>
<IonCard className="achievements-card">
<h1 className="ion-margin-start">Achievements</h1>
<h1 className="ion-margin-start profileHeadline">Achievements</h1>
<IonRow>
<IonCol className="ion-col"> {/* Use "ion-col" class here */}
<IonImg
Expand Down

0 comments on commit 70195e3

Please sign in to comment.