Skip to content

first commit#8

Open
nguyaniv wants to merge 26 commits into
onezero-team:mainfrom
nguyaniv:yaniv
Open

first commit#8
nguyaniv wants to merge 26 commits into
onezero-team:mainfrom
nguyaniv:yaniv

Conversation

@nguyaniv
Copy link
Copy Markdown

@nguyaniv nguyaniv commented Jun 5, 2022

No description provided.

Copy link
Copy Markdown
Contributor

@omrirz omrirz left a comment

Choose a reason for hiding this comment

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

General comment about tailwind.
you should do:
flex-col xl:flex-row
and not
mobile:flex-col xl:flex-row
mobile is the default.

Comment thread .env.example
@@ -1,3 +0,0 @@

NEXT_DATOCMS_API_TOKEN=
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Why deleting this file? How can a future developer know what he needs to put in his .env.local file?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

Added

Comment thread tailwind.config.js Outdated
},

screens: {
mobile: [{ min: '320px', max: '639px' }],
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

why do we need this "screens" section in the config? tailwind has it by default

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

Removed screens and refactor classes.

Comment thread tailwind.config.js Outdated
},
extend: {
spacing: {
20: '5rem',
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

what's the logic here of the key to value?

You don't use those values and tailwind has defaults that are enough for this:
https://tailwindcss.com/docs/customizing-spacing#default-spacing-scale

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

Removed only the 20 value spacing. The reason is I needed more than 96 size for custom hight in some sections. I didn't use and jsx style.

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