dbelyaeff / cogear.js

Modern static websites generator (Node.JS/Webpack)

Home Page:https://cogearjs.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Create a Bootstrap 4 theme for Cogear.JS

dbelyaeff opened this issue · comments

Subject

Encourage Hacktoberfest participants to create a new theme for Cogear.JS

How to

Read the following docs:

https://cogearjs.org/docs/themes

Watch the video:

https://www.youtube.com/watch?v=WO1MMMrFlsc

Install Cogear.JS

npm i -g cogear
# or
yarn global add cogear

Generate a project

$ cogear plugin cogear-bootstrap

Generate a theme

$ cogear theme bootstrap

** Craft a plugin! **

Publish it to Github

Publish it to NPM

npm publish

Hint

Look at cogear-theme-blog to understand its structure.

I think I should be able to give this a go!

I think I should be able to give this a go!

It will be very nice!

hey @codEmotion ,
I have made a bunch of bootstrap 4 static site pages as well as components (all of which showcase bootstrap 4 capabilities). I have tested the pages / components by creating a cogearJS site, and they work well.

Here are 2 out of a bunch I've done. First one is just the most simple site I could make.
screenshot

This one involves more bootstrap 4 classes
1

my question is, how would you like to me to make pull request? the structure of the files follows that of cogear-theme-blog therefore, I don't believe it would make sense to make a PR on this repo. Perhaps you can make another one 'cogear-theme-bootstrap' and I can push my code to there.

either way, once I make the PR, I have no problems making the NPM module as well.

cheers,
Stephen

I think it should be a separate repository that will be added to awesome-cogear.

There is no need for PR because it's not a core module.

Would you mind to remove the purple background? It's not suitable here, I think.

If you are participating #Hacktoberfest, I can assign you to this issue and fix it in a future commit.

I am doing hacktoberfest, I need to make a PR for this to count. Can I make the PR on awesome-cogear?
I can remove the purple background, I wasn't sure if that was a cogearjs thing:
screenshot

Yes! It'll be perfect. cogear-awesome way!

I'll try to make it more nice-looking via PR later.

@codEmotion PR has been created!

I think that awesome-cogear is just a list of plugins and themes. You don't need to require theme code in PR.

Would you mind to follow the naming convention and create a repository:
https://github.com/steaward/cogear-theme-bootstrap

And move theme code there (and publish it to NPM).

Just adding a single line to awesome-cogear README is enough in this case.