Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rohail052 patch 1 #30

Open
wants to merge 39 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
39 commits
Select commit Hold shift + click to select a range
45bccaa
Update index.html
Rohail052 Jun 3, 2024
dcdcb1f
Update index.html
Rohail052 Jun 3, 2024
016a4b4
Update index.html
Rohail052 Jun 3, 2024
852d091
Update index.html
Rohail052 Jun 3, 2024
d8b8dd1
Update index.html
Rohail052 Jun 3, 2024
85a875e
Create CNAME
Rohail052 Jun 3, 2024
ebb7e75
Update index.html
Rohail052 Jun 3, 2024
ddf25ba
Update index.html
Rohail052 Jun 3, 2024
d322a06
Update index.html
Rohail052 Jun 3, 2024
4464610
Update index.html
Rohail052 Jun 18, 2024
8e62367
Add files via upload
Rohail052 Jun 18, 2024
27869c2
Update website.html
Rohail052 Jun 18, 2024
2255d04
Update website.html
Rohail052 Jul 12, 2024
94c0126
Add files via upload
Rohail052 Jul 31, 2024
47cad62
Update index.html
Rohail052 Jul 31, 2024
028c897
Update index.html
Rohail052 Aug 1, 2024
76c4667
Update index.html
Rohail052 Aug 1, 2024
9ac3d50
Update index.html
Rohail052 Aug 11, 2024
a7b5520
Update Readme.md
Rohail052 Aug 11, 2024
a4a49df
Add files via upload
Rohail052 Aug 13, 2024
8a89053
Update index.html
Rohail052 Aug 13, 2024
9047167
Update index.html
Rohail052 Aug 24, 2024
3099d87
Update website.html
Rohail052 Aug 24, 2024
80ac9ea
Update index.html
Rohail052 Aug 24, 2024
7d2420c
Update index.html
Rohail052 Aug 24, 2024
87a5d8e
Add files via upload
Rohail052 Sep 13, 2024
364622d
Update index.html
Rohail052 Sep 13, 2024
88fe123
Update index.html
Rohail052 Sep 13, 2024
6f323ee
Rename login.html to 132456754.html
Rohail052 Sep 13, 2024
6691d44
Rename login.css to loginold.css
Rohail052 Sep 13, 2024
9703e45
Rename after-login.html to 121-login.html
Rohail052 Sep 13, 2024
1b1f0de
Add files via upload
Rohail052 Sep 13, 2024
32af5f4
Update after-login.html
Rohail052 Sep 13, 2024
ad13e9b
Update after-login.html
Rohail052 Sep 13, 2024
94432da
Update index.html
Rohail052 Sep 13, 2024
1269cd7
Update more.html
Rohail052 Sep 13, 2024
3367bc4
Update more.html
Rohail052 Sep 13, 2024
14a858b
Update more.html
Rohail052 Sep 13, 2024
0114bb2
Update more.html
Rohail052 Sep 13, 2024
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
30 changes: 30 additions & 0 deletions 121-login.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>After Login Page</title>
<link rel="stylesheet" href="login.css">
</head>
<body>
<h1>Welcome to the After Login Page</h1>
<button onclick="handleLogout()">Logout</button>

<script>
// Check if the user is logged in before accessing the page
window.onload = function() {
const loggedIn = sessionStorage.getItem('loggedIn');
if (!loggedIn) {
alert('You must log in first.');
window.location.href = 'login.html'; // Redirect to login page if not logged in
}
}

// Handle logout
function handleLogout() {
sessionStorage.removeItem('loggedIn'); // Remove session data on logout
window.location.href = 'login.html'; // Redirect to login page
}
</script>
</body>
</html>
68 changes: 68 additions & 0 deletions 132456754.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Login Page</title>
<link rel="stylesheet" href="login.css">
</head>
<body>
<div class="wrapper">
<div class="login-box">
<form id="loginForm" onsubmit="handleLogin(event)">
<h2>Login</h2>

<div class="input-box">
<span class="icon">
<ion-icon name="mail"></ion-icon>
</span>
<input type="email" id="emailInput" required>
<label>Email</label>
</div>

<div class="input-box">
<span class="icon">
<ion-icon name="lock-closed"></ion-icon>
</span>
<input type="password" id="passwordInput" required>
<label>Password</label>
</div>

<div class="remember-forgot">
<label><input type="checkbox"> Remember me</label>
<a href="#">Forgot Password?</a>
</div>

