Skip to content

Commit

Permalink
Fix styles on pages: home, login and detail
Browse files Browse the repository at this point in the history
  • Loading branch information
gustavo-nt committed Oct 11, 2021
1 parent 5849590 commit bc7648d
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/pages/detail/index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Container, Content, Background, ImageTitle, Controls, PlayButton, TrailerButton, AddButton, GroupWacthButton, SubTitle, Description } from './styles';
import { Container, Content, Background, ImageTitle, Controls, PlayButton, TrailerButton, AddButton, GroupWacthButton, SubTitle, Description } from '../../styles/pages/detail';;

export default function Detail() {
return (
Expand Down
5 changes: 3 additions & 2 deletions src/pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,12 @@ import { useRouter } from 'next/router';
import { useEffect, useState } from 'react';

import Header from '../components/Header';
import { Container } from './home/styles';
import Carousel from '../components/Carousel';
import Viewers from '../components/Viewers';
import Movies from '../components/Movies';

import { Container } from '../styles/pages/home';

export default function App() {
const [user, setUser] = useState(false)
const router = useRouter();
Expand All @@ -16,7 +17,7 @@ export default function App() {
if (!user) {
router.push('/login');
}
}, [])
}, []);

return (
<>
Expand Down
2 changes: 1 addition & 1 deletion src/pages/login/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import Originals from '../../components/Originals';
import Download from '../../components/Download';
import FooterLogin from '../../components/FooterLogin';

import { Container } from './styles';
import { Container } from '../../styles/pages/login';
import { Materials } from '../../utils/lists';

export default function Login() {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import styled from 'styled-components';
import { colors } from '../../styles/partials/_variables';
import { colors } from '../../partials/_variables';

export const Container = styled.div`
position: relative;
Expand Down
File renamed without changes.
File renamed without changes.

1 comment on commit bc7648d

@vercel
Copy link

@vercel vercel bot commented on bc7648d Oct 11, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.