diff --git a/Dockerfile b/Dockerfile index 31ea0054..7d086546 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,8 @@ # Build image FROM node:12.18-alpine AS build +ARG BASE_PATH ARG DATABASE_TYPE +ENV BASE_PATH=$BASE_PATH ENV DATABASE_URL "postgresql://umami:umami@db:5432/umami" \ DATABASE_TYPE=$DATABASE_TYPE WORKDIR /build diff --git a/assets/bars.svg b/assets/bars.svg new file mode 100644 index 00000000..91c83c48 --- /dev/null +++ b/assets/bars.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/assets/xmark.svg b/assets/xmark.svg new file mode 100644 index 00000000..6d72bf6d --- /dev/null +++ b/assets/xmark.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/components/layout/Footer.js b/components/layout/Footer.js index 73e010bc..6b23a8e6 100644 --- a/components/layout/Footer.js +++ b/components/layout/Footer.js @@ -4,11 +4,15 @@ import { FormattedMessage } from 'react-intl'; import Link from 'components/common/Link'; import styles from './Footer.module.css'; import useVersion from 'hooks/useVersion'; +import useLocale from 'hooks/useLocale'; +import { rtlLocales } from 'lib/lang'; export default function Footer() { const { current } = useVersion(); + const [locale] = useLocale(); + return ( -