Skip to content

Commit

Permalink
Merge pull request Eduhub-Community#365 from metabiswadeep/main
Browse files Browse the repository at this point in the history
Added prettier workflow
  • Loading branch information
SahityaRoy authored Jun 19, 2023
2 parents ec23690 + 5aa5300 commit c6cf830
Show file tree
Hide file tree
Showing 24 changed files with 33,402 additions and 8,629 deletions.
4 changes: 2 additions & 2 deletions .github/Pull_Request_Template.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@ information. -->

<!-- Add screenshots to preview the changes -->

## Checklist
## Checklist

<!-- [x] - To mark checked, put 'x' in place of ' '(space) -->
<!-- [ ] - Keep unchecked using ' '(space) -->

- [ ] My code adheres to the established style guidelines of the project.
- [ ] I have included comments in areas that may be difficult to understand.
- [ ] My changes have not introduced any new warnings.
- [ ] I have conducted a self-review of my code.
- [ ] I have conducted a self-review of my code.
21 changes: 21 additions & 0 deletions .github/workflows/linting.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Linting

on: [push, pull_request]

jobs:

Linting:

runs-on: ubuntu-latest

steps:

- name: Checkout
uses: actions/checkout@v3
with:
ref: ${{ github.head_ref }}

- name: Lint code with prettier
uses: creyD/[email protected]
with:
prettier_options: --write **/*.{js,md}
22 changes: 11 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@

## welcome to the official GitHub repository of Eduhub Community Website
Eduhub is a community of the people, for the people and by the people.
Our vision is to create an environment where people can learn and apply technical knowledge together.
Our mission is to build a strong technical community which is open-minded and has an intense desire for consistent learning from one another in the community. We have been conducting and organizing numerous Open Source Programs, Hackathons, Meetups, Conferences and 1:1 Mentorships.

### An Open Source project Website built using HTML, CSS, JavaScript and Bootstrap Php
Eduhub is a community of the people, for the people and by the people.
Our vision is to create an environment where people can learn and apply technical knowledge together.
Our mission is to build a strong technical community which is open-minded and has an intense desire for consistent learning from one another in the community. We have been conducting and organizing numerous Open Source Programs, Hackathons, Meetups, Conferences and 1:1 Mentorships.

### An Open Source project Website built using HTML, CSS, JavaScript and Bootstrap Php

![image](https://eduhubcommunity.tech/assets/img/Eduhub%20Logo%20(2).png)
![image](<https://eduhubcommunity.tech/assets/img/Eduhub%20Logo%20(2).png>)

<h1 align="center">GSSOC'23 Accepted </h1>
<br>
Expand All @@ -21,14 +21,16 @@
</h2>

## How to contribute

## Contributing

1. Fork it
2. Create your feature branch `(git checkout -b my-new-feature)`
3. Commit your changes `(git commit -m 'Add some feature')`
4. In case of multiple commits squash them. You can find guide here
4. Run the tests with Go Live and make sure all tests are passed.
5. Push your branch `(git push origin my-new-feature)`
6. Create a new Pull Request, following the template
5. Run the tests with Go Live and make sure all tests are passed.
6. Push your branch `(git push origin my-new-feature)`
7. Create a new Pull Request, following the template

Questions can be asked by raising an `Issue`.

Expand Down Expand Up @@ -127,7 +129,6 @@ or

</div>


<h2 align=center> OUR VALUABLE CONTRIBUTORS✨ </h2>
<p align="center">

Expand All @@ -140,4 +141,3 @@ or

[![forthebadge](https://forthebadge.com/images/badges/built-with-love.svg)](https://forthebadge.com)
[![forthebadge](https://forthebadge.com/images/badges/built-by-developers.svg)](https://forthebadge.com)

43 changes: 20 additions & 23 deletions assets/js/gallery-scripts.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

/* $('.gallery-menu').click(() => {
$('.gallery-menu ul button').removeClass('active');
$(this).addClass('active');
Expand All @@ -7,27 +6,25 @@
return false;
}); */


$(document).ready(() => {

let popup_btn = $('.popup-btn')
popup_btn.magnificPopup({
type: 'image',
gallery: {
enabled: true
},
image: {
// options for image content type
titleSrc: 'title'
}
})
let popup_btn = $(".popup-btn");
popup_btn.magnificPopup({
type: "image",
gallery: {
enabled: true,
},
image: {
// options for image content type
titleSrc: "title",
},
});

$(".gallery-menu button").on("click", (e) => {
$(".gallery-menu button").removeClass("active");
$(e.target).addClass("active");
let selector = $(e.target).attr("data-filter");
$(".gallery-item").isotope({ filter: selector });

$('.gallery-menu button').on('click', (e) => {
$('.gallery-menu button').removeClass('active')
$(e.target).addClass('active')
let selector = $(e.target).attr('data-filter')
$('.gallery-item').isotope({ filter: selector})

return false
})
})
return false;
});
});
Loading

0 comments on commit c6cf830

Please sign in to comment.