Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Davinci4art committed Nov 8, 2024
0 parents commit 2400514
Show file tree
Hide file tree
Showing 7 changed files with 117 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
node_modules/
10 changes: 10 additions & 0 deletions .replit
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
entrypoint="index.html"
hidden=[".config"]
modules = ["web:v2-20230623-0b7a606"]

[nix]
channel = "stable-23_11"

[deployment]
publicDir = "/"
deploymentTarget = "static"
11 changes: 11 additions & 0 deletions app.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
// app.js

document.addEventListener('DOMContentLoaded', () => {
// Check if on the onboarding page
if (document.getElementById('startButton')) {
document.getElementById('startButton').addEventListener('click', () => {
// Redirect to the main dashboard (index.html)
window.location.href = '../index.html';
});
}
});
45 changes: 45 additions & 0 deletions assets/style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
/* style.css */

body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
background-color: #f0f0f0;
color: #333;
}

header {
background-color: #007aff;
color: white;
padding: 15px;
text-align: center;
}

#app, #onboarding {
display: flex;
flex-direction: column;
align-items: center;
padding: 20px;
text-align: center;
}

.onboarding-steps .step {
margin-bottom: 20px;
padding: 15px;
border: 1px solid #ddd;
border-radius: 8px;
background-color: #ffffff;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
max-width: 400px;
}

#startButton {
padding: 10px 20px;
font-size: 16px;
color: #fff;
background-color: #007aff;
border: none;
border-radius: 5px;
cursor: pointer;
margin-top: 20px;
}
Empty file added data/HandbookM41.json
Empty file.
19 changes: 19 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>USPS Carrier Support App</title>
<link rel="stylesheet" href="assets/style.css">
</head>
<body>
<header>
<h1>USPS Carrier Support App</h1>
</header>
<main id="app">
<h2>Welcome to the Dashboard</h2>
<p>Track your tasks and access USPS resources.</p>
</main>
<script type="module" src="app.js"></script>
</body>
</html>
31 changes: 31 additions & 0 deletions pages/onboarding.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Onboarding - USPS Carrier Support App</title>
<link rel="stylesheet" href="../assets/style.css">
</head>
<body>
<div id="onboarding">
<h1>Welcome to the USPS Carrier Support App</h1>
<p>Let's get you set up with everything you need.</p>
<div class="onboarding-steps">
<div class="step">
<h2>Step 1: Learn the Dashboard</h2>
<p>Explore the main features and tools you can use.</p>
</div>
<div class="step">
<h2>Step 2: Set Up Your Preferences</h2>
<p>Customize notifications and personalized options.</p>
</div>
<div class="step">
<h2>Step 3: Access USPS Resources</h2>
<p>Find helpful links and manage packages with ease.</p>
</div>
</div>
<button id="startButton">Get Started</button>
</div>
<script src="../app.js"></script>
</body>
</html>

0 comments on commit 2400514

Please sign in to comment.