Create a modern and responsive landing page for Portal Amixx access
Implements HTML, CSS (with theme toggle), and Font Awesome for a responsive landing page with a dark/light theme switch. Replit-Commit-Author: Agent Replit-Commit-Session-Id: 55e82cb8-1efd-4207-b5ea-909ed5ea5072 Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/384cba56-07d6-4b99-a92b-ff797264613a/9290aef4-4b5e-472a-b8fb-b13752924be3.jpg
This commit is contained in:
28
.replit
Normal file
28
.replit
Normal file
@@ -0,0 +1,28 @@
|
||||
modules = ["nodejs-20", "python-3.11"]
|
||||
|
||||
[nix]
|
||||
channel = "stable-24_05"
|
||||
|
||||
[workflows]
|
||||
runButton = "Project"
|
||||
|
||||
[[workflows.workflow]]
|
||||
name = "Project"
|
||||
mode = "parallel"
|
||||
author = "agent"
|
||||
|
||||
[[workflows.workflow.tasks]]
|
||||
task = "workflow.run"
|
||||
args = "Portal Amixx Server"
|
||||
|
||||
[[workflows.workflow]]
|
||||
name = "Portal Amixx Server"
|
||||
author = "agent"
|
||||
|
||||
[[workflows.workflow.tasks]]
|
||||
task = "shell.exec"
|
||||
args = "python3 -m http.server 5000"
|
||||
waitForPort = 5000
|
||||
|
||||
[deployment]
|
||||
run = ["sh", "-c", "python3 -m http.server 5000"]
|
||||
200
index.html
Normal file
200
index.html
Normal file
@@ -0,0 +1,200 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="pt-br">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Portal Amixx - Acesso aos Sistemas</title>
|
||||
<link href="style.css" rel="stylesheet" type="text/css">
|
||||
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap" rel="stylesheet">
|
||||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
|
||||
</head>
|
||||
<body>
|
||||
<div class="container">
|
||||
<!-- Header -->
|
||||
<header class="header">
|
||||
<div class="logo-section">
|
||||
<div class="logo">
|
||||
<i class="fas fa-layer-group"></i>
|
||||
<h1>Portal Amixx</h1>
|
||||
</div>
|
||||
<p class="subtitle">Central de Acesso aos Sistemas</p>
|
||||
</div>
|
||||
<button class="theme-toggle" id="themeToggle" aria-label="Alternar tema">
|
||||
<i class="fas fa-sun"></i>
|
||||
<i class="fas fa-moon"></i>
|
||||
</button>
|
||||
</header>
|
||||
|
||||
<!-- Main Content -->
|
||||
<main class="main-content">
|
||||
<div class="systems-grid">
|
||||
<!-- Row 1 -->
|
||||
<a href="https://requisicao.aplicativopro.com/login" class="system-card">
|
||||
<div class="card-icon">
|
||||
<i class="fas fa-users"></i>
|
||||
</div>
|
||||
<div class="card-content">
|
||||
<h3>Pessoal</h3>
|
||||
<p>Gestão de Recursos Humanos</p>
|
||||
</div>
|
||||
<div class="card-arrow">
|
||||
<i class="fas fa-arrow-right"></i>
|
||||
</div>
|
||||
</a>
|
||||
|
||||
<a href="https://movimentacao.aplicativopro.com/login" class="system-card">
|
||||
<div class="card-icon">
|
||||
<i class="fas fa-exchange-alt"></i>
|
||||
</div>
|
||||
<div class="card-content">
|
||||
<h3>Movimento</h3>
|
||||
<p>Controle de Movimentações</p>
|
||||
</div>
|
||||
<div class="card-arrow">
|
||||
<i class="fas fa-arrow-right"></i>
|
||||
</div>
|
||||
</a>
|
||||
|
||||
<a href="https://descricaocargos.aplicativopro.com/login" class="system-card">
|
||||
<div class="card-icon">
|
||||
<i class="fas fa-clipboard-list"></i>
|
||||
</div>
|
||||
<div class="card-content">
|
||||
<h3>Desc Cargos</h3>
|
||||
<p>Descrição de Cargos</p>
|
||||
</div>
|
||||
<div class="card-arrow">
|
||||
<i class="fas fa-arrow-right"></i>
|
||||
</div>
|
||||
</a>
|
||||
|
||||
<!-- Row 2 -->
|
||||
<a href="https://ppu.aplicativopro.com/login" class="system-card">
|
||||
<div class="card-icon">
|
||||
<i class="fas fa-credit-card"></i>
|
||||
</div>
|
||||
<div class="card-content">
|
||||
<h3>PayPerUse</h3>
|
||||
<p>Sistema de Pagamento</p>
|
||||
</div>
|
||||
<div class="card-arrow">
|
||||
<i class="fas fa-arrow-right"></i>
|
||||
</div>
|
||||
</a>
|
||||
|
||||
<a href="https://faturamento.aplicativopro.com/login" class="system-card">
|
||||
<div class="card-icon">
|
||||
<i class="fas fa-file-invoice"></i>
|
||||
</div>
|
||||
<div class="card-content">
|
||||
<h3>Nota Fiscal</h3>
|
||||
<p>Faturamento e NF-e</p>
|
||||
</div>
|
||||
<div class="card-arrow">
|
||||
<i class="fas fa-arrow-right"></i>
|
||||
</div>
|
||||
</a>
|
||||
|
||||
<!-- Row 3 -->
|
||||
<a href="https://sgq.aplicativopro.com/login" class="system-card">
|
||||
<div class="card-icon">
|
||||
<i class="fas fa-award"></i>
|
||||
</div>
|
||||
<div class="card-content">
|
||||
<h3>Qualidade</h3>
|
||||
<p>Sistema de Gestão da Qualidade</p>
|
||||
</div>
|
||||
<div class="card-arrow">
|
||||
<i class="fas fa-arrow-right"></i>
|
||||
</div>
|
||||
</a>
|
||||
|
||||
<a href="https://reuniao.aplicativopro.com/login" class="system-card">
|
||||
<div class="card-icon">
|
||||
<i class="fas fa-calendar-alt"></i>
|
||||
</div>
|
||||
<div class="card-content">
|
||||
<h3>Reunião</h3>
|
||||
<p>Gestão de Reuniões</p>
|
||||
</div>
|
||||
<div class="card-arrow">
|
||||
<i class="fas fa-arrow-right"></i>
|
||||
</div>
|
||||
</a>
|
||||
|
||||
<a href="https://compras.aplicativopro.com/login" class="system-card">
|
||||
<div class="card-icon">
|
||||
<i class="fas fa-shopping-cart"></i>
|
||||
</div>
|
||||
<div class="card-content">
|
||||
<h3>Compras</h3>
|
||||
<p>Sistema de Compras</p>
|
||||
</div>
|
||||
<div class="card-arrow">
|
||||
<i class="fas fa-arrow-right"></i>
|
||||
</div>
|
||||
</a>
|
||||
|
||||
<!-- Row 4 -->
|
||||
<a href="https://precificacao.aplicativopro.com/login" class="system-card">
|
||||
<div class="card-icon">
|
||||
<i class="fas fa-chart-line"></i>
|
||||
</div>
|
||||
<div class="card-content">
|
||||
<h3>Comercial</h3>
|
||||
<p>Precificação e Vendas</p>
|
||||
</div>
|
||||
<div class="card-arrow">
|
||||
<i class="fas fa-arrow-right"></i>
|
||||
</div>
|
||||
</a>
|
||||
|
||||
<a href="https://contrato.aplicativopro.com/login" class="system-card">
|
||||
<div class="card-icon">
|
||||
<i class="fas fa-file-contract"></i>
|
||||
</div>
|
||||
<div class="card-content">
|
||||
<h3>Contratos</h3>
|
||||
<p>Gestão de Contratos</p>
|
||||
</div>
|
||||
<div class="card-arrow">
|
||||
<i class="fas fa-arrow-right"></i>
|
||||
</div>
|
||||
</a>
|
||||
</div>
|
||||
</main>
|
||||
|
||||
<!-- Footer -->
|
||||
<footer class="footer">
|
||||
<p>© 2024 Portal Amixx. Todos os direitos reservados.</p>
|
||||
</footer>
|
||||
</div>
|
||||
|
||||
<script>
|
||||
// Theme Toggle Functionality
|
||||
const themeToggle = document.getElementById('themeToggle');
|
||||
const body = document.body;
|
||||
|
||||
// Check for saved theme preference or default to dark mode
|
||||
const currentTheme = localStorage.getItem('theme') || 'dark';
|
||||
body.setAttribute('data-theme', currentTheme);
|
||||
|
||||
themeToggle.addEventListener('click', () => {
|
||||
const currentTheme = body.getAttribute('data-theme');
|
||||
const newTheme = currentTheme === 'dark' ? 'light' : 'dark';
|
||||
|
||||
body.setAttribute('data-theme', newTheme);
|
||||
localStorage.setItem('theme', newTheme);
|
||||
});
|
||||
|
||||
// Add loading animation to cards on page load
|
||||
document.addEventListener('DOMContentLoaded', () => {
|
||||
const cards = document.querySelectorAll('.system-card');
|
||||
cards.forEach((card, index) => {
|
||||
card.style.animationDelay = `${index * 0.1}s`;
|
||||
card.classList.add('animate-in');
|
||||
});
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
412
style.css
Normal file
412
style.css
Normal file
@@ -0,0 +1,412 @@
|
||||
/* CSS Variables for Theme Management */
|
||||
:root {
|
||||
/* Dark Theme (Default) */
|
||||
--bg-primary: #0a0b0f;
|
||||
--bg-secondary: #1a1d29;
|
||||
--bg-tertiary: #242837;
|
||||
--text-primary: #ffffff;
|
||||
--text-secondary: #b8bcc8;
|
||||
--text-muted: #7c8394;
|
||||
--accent-primary: #6366f1;
|
||||
--accent-secondary: #8b5cf6;
|
||||
--accent-success: #10b981;
|
||||
--accent-warning: #f59e0b;
|
||||
--accent-error: #ef4444;
|
||||
--border-color: #2d3748;
|
||||
--shadow-color: rgba(0, 0, 0, 0.3);
|
||||
--gradient-primary: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
|
||||
--gradient-secondary: linear-gradient(135deg, #10b981 0%, #059669 100%);
|
||||
}
|
||||
|
||||
/* Light Theme */
|
||||
[data-theme="light"] {
|
||||
--bg-primary: #ffffff;
|
||||
--bg-secondary: #f8fafc;
|
||||
--bg-tertiary: #f1f5f9;
|
||||
--text-primary: #1e293b;
|
||||
--text-secondary: #475569;
|
||||
--text-muted: #64748b;
|
||||
--accent-primary: #6366f1;
|
||||
--accent-secondary: #8b5cf6;
|
||||
--accent-success: #10b981;
|
||||
--accent-warning: #f59e0b;
|
||||
--accent-error: #ef4444;
|
||||
--border-color: #e2e8f0;
|
||||
--shadow-color: rgba(0, 0, 0, 0.1);
|
||||
--gradient-primary: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
|
||||
--gradient-secondary: linear-gradient(135deg, #10b981 0%, #059669 100%);
|
||||
}
|
||||
|
||||
/* Reset and Base Styles */
|
||||
* {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
body {
|
||||
font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
|
||||
background: var(--bg-primary);
|
||||
color: var(--text-primary);
|
||||
line-height: 1.6;
|
||||
transition: all 0.3s ease;
|
||||
min-height: 100vh;
|
||||
}
|
||||
|
||||
/* Container */
|
||||
.container {
|
||||
max-width: 1200px;
|
||||
margin: 0 auto;
|
||||
padding: 0 20px;
|
||||
min-height: 100vh;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
/* Header Styles */
|
||||
.header {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
padding: 2rem 0;
|
||||
border-bottom: 1px solid var(--border-color);
|
||||
margin-bottom: 3rem;
|
||||
}
|
||||
|
||||
.logo-section {
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
.logo {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.75rem;
|
||||
margin-bottom: 0.5rem;
|
||||
}
|
||||
|
||||
.logo i {
|
||||
font-size: 2rem;
|
||||
background: var(--gradient-primary);
|
||||
-webkit-background-clip: text;
|
||||
-webkit-text-fill-color: transparent;
|
||||
background-clip: text;
|
||||
}
|
||||
|
||||
.logo h1 {
|
||||
font-size: 2.5rem;
|
||||
font-weight: 700;
|
||||
background: var(--gradient-primary);
|
||||
-webkit-background-clip: text;
|
||||
-webkit-text-fill-color: transparent;
|
||||
background-clip: text;
|
||||
}
|
||||
|
||||
.subtitle {
|
||||
color: var(--text-secondary);
|
||||
font-size: 1.1rem;
|
||||
font-weight: 400;
|
||||
}
|
||||
|
||||
/* Theme Toggle */
|
||||
.theme-toggle {
|
||||
position: relative;
|
||||
width: 60px;
|
||||
height: 30px;
|
||||
background: var(--bg-tertiary);
|
||||
border: 2px solid var(--border-color);
|
||||
border-radius: 25px;
|
||||
cursor: pointer;
|
||||
transition: all 0.3s ease;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
padding: 0 8px;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.theme-toggle:hover {
|
||||
transform: scale(1.05);
|
||||
border-color: var(--accent-primary);
|
||||
}
|
||||
|
||||
.theme-toggle i {
|
||||
font-size: 0.8rem;
|
||||
transition: all 0.3s ease;
|
||||
z-index: 2;
|
||||
}
|
||||
|
||||
.theme-toggle .fa-sun {
|
||||
color: var(--accent-warning);
|
||||
opacity: 0.5;
|
||||
}
|
||||
|
||||
.theme-toggle .fa-moon {
|
||||
color: var(--accent-primary);
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
[data-theme="light"] .theme-toggle .fa-sun {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
[data-theme="light"] .theme-toggle .fa-moon {
|
||||
opacity: 0.5;
|
||||
}
|
||||
|
||||
.theme-toggle::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
top: 2px;
|
||||
left: 2px;
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
background: var(--gradient-primary);
|
||||
border-radius: 50%;
|
||||
transition: transform 0.3s ease;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
[data-theme="light"] .theme-toggle::before {
|
||||
transform: translateX(28px);
|
||||
}
|
||||
|
||||
/* Main Content */
|
||||
.main-content {
|
||||
flex: 1;
|
||||
padding-bottom: 2rem;
|
||||
}
|
||||
|
||||
/* Systems Grid */
|
||||
.systems-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
|
||||
gap: 1.5rem;
|
||||
margin-bottom: 3rem;
|
||||
}
|
||||
|
||||
/* System Cards */
|
||||
.system-card {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
padding: 1.5rem;
|
||||
background: var(--bg-secondary);
|
||||
border: 1px solid var(--border-color);
|
||||
border-radius: 16px;
|
||||
text-decoration: none;
|
||||
color: inherit;
|
||||
transition: all 0.3s ease;
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
opacity: 0;
|
||||
transform: translateY(20px);
|
||||
}
|
||||
|
||||
.system-card.animate-in {
|
||||
animation: slideInUp 0.6s ease forwards;
|
||||
}
|
||||
|
||||
@keyframes slideInUp {
|
||||
to {
|
||||
opacity: 1;
|
||||
transform: translateY(0);
|
||||
}
|
||||
}
|
||||
|
||||
.system-card::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
background: var(--gradient-primary);
|
||||
opacity: 0;
|
||||
transition: opacity 0.3s ease;
|
||||
z-index: 0;
|
||||
}
|
||||
|
||||
.system-card:hover::before {
|
||||
opacity: 0.05;
|
||||
}
|
||||
|
||||
.system-card:hover {
|
||||
transform: translateY(-4px);
|
||||
box-shadow: 0 20px 40px var(--shadow-color);
|
||||
border-color: var(--accent-primary);
|
||||
}
|
||||
|
||||
.system-card:hover .card-arrow {
|
||||
transform: translateX(8px);
|
||||
color: var(--accent-primary);
|
||||
}
|
||||
|
||||
.system-card:hover .card-icon {
|
||||
transform: scale(1.1);
|
||||
}
|
||||
|
||||
.system-card > * {
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
/* Card Icon */
|
||||
.card-icon {
|
||||
width: 60px;
|
||||
height: 60px;
|
||||
background: var(--bg-tertiary);
|
||||
border-radius: 12px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
margin-right: 1rem;
|
||||
transition: all 0.3s ease;
|
||||
border: 1px solid var(--border-color);
|
||||
}
|
||||
|
||||
.card-icon i {
|
||||
font-size: 1.5rem;
|
||||
background: var(--gradient-primary);
|
||||
-webkit-background-clip: text;
|
||||
-webkit-text-fill-color: transparent;
|
||||
background-clip: text;
|
||||
}
|
||||
|
||||
/* Card Content */
|
||||
.card-content {
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
.card-content h3 {
|
||||
font-size: 1.25rem;
|
||||
font-weight: 600;
|
||||
margin-bottom: 0.25rem;
|
||||
color: var(--text-primary);
|
||||
}
|
||||
|
||||
.card-content p {
|
||||
font-size: 0.9rem;
|
||||
color: var(--text-secondary);
|
||||
font-weight: 400;
|
||||
}
|
||||
|
||||
/* Card Arrow */
|
||||
.card-arrow {
|
||||
margin-left: 1rem;
|
||||
color: var(--text-muted);
|
||||
transition: all 0.3s ease;
|
||||
}
|
||||
|
||||
.card-arrow i {
|
||||
font-size: 1.1rem;
|
||||
}
|
||||
|
||||
/* Footer */
|
||||
.footer {
|
||||
text-align: center;
|
||||
padding: 2rem 0;
|
||||
border-top: 1px solid var(--border-color);
|
||||
color: var(--text-muted);
|
||||
font-size: 0.9rem;
|
||||
}
|
||||
|
||||
/* Responsive Design */
|
||||
@media (max-width: 768px) {
|
||||
.container {
|
||||
padding: 0 15px;
|
||||
}
|
||||
|
||||
.header {
|
||||
flex-direction: column;
|
||||
gap: 1rem;
|
||||
text-align: center;
|
||||
padding: 1.5rem 0;
|
||||
}
|
||||
|
||||
.logo h1 {
|
||||
font-size: 2rem;
|
||||
}
|
||||
|
||||
.systems-grid {
|
||||
grid-template-columns: 1fr;
|
||||
gap: 1rem;
|
||||
}
|
||||
|
||||
.system-card {
|
||||
padding: 1.25rem;
|
||||
}
|
||||
|
||||
.card-content h3 {
|
||||
font-size: 1.1rem;
|
||||
}
|
||||
|
||||
.card-content p {
|
||||
font-size: 0.85rem;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 480px) {
|
||||
.logo h1 {
|
||||
font-size: 1.75rem;
|
||||
}
|
||||
|
||||
.subtitle {
|
||||
font-size: 1rem;
|
||||
}
|
||||
|
||||
.system-card {
|
||||
padding: 1rem;
|
||||
}
|
||||
|
||||
.card-icon {
|
||||
width: 50px;
|
||||
height: 50px;
|
||||
}
|
||||
|
||||
.card-icon i {
|
||||
font-size: 1.25rem;
|
||||
}
|
||||
}
|
||||
|
||||
/* Additional Animations */
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
* {
|
||||
animation-duration: 0.01ms !important;
|
||||
animation-iteration-count: 1 !important;
|
||||
transition-duration: 0.01ms !important;
|
||||
}
|
||||
}
|
||||
|
||||
/* Focus States for Accessibility */
|
||||
.system-card:focus {
|
||||
outline: 2px solid var(--accent-primary);
|
||||
outline-offset: 2px;
|
||||
}
|
||||
|
||||
.theme-toggle:focus {
|
||||
outline: 2px solid var(--accent-primary);
|
||||
outline-offset: 2px;
|
||||
}
|
||||
|
||||
/* High Contrast Mode Support */
|
||||
@media (prefers-contrast: high) {
|
||||
.system-card {
|
||||
border-width: 2px;
|
||||
}
|
||||
|
||||
.card-icon {
|
||||
border-width: 2px;
|
||||
}
|
||||
}
|
||||
|
||||
/* Print Styles */
|
||||
@media print {
|
||||
.theme-toggle {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.system-card {
|
||||
break-inside: avoid;
|
||||
box-shadow: none;
|
||||
border: 1px solid #000;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user