diff --git a/src/components/navigation/left/ServerListSidebar.tsx b/src/components/navigation/left/ServerListSidebar.tsx
index f8dd70e3..c4f76f33 100644
--- a/src/components/navigation/left/ServerListSidebar.tsx
+++ b/src/components/navigation/left/ServerListSidebar.tsx
@@ -80,7 +80,6 @@ const ServerList = styled.div`
overflow-y: scroll;
padding-bottom: 48px;
flex-direction: column;
- // border-right: 2px solid var(--accent);
scrollbar-width: none;
@@ -97,15 +96,12 @@ const ServerEntry = styled.div<{ active: boolean; home?: boolean }>`
height: 58px;
display: flex;
align-items: center;
- justify-content: flex-end;
-
- > * {
- // outline: 1px solid red;
- }
> div {
- width: 46px;
- height: 46px;
+ height: 42px;
+ padding-left: 4px;
+ padding-right: 6px;
+
display: grid;
place-items: center;
@@ -119,49 +115,30 @@ const ServerEntry = styled.div<{ active: boolean; home?: boolean }>`
${(props) =>
props.active &&
css`
- background: var(--sidebar-active);
&:active {
transform: none;
}
`}
}
- span {
- width: 6px;
- height: 46px;
+ > span {
+ width: 0;
+ display: relative;
${(props) =>
- props.active &&
+ !props.active &&
css`
- background-color: var(--sidebar-active);
+ display: none;
+ ` }
- &::before,
- &::after {
- // outline: 1px solid blue;
- }
+ svg {
+ width: 56.5px;
+ margin-top: 4px;
+ display: relative;
- &::before,
- &::after {
- content: "";
- display: block;
- position: relative;
-
- width: 31px;
- height: 72px;
- margin-top: -72px;
- margin-left: -25px;
- z-index: -1;
-
- background-color: var(--background);
- border-bottom-right-radius: 32px;
-
- box-shadow: 0 32px 0 0 var(--sidebar-active);
- }
-
- &::after {
- transform: scaleY(-1) translateY(-118px);
- }
- `}
+ pointer-events: none;
+ // outline: 1px solid red;
+ }
}
${(props) =>
@@ -171,6 +148,18 @@ const ServerEntry = styled.div<{ active: boolean; home?: boolean }>`
`}
`;
+function Swoosh() {
+ return (
+
+
+
+ )
+}
+
interface Props {
unreads: Unreads;
lastOpened: LastOpened;
@@ -238,6 +227,7 @@ export function ServerListSidebar({ unreads, lastOpened }: Props) {
active={homeActive}
to={lastOpened.home ? `/channel/${lastOpened.home}` : "/"}>
+
{ isTouchscreenDevice ?
@@ -254,7 +244,6 @@ export function ServerListSidebar({ unreads, lastOpened }: Props) {
}
-
@@ -274,12 +263,12 @@ export function ServerListSidebar({ unreads, lastOpened }: Props) {
onContextMenu={attachContextMenu("Menu", {
server: entry!._id,
})}>
+
-
);
diff --git a/src/context/Locale.tsx b/src/context/Locale.tsx
index 33f10f96..a0d1836f 100644
--- a/src/context/Locale.tsx
+++ b/src/context/Locale.tsx
@@ -24,6 +24,7 @@ export enum Language {
AZERBAIJANI = "az",
CZECH = "cs",
GERMAN = "de",
+ GREEK = "el",
SPANISH = "es",
FINNISH = "fi",
FRENCH = "fr",
@@ -71,6 +72,7 @@ export const Languages: { [key in Language]: LanguageEntry } = {
az: { display: "Azərbaycan dili", emoji: "🇦🇿", i18n: "az" },
cs: { display: "Čeština", emoji: "🇨🇿", i18n: "cs" },
de: { display: "Deutsch", emoji: "🇩🇪", i18n: "de" },
+ el: { display: "Ελληνικά", emoji: "🇬🇷", i18n: "el" },
es: { display: "Español", emoji: "🇪🇸", i18n: "es" },
fi: { display: "suomi", emoji: "🇫🇮", i18n: "fi" },
fr: { display: "Français", emoji: "🇫🇷", i18n: "fr" },