-
Notifications
You must be signed in to change notification settings - Fork 275
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
29 changed files
with
5,903 additions
and
939 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
name: Auto Label Issue/PR | ||
|
||
on: | ||
issues: | ||
types: [opened, reopened, edited] | ||
pull_request: | ||
types: [opened, reopened, edited] | ||
|
||
jobs: | ||
label_issue_pr: | ||
runs-on: ubuntu-latest | ||
permissions: | ||
issues: write | ||
pull-requests: write | ||
steps: | ||
- name: Label Issue/PR | ||
uses: actions/github-script@v6 | ||
with: | ||
github-token: ${{secrets.GITHUB_TOKEN}} | ||
script: | | ||
const isIssue = context.payload.issue !== undefined; | ||
const item = isIssue ? context.payload.issue : context.payload.pull_request; | ||
const itemBody = item.body ? item.body.toLowerCase() : ''; | ||
const itemTitle = item.title.toLowerCase(); | ||
// Add labels to both issues and pull requests | ||
await github.rest.issues.addLabels({ | ||
owner: context.repo.owner, | ||
repo: context.repo.repo, | ||
issue_number: item.number, | ||
labels: ['gssoc-ext', 'hacktoberfest-accepted'] | ||
}); | ||
const addLabel = async (label) => { | ||
await github.rest.issues.addLabels({ | ||
owner: context.repo.owner, | ||
repo: context.repo.repo, | ||
issue_number: item.number, | ||
labels: [label] | ||
}); | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
ErrorDocument 404 /404.html |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,74 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<title>404 PAGE</title> | ||
<link rel="shortcut icon" href="./assets/images/favicon2.webp" type="image/png" /> | ||
<link rel='stylesheet' href='https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/css/bootstrap.min.css'> | ||
<link rel='stylesheet' href='https://fonts.googleapis.com/css?family=Arvo'> | ||
<style> | ||
|
||
.page_404{ padding:40px 0; background:#fff; font-family: 'Arvo', serif; | ||
} | ||
|
||
.page_404 img{ width:100%;} | ||
|
||
.four_zero_four_bg{ | ||
|
||
background-image: url(https://cdn.dribbble.com/users/285475/screenshots/2083086/dribbble_1.gif); | ||
height: 400px; | ||
background-position: center; | ||
} | ||
|
||
|
||
.four_zero_four_bg h1{ | ||
font-size:80px; | ||
} | ||
|
||
.four_zero_four_bg h3{ | ||
font-size:80px; | ||
} | ||
|
||
.link_404{ | ||
color: #fff!important; | ||
padding: 10px 20px; | ||
background: #39ac31; | ||
margin: 20px 0; | ||
display: inline-block;} | ||
.contant_box_404{ margin-top:-50px;} | ||
</style> | ||
|
||
</head> | ||
|
||
<body> | ||
|
||
<section class="page_404"> | ||
<div class="container"> | ||
<div class="row"> | ||
<div class="col-sm-12 "> | ||
<div class="col-sm-10 col-sm-offset-1 text-center"> | ||
<div class="four_zero_four_bg"> | ||
<h1 class="text-center ">404</h1> | ||
|
||
|
||
</div> | ||
|
||
<div class="contant_box_404"> | ||
<h3 class="h2"> | ||
Look like you're lost | ||
</h3> | ||
|
||
<p>The page you are looking for not available!</p> | ||
|
||
<a href="/" class="link_404">Go to Home</a> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</section> | ||
|
||
|
||
</body> | ||
</html> |
Oops, something went wrong.