Skip to content

Commit

Permalink
style: add decoration in homepage
Browse files Browse the repository at this point in the history
  • Loading branch information
NoeTerrier committed Mar 17, 2024
1 parent feab349 commit 4805b7f
Show file tree
Hide file tree
Showing 4 changed files with 86 additions and 1 deletion.
76 changes: 76 additions & 0 deletions app/src/assets/decoration.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions app/src/pages/index.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import Decoration from "@/assets/decoration.svg";
import PreviewImage from "@/assets/galleryPreview.png";
import AssociationDescription from "@/components/AssociationDescription";
import DirectusImage from "@/components/DirectusImage";
Expand Down Expand Up @@ -54,6 +55,8 @@ export default function Home(
publicFiles={props.publicFiles}
/>

<Decoration className={styles.decoration} />

<MembersList membership={props.committee} />
</>
);
Expand Down
6 changes: 6 additions & 0 deletions app/src/styles/Homepage.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -66,3 +66,9 @@
padding-right: 5rem;
}
}

.decoration {
transform: translateY(-1px);
width: 100%;
height: auto;
}
2 changes: 1 addition & 1 deletion app/src/styles/MembersList.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
display: flex;
flex-direction: column;
row-gap: 1em;
margin-top: 5rem;
margin-top: 3rem;

width: 80%;

Expand Down

0 comments on commit 4805b7f

Please sign in to comment.