aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/Sharing/Sharing.tsx
Commit message (Collapse)AuthorAgeFilesLines
* refactor(aside): move width from aside to sharing widgetArmand Philippot2022-01-101-111/+0
| | | | Only the Sharing widget needs the "min-content" width.
* chore: move Main grid to its childrenArmand Philippot2022-01-061-2/+3
| | | | This way I can use full width background for some blocks.
* refactor(sharing): avoid nested template literalsArmand Philippot2022-01-041-8/+11
| | | | | This improves readability. I also rename a variable to avoid duplicate between global scope and useEffect scope.
* fix: use state to define hostname in sharing componentArmand Philippot2021-12-211-2/+3
| | | | | | The window is not available during build, so an error occured. By using React hooks to set the hostname once in the browser, it works as expected.
* chore: add a sharing componentArmand Philippot2021-12-211-0/+106