fix(frontend): update login/setup images

pull/534/head
sct 4 years ago
parent 721ed9a930
commit 058fb65495

Binary file not shown.

Before

Width:  |  Height:  |  Size: 140 KiB

After

Width:  |  Height:  |  Size: 134 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 50 KiB

After

Width:  |  Height:  |  Size: 1.1 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 315 KiB

After

Width:  |  Height:  |  Size: 382 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 249 KiB

After

Width:  |  Height:  |  Size: 407 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 384 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 421 KiB

@ -51,31 +51,33 @@ const Login: React.FC = () => {
}, [user, router]); }, [user, router]);
return ( return (
<div className="min-h-screen bg-gray-900 flex flex-col justify-center py-12 sm:px-6 lg:px-8 relative"> <div className="relative flex flex-col justify-center min-h-screen py-12 bg-gray-900 sm:px-6 lg:px-8">
<ImageFader <ImageFader
backgroundImages={[ backgroundImages={[
'/images/rotate1.jpg', '/images/rotate1.jpg',
'/images/rotate2.jpg', '/images/rotate2.jpg',
'/images/rotate3.jpg', '/images/rotate3.jpg',
'/images/rotate4.jpg', '/images/rotate4.jpg',
'/images/rotate5.jpg',
'/images/rotate6.jpg',
]} ]}
/> />
<div className="absolute top-4 right-4 z-50"> <div className="absolute z-50 top-4 right-4">
<LanguagePicker /> <LanguagePicker />
</div> </div>
<div className="px-4 sm:px-2 md:px-0 sm:mx-auto sm:w-full sm:max-w-md relative z-40"> <div className="relative z-40 px-4 sm:px-2 md:px-0 sm:mx-auto sm:w-full sm:max-w-md">
<img <img
src="/logo.png" src="/logo.png"
className="mx-auto max-h-32 w-auto" className="w-auto mx-auto max-h-32"
alt="Overseerr Logo" alt="Overseerr Logo"
/> />
<h2 className="mt-2 text-center text-3xl leading-9 font-extrabold text-gray-100"> <h2 className="mt-2 text-3xl font-extrabold leading-9 text-center text-gray-100">
<FormattedMessage {...messages.signinplex} /> <FormattedMessage {...messages.signinplex} />
</h2> </h2>
</div> </div>
<div className="mt-8 sm:mx-auto sm:w-full sm:max-w-md relative z-50"> <div className="relative z-50 mt-8 sm:mx-auto sm:w-full sm:max-w-md">
<div <div
className="bg-gray-800 bg-opacity-50 py-8 px-4 shadow sm:rounded-lg sm:px-10" className="px-4 py-8 bg-gray-800 bg-opacity-50 shadow sm:rounded-lg sm:px-10"
style={{ backdropFilter: 'blur(5px)' }} style={{ backdropFilter: 'blur(5px)' }}
> >
<Transition <Transition
@ -87,11 +89,11 @@ const Login: React.FC = () => {
leaveFrom="opacity-100" leaveFrom="opacity-100"
leaveTo="opacity-0" leaveTo="opacity-0"
> >
<div className="rounded-md bg-red-600 p-4 mb-4"> <div className="p-4 mb-4 bg-red-600 rounded-md">
<div className="flex"> <div className="flex">
<div className="flex-shrink-0"> <div className="flex-shrink-0">
<svg <svg
className="h-5 w-5 text-red-300" className="w-5 h-5 text-red-300"
xmlns="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 20 20" viewBox="0 0 20 20"
fill="currentColor" fill="currentColor"

@ -43,27 +43,29 @@ const Setup: React.FC = () => {
}; };
return ( return (
<div className="min-h-screen bg-gray-900 flex flex-col justify-center py-12 sm:px-6 lg:px-8 relative"> <div className="relative flex flex-col justify-center min-h-screen py-12 bg-gray-900 sm:px-6 lg:px-8">
<ImageFader <ImageFader
backgroundImages={[ backgroundImages={[
'/images/rotate1.jpg', '/images/rotate1.jpg',
'/images/rotate2.jpg', '/images/rotate2.jpg',
'/images/rotate3.jpg', '/images/rotate3.jpg',
'/images/rotate4.jpg', '/images/rotate4.jpg',
'/images/rotate5.jpg',
'/images/rotate6.jpg',
]} ]}
/> />
<div className="absolute top-4 right-4 z-50"> <div className="absolute z-50 top-4 right-4">
<LanguagePicker /> <LanguagePicker />
</div> </div>
<div className="px-4 sm:px-2 md:px-0 sm:mx-auto sm:w-full sm:max-w-4xl relative z-40"> <div className="relative z-40 px-4 sm:px-2 md:px-0 sm:mx-auto sm:w-full sm:max-w-4xl">
<img <img
src="/logo.png" src="/logo.png"
className="mx-auto max-h-32 w-auto mb-10" className="w-auto mx-auto mb-10 max-h-32"
alt="Overseerr Logo" alt="Overseerr Logo"
/> />
<nav className="relative z-50"> <nav className="relative z-50">
<ul <ul
className=" bg-gray-800 bg-opacity-50 border border-gray-600 rounded-md divide-y divide-gray-600 md:flex md:divide-y-0" className="bg-gray-800 bg-opacity-50 border border-gray-600 divide-y divide-gray-600 rounded-md md:flex md:divide-y-0"
style={{ backdropFilter: 'blur(5px)' }} style={{ backdropFilter: 'blur(5px)' }}
> >
<SetupSteps <SetupSteps
@ -86,22 +88,22 @@ const Setup: React.FC = () => {
/> />
</ul> </ul>
</nav> </nav>
<div className="w-full mt-10 p-4 text-white bg-gray-800 bg-opacity-50 border border-gray-600 rounded-md"> <div className="w-full p-4 mt-10 text-white bg-gray-800 bg-opacity-50 border border-gray-600 rounded-md">
{currentStep === 1 && ( {currentStep === 1 && (
<LoginWithPlex onComplete={() => setCurrentStep(2)} /> <LoginWithPlex onComplete={() => setCurrentStep(2)} />
)} )}
{currentStep === 2 && ( {currentStep === 2 && (
<div> <div>
<SettingsPlex onComplete={() => setPlexSettingsComplete(true)} /> <SettingsPlex onComplete={() => setPlexSettingsComplete(true)} />
<div className="mt-4 text-gray-500 text-sm"> <div className="mt-4 text-sm text-gray-500">
<span className="mr-2"> <span className="mr-2">
<Badge>{intl.formatMessage(messages.tip)}</Badge> <Badge>{intl.formatMessage(messages.tip)}</Badge>
</span> </span>
{intl.formatMessage(messages.syncingbackground)} {intl.formatMessage(messages.syncingbackground)}
</div> </div>
<div className="mt-8 border-t border-gray-700 pt-5"> <div className="pt-5 mt-8 border-t border-gray-700">
<div className="flex justify-end"> <div className="flex justify-end">
<span className="ml-3 inline-flex rounded-md shadow-sm"> <span className="inline-flex ml-3 rounded-md shadow-sm">
<Button <Button
buttonType="primary" buttonType="primary"
disabled={!plexSettingsComplete} disabled={!plexSettingsComplete}
@ -117,9 +119,9 @@ const Setup: React.FC = () => {
{currentStep === 3 && ( {currentStep === 3 && (
<div> <div>
<SettingsServices /> <SettingsServices />
<div className="mt-8 border-t border-gray-700 pt-5"> <div className="pt-5 mt-8 border-t border-gray-700">
<div className="flex justify-end"> <div className="flex justify-end">
<span className="ml-3 inline-flex rounded-md shadow-sm"> <span className="inline-flex ml-3 rounded-md shadow-sm">
<Button <Button
buttonType="primary" buttonType="primary"
onClick={() => finishSetup()} onClick={() => finishSetup()}

Loading…
Cancel
Save