diff --git a/src/Pages/URLShortener/URLShortener.js b/src/Pages/URLShortener/URLShortener.js index a93cbbc72..d134a62ac 100644 --- a/src/Pages/URLShortener/URLShortener.js +++ b/src/Pages/URLShortener/URLShortener.js @@ -10,7 +10,7 @@ export default function URLShortenerPage(props) { const [url, setUrl] = useState(''); const [invalidUrl, setInvalidUrl] = useState(); const [showUrlInput, setShowUrlInput] = useState(false); - const [useGeneratedAlias, setUseGeneratedAlias] = useState(true); + const [useGeneratedAlias, setUseGeneratedAlias] = useState(false); const [alias, setAlias] = useState(''); const [allUrls, setAllUrls] = useState([]); const [loading, setLoading] = useState(true); @@ -28,8 +28,8 @@ export default function URLShortenerPage(props) { const [currentSortColumn, setCurrentSortColumn] = useState(null); const [currentSortOrder, setCurrentSortOrder] = useState(null); - const INPUT_CLASS = 'indent-2 block w-full rounded-md border-0 py-1.5 text-gray-900 shadow-sm ring-1 ring-inset ring-gray-300 placeholder:text-gray-400 focus:ring-2 focus:ring-inset focus:ring-indigo-600 sm:text-sm sm:leading-6 text-gray'; - const LABEL_CLASS = 'block text-sm font-medium leading-6 text-gray-300'; + const INPUT_CLASS = 'indent-2 block w-full rounded-md border-0 py-1.5 text-slate-800 dark:text-gray-900 shadow-sm ring-1 ring-inset ring-gray-300 placeholder:text-slate-700 dark:placeholder:text-gray-400 focus:ring-2 focus:ring-inset focus:ring-indigo-600 sm:text-sm sm:leading-6 text-gray'; + const LABEL_CLASS = 'block text-sm font-medium leading-6 text-slate-800 dark:text-gray-300'; /** * Cleezy page is disabled by default since you have to run the Cleezy server @@ -230,7 +230,7 @@ export default function URLShortenerPage(props) { if (!showUrlInput) { return (