<button type="submit">Login</button>

<div class="register-link">
<p>Don't have an account? <a href="#">Register</a></p>
</div>
</form>
</div>
</div>

<script>
// Fake user database (replace with a backend and proper database)
const users = [
{ email: '[email protected]', password: '123' },
];

function handleLogin(event) {
event.preventDefault(); // Prevents the form from submitting normally

const email = document.getElementById('emailInput').value;
const password = document.getElementById('passwordInput').value;

const user = users.find(u => u.email === email && u.password === password);
if (user) {
// Store session data to prevent access after logout
sessionStorage.setItem('loggedIn', 'true');
window.location.href = 'after-login.html'; // Redirect to after-login page
} else {
alert('Invalid credentials. Please try again.');
}
}
</script>
</body>
</html>
1 change: 1 addition & 0 deletions CNAME
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
chrohail.org
12 changes: 12 additions & 0 deletions Meeting Scheduler.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Meeting Scheduler</title>
</head>
<body>
<iframe src="https://koalendar.com/e/meet-with-rohail-ch?embed=true" width="100%" height="800px" frameborder="0"></iframe>
</body>
</html>

76 changes: 0 additions & 76 deletions Readme.md
Original file line number Diff line number Diff line change
@@ -1,77 +1 @@
# Personal Portfolio 🔥
> https://rajaprerak.github.io/

:star: Star me on GitHub — it helps!

[![Maintenance](https://img.shields.io/badge/maintained-yes-green.svg)](https://github.com/rajaprerak/rajaprerak.github.io/commits/master)
[![Website shields.io](https://img.shields.io/badge/website-up-yellow)](http://rajaprerak.github.io/)
[![Ask Me Anything !](https://img.shields.io/badge/ask%20me-linkedin-1abc9c.svg)](https://www.linkedin.com/in/rajaprerak/)
[![License](http://img.shields.io/:license-mit-blue.svg?style=flat-square)](http://badges.mit-license.org)

### Website Preview
#### Home Page
<img src="website_images/HomePage.gif" width="900">


#### About Page
<img src="website_images/AboutPage.png" width="900">


#### Projects Page
<img src="website_images/ProjectPage.png" width="900">



:star: Star me on GitHub — it helps!

## Features 📋
⚡️ Fully Responsive\
⚡️ Valid HTML5 & CSS3\
⚡️ Typing animation using `Typed.js`\
⚡️ Easy to modify

## Installation & Deployment 📦
- Clone the repository and modify the content of <b>index.html</b>
- Add or remove images from `assets/img/` directory as per your requirement.
- Update the info of `projects` folder according to your need
- Use [Github Pages](https://create-react-app.dev/docs/deployment/#github-pages) to create your own website.
- To deploy your website, first you need to create github repository with name `<your-github-username>.github.io` and push the generated code to the `master` branch.

## Sections 📚
✔️ About\
✔️ Interests\
✔️ Education\
✔️ Online Certification\
✔️ Experience\
✔️ Projects \
✔️ Skills \
✔️ Resume\
✔️ Contact Info



## Tools Used 🛠️
* <b>GitHub Pages</b> - To host my static website (HTML, CSS, JS).

## Contributing 💡
#### Step 1

- **Option 1**
- 🍴 Fork this repo!

- **Option 2**
- 👯 Clone this repo to your local machine.


#### Step 2

- **Build your code** 🔨🔨🔨

#### Step 3

- 🔃 Create a new pull request.

## License
[![License](http://img.shields.io/:license-mit-blue.svg?style=flat-square)](http://badges.mit-license.org)

- **[MIT license](http://opensource.org/licenses/mit-license.php)**
30 changes: 30 additions & 0 deletions after-login.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>After Login Page</title>
<link rel="stylesheet" href="login.css">
</head>
<body>
<h1>Welcome to the After Login Page</h1>
<button onclick="handleLogout()">Logout</button>

<script>
// Check if the user is logged in before accessing the page
window.onload = function() {
const loggedIn = sessionStorage.getItem('loggedIn');
if (!loggedIn) {
alert('You must log in first.');
window.location.href = 'login.html'; // Redirect to login page if not logged in
}
}

// Handle logout
function handleLogout() {
sessionStorage.removeItem('loggedIn'); // Remove session data on logout
window.location.href = 'index.html'; // Redirect to login page
}
</script>
</body>
</html>
Loading