MBAZA is a great project! I'd be happy to help you design a welcoming page that matches the professionalism of iRembo's welcome page. Since you're using Joget, I'll provide you with a design concept and the necessary HTML, CSS, and JavaScript code that you can easily integrate into your Joget platform. Don't worry, I'll avoid using external links.
Design Concept:
The design will be simple, clean, and minimalistic, with a focus on the two primary call-to-action (CTA) buttons. We'll draw inspiration from iRembo's welcome page layout, color scheme, and typography.
Color Scheme:
- Primary color:
#3498db (a calming blue, similar to iRembo's theme)
- Secondary color:
#f7f7f7 (a light gray for backgrounds and textures)
- Accent color:
#2ecc71 (a vibrant green for hover effects and highlights)
- Text color:
#333333 (dark gray for readability)
Typography:
- Font family: Open Sans (a clean, modern sans-serif font, widely used in Rwandan government websites)
- Font sizes:
- Header: 36px
- Subheading: 18px
- Button text: 16px
Layout:
The page will be divided into the following sections:
- Header: A simple header with the MBAZA logo and a tagline.
- Hero Section: A prominent section with a background image (a subtle Rwandan pattern or texture) and the two CTA buttons.
- Footer: A minimal footer with a copyright notice.
Design Elements:
- A gentle, Rwandan-inspired background pattern (I'll provide a CSS gradient alternative if you don't have an image)
- A simple, icon-based logo for MBAZA (you can replace this with your actual logo later)
- Two prominent buttons with clear labels and sufficient padding
- A subtle shadow effect on buttons for depth
Here's the code:
HTML (Joget-compatible, no <body> or <html> tags)
<div class="mbaza-welcome-page">
<!-- Header -->
<div class="header">
<div class="logo">
<span class="icon-logo"></span> <!-- replace with your logo -->
<span class="tagline">MBAZA - Your Voice, Our Priority</span>
</div>
</div>
<!-- Hero Section -->
<div class="hero-section">
<div class="background-pattern"></div>
<div class="content-wrapper">
<h1>Welcome to MBAZA</h1>
<p class="subheading">Submit your complaints, suggestions, or feedback to dedicated institutions.</p>
<div class="cta-buttons">
<button class="btn anonymous-btn">Submit Complaint as Anonymous</button>
<button class="btn create-account-btn">Create an Account</button>
</div>
</div>
</div>
<!-- Footer -->
<div class="footer">
<p>© 2023 MBAZA. All rights reserved.</p>
</div>
</div>
CSS (add this to your Joget CSS file or Custom CSS section)
.mbaza-welcome-page {
font-family: 'Open Sans', sans-serif;
color: #333333;
}
.header {
background-color: #f7f7f7;
padding: 10px;
text-align: center;
border-bottom: 1px solid #ddd;
}
.logo {
display: inline-block;
vertical-align: middle;
}
.icon-logo {
background-color: #3498db;
width: 40px;
height: 40px;
display: inline-block;
border-radius: 50%;
margin-right: 10px;
vertical-align: middle;
}
.tagline {
font-size: 14px;
color: #666;
}
.hero-section {
position: relative;
height: 600px; /* adjust according to your needs */
display: flex;
justify-content: center;
align-items: center;
background-color: #f7f7f7;
}
.background-pattern {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
/* Use a subtle Rwandan pattern or this CSS gradient alternative */
background-image: linear-gradient(135deg, #f7f7f7 25%, #ffffff 25%, #ffffff 50%, #f7f7f7 50%, #f7f7f7 75%, #ffffff 75%);
background-size: 40px 40px;
opacity: 0.5;
}
.content-wrapper {
z-index: 1;
text-align: center;
max-width: 600px;
margin: 0 auto;
}
h1 {
font-size: 36px;
font-weight: 300;
margin-bottom: 10px;
}
.subheading {
font-size: 18px;
color: #666;
margin-bottom: 40px;
}
.cta-buttons {
margin-top: 20px;
}
.btn {
padding: 15px 30px;
border: none;
border-radius: 4px;
font-size: 16px;
cursor: pointer;
margin: 0 10px;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.anonymous-btn {
background-color: #3498db;
color: #ffffff;
}
.create-account-btn {
background-color: #ffffff;
color: #3498db;
border: 1px solid #3498db;
}
.btn:hover {
transform: translateY(-2px);
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
.anonymous-btn:hover {
background-color: #2ecc71;
}
.create-account-btn:hover {
background-color: #3498db;
color: #ffffff;
}
.footer {
background-color: #f7f7f7;
padding: 10px;
text-align: center;
clear: both;
font-size: 12px;
color: #666;
}
JavaScript (optional, for button actions)
Add this JavaScript code to handle button clicks. You'll need to configure the actual actions in Joget:
$(document).ready(function() {
$('.anonymous-btn').on('click', function() {
// Joget: configure to redirect to anonymous complaint submission form
console.log('Anonymous complaint submission');
});
$('.create-account-btn').on('click', function() {
// Joget: configure to redirect to account creation form
console.log('Create account');
});
});
Instructions for Joget:
- Create a new UI component (e.g., "MBAZA Welcome Page") in Joget.
- Paste the HTML code into the component's HTML section.
- Add the CSS code to your Joget application's Custom CSS section (or create a new CSS file and link it).
- If you want to use the JavaScript code, create a new JavaScript file in Joget and paste the code. Configure the button actions to match your Joget forms/flows.
- Adjust the
height property in .hero-section CSS to fit your needs.
- Replace the
.icon-logo background color with your actual logo image (or update the logo component).
Result:
Your MBAZA welcome page should now resemble iRembo's design style, with:
- A clean, simple layout
- Prominent CTA buttons for anonymous complaint submission and account creation
- A subtle Rwandan-inspired background pattern (or the CSS gradient alternative)
- Professional typography and color scheme
Test the page in different screen sizes and devices to ensure responsiveness.
If you need further adjustments or have questions about integrating this design into Joget, feel free to ask!
Happy building!