-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Page container max width * Color snackbar to white * Align avatar and name/date on posts * Terms and policies * Moving max-width container to child to let handling scrollable event --------- Co-authored-by: Theo Auffeuvre <[email protected]>
- Loading branch information
1 parent
d8f653a
commit f04effa
Showing
9 changed files
with
82 additions
and
52 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 20 additions & 0 deletions
20
canopeum_frontend/src/components/settings/TermsAndPolicies.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
import { useTranslation } from 'react-i18next' | ||
|
||
const TermsAndPolicies = () => { | ||
const { t: translate } = useTranslation() | ||
|
||
return ( | ||
<div className='d-flex flex-column h-100'> | ||
<h2 className='text-light'>{translate('settings.terms-and-policies.title')}</h2> | ||
<div className='bg-white rounded-2 mt-4 px-4 py-3 flex-grow-1 row m-0 justify-content-center'> | ||
<p> | ||
Lorem, ipsum dolor sit amet consectetur adipisicing elit. Autem, rem architecto? | ||
Reiciendis iusto debitis aspernatur sit. Quisquam, nihil quaerat natus cupiditate ea | ||
officia numquam, reiciendis ex nobis obcaecati commodi ut? | ||
</p> | ||
</div> | ||
</div> | ||
) | ||
} | ||
|
||
export default TermsAndPolicies |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters