Skip to content

Commit e570f80

Browse files
authored
Merge pull request #21 from CourseKrimson/dev/pageadd
add contributors page
2 parents 6731408 + ff876e5 commit e570f80

29 files changed

+383
-206
lines changed

.prettierrc

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
{
2-
"semi": true,
3-
"singleQuote": true,
4-
"tabWidth": 2,
5-
"trailingComma": "es5"
6-
}
7-
2+
"semi": true,
3+
"singleQuote": true,
4+
"tabWidth": 2,
5+
"trailingComma": "es5"
6+
}

CODE_OF_CONDUCT.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -17,23 +17,23 @@ diverse, inclusive, and healthy community.
1717
Examples of behavior that contributes to a positive environment for our
1818
community include:
1919

20-
* Demonstrating empathy and kindness toward other people
21-
* Being respectful of differing opinions, viewpoints, and experiences
22-
* Giving and gracefully accepting constructive feedback
23-
* Accepting responsibility and apologizing to those affected by our mistakes,
20+
- Demonstrating empathy and kindness toward other people
21+
- Being respectful of differing opinions, viewpoints, and experiences
22+
- Giving and gracefully accepting constructive feedback
23+
- Accepting responsibility and apologizing to those affected by our mistakes,
2424
and learning from the experience
25-
* Focusing on what is best not just for us as individuals, but for the
25+
- Focusing on what is best not just for us as individuals, but for the
2626
overall community
2727

2828
Examples of unacceptable behavior include:
2929

30-
* The use of sexualized language or imagery, and sexual attention or
30+
- The use of sexualized language or imagery, and sexual attention or
3131
advances of any kind
32-
* Trolling, insulting or derogatory comments, and personal or political attacks
33-
* Public or private harassment
34-
* Publishing others' private information, such as a physical or email
32+
- Trolling, insulting or derogatory comments, and personal or political attacks
33+
- Public or private harassment
34+
- Publishing others' private information, such as a physical or email
3535
address, without their explicit permission
36-
* Other conduct which could reasonably be considered inappropriate in a
36+
- Other conduct which could reasonably be considered inappropriate in a
3737
professional setting
3838

3939
## Enforcement Responsibilities
@@ -106,7 +106,7 @@ Violating these terms may lead to a permanent ban.
106106
### 4. Permanent Ban
107107

108108
**Community Impact**: Demonstrating a pattern of violation of community
109-
standards, including sustained inappropriate behavior, harassment of an
109+
standards, including sustained inappropriate behavior, harassment of an
110110
individual, or aggression toward or disparagement of classes of individuals.
111111

112112
**Consequence**: A permanent ban from any sort of public interaction within

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,11 @@
2929
git clone https://github.com/CourseKrimson/courseKrimson.github.io.git
3030

3131
# Navigate to project folder
32+
3233
cd courseKrimson.github.io
3334

3435
# Install dependencies
36+
3537
npm install
3638
</code></pre>
3739

eslint.config.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
import js from '@eslint/js'
2-
import globals from 'globals'
3-
import react from 'eslint-plugin-react'
4-
import reactHooks from 'eslint-plugin-react-hooks'
5-
import reactRefresh from 'eslint-plugin-react-refresh'
1+
import js from '@eslint/js';
2+
import globals from 'globals';
3+
import react from 'eslint-plugin-react';
4+
import reactHooks from 'eslint-plugin-react-hooks';
5+
import reactRefresh from 'eslint-plugin-react-refresh';
66

77
export default [
88
{ ignores: ['dist'] },
@@ -35,4 +35,4 @@ export default [
3535
],
3636
},
3737
},
38-
]
38+
];

index.html

Lines changed: 28 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,29 +5,49 @@
55
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
66
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
77
<title>Open Courses | KrimsonSquad</title>
8-
<meta name="description" content="Explore a wide range of free courses in programming, frameworks, and development by KrimsonSquad." />
8+
<meta
9+
name="description"
10+
content="Explore a wide range of free courses in programming, frameworks, and development by KrimsonSquad."
11+
/>
912

1013
<link rel="icon" type="image/png" href="/logo.png" />
1114

1215
<meta property="og:title" content="Open Courses | KrimsonSquad" />
13-
<meta property="og:description" content="Join us and explore a variety of open-source courses on programming and development by KrimsonSquad." />
14-
<meta property="og:image" content="https://courses.krimsonsquad.tech/logo.png" />
16+
<meta
17+
property="og:description"
18+
content="Join us and explore a variety of open-source courses on programming and development by KrimsonSquad."
19+
/>
20+
<meta
21+
property="og:image"
22+
content="https://courses.krimsonsquad.tech/logo.png"
23+
/>
1524
<meta property="og:type" content="website" />
1625
<meta property="og:url" content="https://courses.krimsonsquad.tech" />
1726

1827
<meta name="twitter:card" content="summary_large_image" />
1928
<meta name="twitter:title" content="Open Courses | KrimsonSquad" />
20-
<meta name="twitter:description" content="Join KrimsonSquad's open-source learning platform with courses on programming, development, and more." />
21-
<meta name="twitter:image" content="https://courses.krimsonsquad.tech/logo.png" />
29+
<meta
30+
name="twitter:description"
31+
content="Join KrimsonSquad's open-source learning platform with courses on programming, development, and more."
32+
/>
33+
<meta
34+
name="twitter:image"
35+
content="https://courses.krimsonsquad.tech/logo.png"
36+
/>
2237

2338
<!-- Google AdSense -->
2439
<meta name="google-adsense-account" content="ca-pub-7045631665560122" />
2540

26-
<meta name="keywords" content="programming courses, KrimsonSquad, free coding courses, learn programming, development tutorials, open courses" />
41+
<meta
42+
name="keywords"
43+
content="programming courses, KrimsonSquad, free coding courses, learn programming, development tutorials, open courses"
44+
/>
2745
<meta name="author" content="KrimsonSquad" />
2846
<meta name="robots" content="index, follow" />
29-
<script src="https://kit.fontawesome.com/1364c3c233.js" crossorigin="anonymous"></script>
30-
47+
<script
48+
src="https://kit.fontawesome.com/1364c3c233.js"
49+
crossorigin="anonymous"
50+
></script>
3151
</head>
3252
<body>
3353
<div id="root"></div>

public/404.html

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
1-
<!DOCTYPE html>
1+
<!doctype html>
22
<html>
33
<head>
44
<meta http-equiv="refresh" content="0; url=./index.html" />
5-
<h2 style="color:red;font-family:monospace;"> Refreshing isn't supported by Host. Redirecting to Site...</h2>
5+
<h2 style="color: red; font-family: monospace">
6+
Refreshing isn't supported by Host. Redirecting to Site...
7+
</h2>
68
<script type="text/javascript">
79
var pathname = window.location.pathname;
8-
window.location.href = "/";
10+
window.location.href = '/';
911
</script>
1012
</head>
1113
<body></body>

public/courses/course1.md

Lines changed: 18 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,45 @@
11
# This course covers:
2-
- Installing and configuring OH MY ZSH
3-
- Customizing ZSH themes and plugins
4-
- Productivity tips for terminal users
2+
3+
- Installing and configuring OH MY ZSH
4+
- Customizing ZSH themes and plugins
5+
- Productivity tips for terminal users
56

67
## Requirements
7-
- Familiar with Bash, Terminal & Commands
8+
9+
- Familiar with Bash, Terminal & Commands
810

911
### What is Zsh?
10-
<q>Zsh or Zshell is an enhanced, improved, and extended version of BASH (Bourne Again Shell).</q>
12+
13+
<q>Zsh or Zshell is an enhanced, improved, and extended version of BASH (Bourne Again Shell).</q>
1114

1215
### Why Oh My Zsh?
13-
<code>Oh My Zsh</code> is an open-source framework used to customize zsh as well as manage its configs.
16+
17+
<code>Oh My Zsh</code> is an open-source framework used to customize zsh as well as manage its configs.
1418

1519
## Steps Performed:
16-
---
20+
21+
---
1722

