-
-
Notifications
You must be signed in to change notification settings - Fork 195
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
Create a /pro-help
page to promote the Contractors program
#1015
base: main
Are you sure you want to change the base?
Conversation
@benjagm Who would be the best for me to ask some questions on how to create this page? I never used Next.js or this JavaScript-drive way of creating a website and I'm completely lost:
|
Hey @jviotti If you don't mind I'd like to try to help you.
Let me know if you are still stuck! |
Hi @DarhkVoyd , thanks a lot for the pointers 🙏🏻 Let me give it a shot and see how it goes. |
See: https://github.com/orgs/json-schema-org/discussions/779 Signed-off-by: Juan Cruz Viotti <[email protected]>
Signed-off-by: Juan Cruz Viotti <[email protected]>
c685063
to
f3eb71f
Compare
@DarhkVoyd I'm giving it a shot, but seems like for some strange reasons, I cannot import |
Signed-off-by: Juan Cruz Viotti <[email protected]>
@jviotti Looks strange to me too, weird. I checked out your last commit and I am unable to reproduce this error. Can you please help me reproduce this? Maybe, this has to do something with your JavaScript Runtime, which runtime are you running this on? |
@DarhkVoyd I was indeed able to fix it with my last commit. I'm fighting the layout/styling stuff right now. This is the design I created that I'm trying to implement now (a table didn't look very well): Do we have an icon library present in the project? Also, what is the CSS utility library this website is using? Any help on the above design very appreciated. I feel I have no idea of what I'm doing with Next.js 😅 |
All based on the JSON file we are starting to maintain here: https://github.com/json-schema-org/community/blob/main/programs/contractors/contractors.json |
|
I had to use |
If you'd like, I would be happy to collaborate with you to make tweaks and fine tune the styles after you complete the page during review. |
Ohh! 😆 yes that would do it, |
Signed-off-by: Juan Cruz Viotti <[email protected]>
@DarhkVoyd I would love to collaborate on it. Here is my very basic first take on it. If you want/can push any further improvements to it here, please do! 🙏🏻 |
Also cc @jdesrosiers , as you expressed interest in the contractor program. Any feedback? |
Looks like a good start! Thanks for moving this forward. |
Signed-off-by: Juan Cruz Viotti <[email protected]>
Signed-off-by: Juan Cruz Viotti <[email protected]>
Signed-off-by: Juan Cruz Viotti <[email protected]>
@DarhkVoyd I made some minor tweaks, like linking to this from the main page, etc. Are there any fixes/polishes you would like to land (like making sure I didn't break the responsiveness?) At least from a content point of view, I'm happy enough to get it polished, do a team review, and see if we can get it live soon! |
Looks wonderful to me! I'll mark it as ready to review. |
/pro-help
page to promote the Contractors program/pro-help
page to promote the Contractors program
@jviotti should I push the commit? |
@DarhkVoyd Yes, feel free to push to this branch! |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #1015 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 10 10
Lines 373 373
Branches 94 94
=========================================
Hits 373 373 ☔ View full report in Codecov by Sentry. |
@jviotti Hey, I hope you don't mind, I pushed my mobile layout changes along with some linting fixes that caused the build to fail. But, the CI for build preview is still failing as the |
@DarhkVoyd No worries, thanks for pushing it! :)
I thought I had done it on #1014, unless I'm missing something specific to the way preview works? |
I checked the actions log, the submodule is still checking out an older commit. Maybe, to update
|
See: json-schema-org#1015 (comment) Signed-off-by: Juan Cruz Viotti <[email protected]>
Just sent a PR upgrading |
See: #1015 (comment) Signed-off-by: Juan Cruz Viotti <[email protected]>
Signed-off-by: Juan Cruz Viotti <[email protected]>
…e into pro-help-page
@DarhkVoyd What about how? It should all be up to date |
built with Refined Cloudflare Pages Action⚡ Cloudflare Pages Deployment
|
Hey, I am just figuring out a problem with css styles missing in the preview/prod build. Then we should be good to go. |
@DarhkVoyd Is the CSS issue fixed? I love this section, but I am not sure about adding it as a top-level element in the menu. I would feel more comfortable to add it as a card in the Community page or inside the overview section of the docs. |
This CSS issue works fine in local development and both I was unsure about placing “Pro-Help” as the top-level nav menu item, but I couldn’t think of a better place. Placing it elsewhere would reduce leads and visibility. Users should easily find out that it’s now possible. What do you think @jviotti ? |
I don't have any strong opinions. Whatever we are fine with! Or we can also sort out linking to it in another PR |
See: https://github.com/orgs/json-schema-org/discussions/779