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

Add featured code projects "above the fold" on homepage #140

Open
jordangov opened this issue Jan 10, 2018 · 11 comments
Open

Add featured code projects "above the fold" on homepage #140

jordangov opened this issue Jan 10, 2018 · 11 comments

Comments

@jordangov
Copy link
Contributor

Users visiting the site might want to see some of the neat projects that have been open sourced within the DoD. It would be good to have a snapshot of two or three of these on the homepage, above the fold.

(Perhaps a slideshow instead of the static hero element?)

@jotasprout
Copy link

I'm looking for ways to get involved and am interested in taking this on.

@jordangov
Copy link
Contributor Author

Thanks Jay! Happy to see what you come up with.

@jotasprout
Copy link

I don't see any of what I expected in the repo -- meaning, the files for the website. Maybe I'm not understanding the issue or repo. I thought you wanted a gallery (grid or slideshow) of some type here:
https://code.mil/
toward the top of the page with links to featured projects. If that's true, where are the files I'd edit in my branch or whatever?

@jordangov
Copy link
Contributor Author

That is correct... and all of the source files are in the /src directory in this repo. There are directions on how to get started in the CONTRIBUTING document.

@jotasprout
Copy link

Sorry. I'm lame. I just didn't scroll down far enough.

@milovanderlinden
Copy link
Contributor

I think that having a code.json file generated after init makes the projects available for rendering in the templates thus allowing the creation of a limited list for this purpose.

I am curently setting up a jekyll hook for this:

  Jekyll::Hooks.register :site, :after_init do |site, payload|
    RunMeOnce.process(site, payload)
  end 

In the RunMeOnce having the same code as in code_gov_inventory_generator.rb but writing it to a file would do the trick for making code.json available for templating

@jordangov
Copy link
Contributor Author

Neat! Good luck, let us know if you have questions.

@lerenah
Copy link

lerenah commented Dec 9, 2018 via email

@jordangov
Copy link
Contributor Author

@lerenah That's unfortunate... we try to make the contributing documents good for this reason! Where were you getting stuck?

@lerenah
Copy link

lerenah commented Dec 9, 2018 via email

@GrooveCS
Copy link

GrooveCS commented Sep 1, 2020

Is this still an Open Issue?

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

No branches or pull requests

7 participants