1823
### ZSH Installation
24+
1925
Installation may differ according to your OS. [See here](https://github.com/ohmyzsh/ohmyzsh/wiki/Installing-ZSH)
2026

2127
**For Ubuntu**: <code>$ sudo apt install zsh</code>
2228

2329
### Oh-My-Zsh Installation
30+
2431
Install **Oh-My-Zsh** according to your OS or distro. [See here](https://ohmyz.sh/#install)
2532

2633
**For Ubuntu**: <code>$ sh -c $(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)</code>
2734

2835
### Zsh Configuration
36+
2937
![Screenshot of Oh-My-Zsh](https://uploads.sitepoint.com/wp-content/uploads/2019/11/1573134240zsh-02.png)
3038

3139
Boom! Now, your .zshrc <i>(source file for zshell launch)</i> has been replaced by a new .zshrc file <i>(in your home dir or where you've installed it)</i>. The original .zshrc is kept as a backup file.
3240

3341
#### Themes
42+
3443
The first thing I'd ever do is to change my terminal theme as I like. So, let's explore what will suit us?
3544
**Editing <q>.zshrc</q> file**
3645
Go to <code>~</code> <i>(home dir or where you've installed it)</i>
@@ -39,10 +48,11 @@ Choose your favorite editor and edit the **.zshrc** file.
3948
I performed: <code>$ nano .zshrc</code>
4049
To change the theme you need to change the value of <q>ZSH_THEME</q>.
4150
For exploring themes, I placed <q>random</q>. So that, it will launch with any random theme at every instance.
42-
If you've chosen one, just edit ~/.zshrc file and change the value of <q>ZSH_THEME</q> with the theme you want.
51+
If you've chosen one, just edit ~/.zshrc file and change the value of <q>ZSH_THEME</q> with the theme you want.
4352
I changed <code>ZSH_THEME="devcontainers"</code> to <code>ZSH_THEME="fino"</code>.
4453

4554
#### Auto-Suggestions
55+
4656
This plugin suggests commands based on your past history, saving you both effort and time.
4757
**Installing <q>Auto-Suggestions</q> plugin**
4858
Clone GitHub repository to install it: <code>git clone https://github.com/zsh-users/zsh-autosuggestions ~/.oh-my-zsh/custom/plugins/zsh-autosuggestions</code>.

public/courses/course2.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
A <code>command line interface (CLI)</code> is a text-based user interface used to interact with a computer system.
2-
It uses commands to perform tasks, such as creating files or installing programs.
3-
CLIs are useful for automation and troubleshooting, and they can be more efficient than graphical user interfaces (GUIs) for certain tasks.
4-
They were commonly used in the past with systems like Unix, MS-DOS, and Apple DOS, and are still used today by software developers and system administrators.
5-
1+
A <code>command line interface (CLI)</code> is a text-based user interface used to interact with a computer system.
2+
It uses commands to perform tasks, such as creating files or installing programs.
3+
CLIs are useful for automation and troubleshooting, and they can be more efficient than graphical user interfaces (GUIs) for certain tasks.
4+
They were commonly used in the past with systems like Unix, MS-DOS, and Apple DOS, and are still used today by software developers and system administrators.

src/App.jsx

Lines changed: 20 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,26 @@
1-
import { useEffect, useState } from "react";
2-
import "./styles/App.css";
3-
import "./styles/index.css";
1+
import { useEffect, useState } from 'react';
2+
import './styles/App.css';
3+
import './styles/index.css';
44
import {
55
BrowserRouter as Router,
66
Routes,
77
Route,
88
Navigate,
9-
} from "react-router-dom";
10-
import SearchResults from "./pages/Search";
11-
import Login from "./pages/Login";
12-
import SignUp from "./pages/Register";
13-
import Home from "./pages/Home";
14-
import Profile from "./pages/Profile";
15-
import { ToastContainer } from "react-toastify";
16-
import "react-toastify/dist/ReactToastify.css";
17-
import { auth } from "./services/firebase";
18-
import Navbar from "./components/Navbar";
19-
import CourseDetail from "./pages/CourseDetail";
20-
import Dashboard from "./pages/Dashboard";
21-
import courses from "./data/courseData";
22-
import Footer from "./components/Footer";
9+
} from 'react-router-dom';
10+
import SearchResults from './pages/Search';
11+
import Login from './pages/Login';
12+
import SignUp from './pages/Register';
13+
import Home from './pages/Home';
14+
import Profile from './pages/Profile';
15+
import { ToastContainer } from 'react-toastify';
16+
import 'react-toastify/dist/ReactToastify.css';
17+
import { auth } from './services/firebase';
18+
import Navbar from './components/Navbar';
19+
import CourseDetail from './pages/CourseDetail';
20+
import Dashboard from './pages/Dashboard';
21+
import courses from './data/courseData';
22+
import Footer from './components/Footer';
23+
import Contributors from './pages/GithubFetch';
2324

2425
function App() {
2526
const [user, setUser] = useState(null);
@@ -47,7 +48,7 @@ function App() {
4748
<Router basename={import.meta.env.BASE_URL}>
4849
{/* <RedirectWithState /> */}
4950
<div className="App">
50-
<Navbar loggedin={user ? "true" : "false"} />
51+
<Navbar loggedin={user ? 'true' : 'false'} />
5152
<div className="auth-wrapper">
5253
<div className="auth-inner">
5354
<Routes>
@@ -68,6 +69,7 @@ function App() {
6869
<Route path="/courses/:courseName" element={<CourseDetail />} />
6970
<Route path="/" element={<Dashboard courses={courses} />} />
7071
<Route path="/search" element={<SearchResults />} />
72+
<Route path="/contributors" element={<Contributors />}></Route>
7173
</Routes>
7274
<ToastContainer />
7375
</div>

src/components/Footer.jsx

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,21 +6,25 @@ export default function Footer() {
66

77
return (
88
<footer className=" text-center text-lg-start align-items-center fixed-bottom">
9-
109
<div className="d-flex justify-content-between p-3">
11-
1210
<button className="btn btn-secondary" onClick={() => navigate(-1)}>
1311
<i className="fa-solid fa-circle-left"></i> back
1412
</button>
15-
<div className="text-center p-3" style={{ backgroundColor: 'rgba(0, 0, 0, 0.05)' }}>
16-
© <a className="text-body" href="https://krimsonsquad.tech/">Krimsonsquad.tech</a> 2024
13+
<div
14+
className="text-center p-3"
15+
style={{ backgroundColor: 'rgba(0, 0, 0, 0.05)' }}
16+
>
17+
©{' '}
18+
<a className="text-body" href="https://krimsonsquad.tech/">
19+
Krimsonsquad.tech
20+
</a>{' '}
21+
2024
1722
</div>
1823
{/* Forward Button - Right Side */}
1924
<button className="btn btn-secondary" onClick={() => navigate(1)}>
2025
<i className="fa-solid fa-circle-right"></i> forward
2126
</button>
2227
</div>
23-
2428
</footer>
2529
);
2630
}

0 commit comments

Comments
 (0)