Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Homepage #5

Open
wants to merge 14 commits into
base: dev
Choose a base branch
from
Open

Homepage #5

wants to merge 14 commits into from

Conversation

daksas303
Copy link
Collaborator

Pls review

@GLObus303 GLObus303 self-requested a review December 1, 2021 17:22
@GLObus303
Copy link
Member

Fix lint issues
image


const baseUrl = 'http://localhost:3000';

export const axiosGet = async <T = any>(
Copy link
Member

Choose a reason for hiding this comment

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

Consider removing the any here and below, to force others to always provide the generic param

api/sports.tsx Show resolved Hide resolved
components/Boxes.tsx Show resolved Hide resolved
components/Boxes.tsx Show resolved Hide resolved
const TextContainer = styled.div`
background: rgba(255, 255, 255, 0.6);
box-shadow: 0 -2px 12px rgba(#000, 0.3);
padding: 10px 12px;
Copy link
Member

Choose a reason for hiding this comment

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

Stick to rem units everywhere, apart from stuff that needs to be "fixed" like borders f.e. Use you best judgment

mocks/handlers.ts Show resolved Hide resolved
mocks/handlers.ts Show resolved Hide resolved
mocks/handlers.ts Show resolved Hide resolved
pages/detail/[event_id].tsx Show resolved Hide resolved
})
}

function uuidv4() {
Copy link
Member

Choose a reason for hiding this comment

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

if you will export this one out, you can use it for uuid if you need it somewhere.

@GLObus303
Copy link
Member

Squash all of the commits into one (I can show you how to do it). You better learn how to do it manually. It will become handy

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants