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

Feature/openjs foundation logo copyright #5

Conversation

PaulWaller
Copy link
Contributor

Added OpenJS Foundation logo and copyright content from https://github.com/openjs-foundation/artwork#copyright-notices-for-project-website-footers to a new section of the footer.
Adjusted responsive styles.

Copy link
Collaborator

@benjagm benjagm left a comment

Choose a reason for hiding this comment

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

Thanks for your support! I tried the changes and found some improvements. I just left some comments.

<div className='absolute text-sm bottom-0 mb-8'>© Copyright JSON Schema Organisation 2023</div>
</div>
<div className='flex flex-col items-start col-start-2 md:col-start-2 md:col-span-1 sm:col-start-1 sm:col-span-2'>
<img className='h-16 mb-3.5' src="/img/logos/openjs_foundation-logo-horizontal-color.svg" alt="color openjs foundation logo"></img>
Copy link
Collaborator

Choose a reason for hiding this comment

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

I am getting some error when executing the build command of the site and seems to be related to the usage of double quotes:

Failed to compile.

./components/Layout.tsx
307:40  Error: Unexpected usage of doublequote.  jsx-quotes
307:101  Error: Unexpected usage of doublequote.  jsx-quotes
308:20  Error: Unexpected usage of doublequote.  jsx-quotes
308:99  Error: Unexpected usage of doublequote.  jsx-quotes
308:252  Error: Unexpected usage of doublequote.  jsx-quotes
308:430  Error: Unexpected usage of doublequote.  jsx-quotes
308:544  Error: Unexpected usage of doublequote.  jsx-quotes
308:662  Error: Unexpected usage of doublequote.  jsx-quotes
308:816  Error: Unexpected usage of doublequote.  jsx-quotes
309:20  Error: Unexpected usage of doublequote.  jsx-quotes
309:97  Error: Unexpected usage of doublequote.  jsx-quotes
309:201  Error: Unexpected usage of doublequote.  jsx-quotes
309:309  Error: Unexpected usage of doublequote.  jsx-quotes
309:421  Error: Unexpected usage of doublequote.  jsx-quotes
309:517  Error: Unexpected usage of doublequote.  jsx-quotes
309:631  Error: Unexpected usage of doublequote.  jsx-quotes
309:747  Error: Unexpected usage of doublequote.  jsx-quotes
309:859  Error: Unexpected usage of doublequote.  jsx-quotes

info  - Need to disable some ESLint rules? Learn more here: https://nextjs.org/docs/basic-features/eslint#disabling-rules
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

Could it be possible to use single quotes to see if that fix the message?

Copy link
Contributor Author

@PaulWaller PaulWaller Apr 13, 2023

Choose a reason for hiding this comment

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

Pushed a commit removing double quotes and replacing with single quotes.

<Logo />
<a href='https://opencollective.com/json-schema' className='text-sm text-slate-400 hover:text-slate-500 pt-3 mt-2'>Open Collective</a>
<a href='/understanding-json-schema/credits' className='text-sm text-slate-400 hover:text-slate-500 pt-3'>Acknowledgments</a>
</div>
</footer>
)

const OpenJS = () => (
Copy link
Collaborator

Choose a reason for hiding this comment

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

I reviewed how this 2 columns footer looks like and I'd like to suggest trying single column approach like https://loopback.io/

Screenshot 2023-04-12 at 10 42 15

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Pushed a commit revising the responsive layout for OpenJS artifacts and adjusted the overl padding and margins for the footer.

@benjagm benjagm merged commit 7f01600 into json-schema-org:main Apr 20, 2023
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