Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions .github/workflows/label-hacktoberfest.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
name: Label Hacktoberfest PRs

on:
pull_request:
types: [opened, synchronize, reopened, edited]
pull_request_target:
types: [opened, reopened, edited]

permissions:
pull-requests: write
Expand All @@ -14,8 +14,10 @@ jobs:
runs-on: ubuntu-latest

steps:
- name: Check out the repository
- name: Check out PR code (safe)
uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.head.sha }}

- name: Get linked issue number from PR body
id: issue-number
Expand Down
6 changes: 3 additions & 3 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

yarn pre-commit
npx lint-staged
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,7 @@
"@types/react-dom": "^18.2.18",
"@typescript-eslint/eslint-plugin": "6.4.0",
"@typescript-eslint/parser": "^6.19.1",
"ajv": "^8.17.1",
"autoprefixer": "^10.4.17",
"eslint": "^8.56.0",
"eslint-config-prettier": "^9.1.0",
Expand Down
6 changes: 2 additions & 4 deletions src/common/home/Home.jsx
Original file line number Diff line number Diff line change
@@ -1,21 +1,19 @@
import ExtendedFooter from 'common/footer/ExtendedFooter';
import React from 'react';
import HomeBanner from './HomeBanner';
import HomeContent from './HomeContent';
import HomeContributors from './HomeContributors';
import HomeFeatures from './HomeFeatures';
import HomeIdeas from './HomeIdeas';
import HomePlays from './HomePlays';
import HomeSponsors from './HomeSponsors';
import HomeTestimonials from './HomeTestimonials';
import './home.css';
import DefaultBanner from 'common/defaultBanner/DefaultBanner';

const Home = () => {
return (
<main>
<section className="app-home-body">
<HomeBanner />
<HomeContent />
<DefaultBanner />
</section>
<section className="home-features">
<HomeFeatures />
Expand Down
2 changes: 1 addition & 1 deletion src/plays/Selection-Sort-Visualizer/App.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from 'react';
import './App.css';
import './select.css';
import SelectionSortVisualizer from './SelectionSortVisualizer';

function App() {
Expand Down
4 changes: 1 addition & 3 deletions src/plays/zoomlogin/MainPage.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import { BrowserRouter, Route, Routes } from 'react-router-dom';
import App from './components/App';
import HomePage from './components/HomePage';
import LinkedinPage from './components/Linkedin/LinkedinPage';
import HomePage from '../../common/home/Home';
import ZoomPage from './components/Zoom/ZoomPage';

export function MainPage() {
Expand All @@ -10,7 +9,6 @@ export function MainPage() {
<App>
<Routes>
<Route element={<HomePage />} path="/" />
<Route element={<LinkedinPage />} path="/linkedin" />
<Route element={<ZoomPage />} path="/zoom" />
</Routes>
</App>
Expand Down
Loading