- Integração Mapbox GL JS para seleção interativa de localização - Mapa arrastável com pin para localização exata - Geocoding e reverse geocoding automático - Busca de endereços com autocomplete - Campos editáveis que atualizam mapa automaticamente - Token configurado via variável de ambiente (.env.local) - Sistema de upload de fotos de fotógrafos - Upload via input de arquivo (substituiu URL) - Preview automático com FileReader API - Botão para remover foto selecionada - Placeholder com ícone de câmera - Remoção de funcionalidades de uploads/álbuns - Removida página Albums.tsx - Removido sistema de attachments - Removida aba Inspiração para empresas - Criada página Inspiração com galeria de exemplo - Melhorias de responsividade - Cards do mapa adaptados para mobile - Texto e padding reduzidos em telas pequenas - Arquivos de configuração - .env.example criado - vite-env.d.ts para tipagem - MAPBOX_SETUP.md com instruções - Footer atualizado com serviços universitários
243 lines
No EOL
5.3 KiB
HTML
243 lines
No EOL
5.3 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="pt-BR">
|
|
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
<title>PhotumFormaturas</title>
|
|
|
|
<!-- Mapbox GL CSS (versão CDN confiável) -->
|
|
<link href='https://api.mapbox.com/mapbox-gl-js/v2.15.0/mapbox-gl.css' rel='stylesheet' />
|
|
|
|
<script src="https://cdn.tailwindcss.com"></script>
|
|
<link
|
|
href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,600;1,400&display=swap"
|
|
rel="stylesheet">
|
|
<script>
|
|
tailwind.config = {
|
|
theme: {
|
|
extend: {
|
|
fontFamily: {
|
|
sans: ['Inter', 'sans-serif'],
|
|
serif: ['Playfair Display', 'serif'],
|
|
},
|
|
colors: {
|
|
brand: {
|
|
black: '#1a1a1a',
|
|
gold: '#B9CF33',
|
|
gray: '#f4f4f4',
|
|
darkgray: '#333333'
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
</script>
|
|
<style>
|
|
html {
|
|
scroll-behavior: smooth;
|
|
}
|
|
|
|
::-webkit-scrollbar {
|
|
width: 8px;
|
|
}
|
|
|
|
::-webkit-scrollbar-track {
|
|
background: #f1f1f1;
|
|
}
|
|
|
|
::-webkit-scrollbar-thumb {
|
|
background: #B9CF33;
|
|
border-radius: 4px;
|
|
}
|
|
|
|
::-webkit-scrollbar-thumb:hover {
|
|
background: #a5bd2e;
|
|
}
|
|
|
|
/* Loading Screen */
|
|
#loading-screen {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
background: linear-gradient(135deg, #492E61 0%, #6B4694 100%);
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
z-index: 9999;
|
|
animation: fadeOut 0.5s ease-out 2.5s forwards;
|
|
}
|
|
|
|
@keyframes fadeOut {
|
|
to {
|
|
opacity: 0;
|
|
visibility: hidden;
|
|
}
|
|
}
|
|
|
|
.loading-logo {
|
|
width: 200px;
|
|
height: auto;
|
|
margin-bottom: 30px;
|
|
animation: scaleIn 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
|
|
}
|
|
|
|
@keyframes scaleIn {
|
|
from {
|
|
opacity: 0;
|
|
transform: scale(0.5);
|
|
}
|
|
to {
|
|
opacity: 1;
|
|
transform: scale(1);
|
|
}
|
|
}
|
|
|
|
.loading-text {
|
|
color: white;
|
|
font-size: 24px;
|
|
font-weight: 300;
|
|
letter-spacing: 3px;
|
|
margin-bottom: 20px;
|
|
animation: fadeInUp 0.8s ease-out 0.3s both;
|
|
}
|
|
|
|
@keyframes fadeInUp {
|
|
from {
|
|
opacity: 0;
|
|
transform: translateY(20px);
|
|
}
|
|
to {
|
|
opacity: 1;
|
|
transform: translateY(0);
|
|
}
|
|
}
|
|
|
|
.loading-bar {
|
|
width: 200px;
|
|
height: 3px;
|
|
background: rgba(255, 255, 255, 0.2);
|
|
border-radius: 10px;
|
|
overflow: hidden;
|
|
animation: fadeInUp 0.8s ease-out 0.5s both;
|
|
}
|
|
|
|
.loading-bar-fill {
|
|
height: 100%;
|
|
background: linear-gradient(90deg, #B9CF33, #C2388B);
|
|
border-radius: 10px;
|
|
animation: loadingProgress 2s ease-out forwards;
|
|
}
|
|
|
|
@keyframes loadingProgress {
|
|
from {
|
|
width: 0%;
|
|
}
|
|
to {
|
|
width: 100%;
|
|
}
|
|
}
|
|
|
|
.fade-in {
|
|
animation: fadeIn 0.5s ease-out forwards;
|
|
}
|
|
|
|
.slide-up {
|
|
animation: slideUp 0.6s ease-out forwards;
|
|
}
|
|
|
|
@keyframes fadeIn {
|
|
from {
|
|
opacity: 0;
|
|
}
|
|
to {
|
|
opacity: 1;
|
|
}
|
|
}
|
|
|
|
@keyframes slideUp {
|
|
from {
|
|
opacity: 0;
|
|
transform: translateY(20px);
|
|
}
|
|
to {
|
|
opacity: 1;
|
|
transform: translateY(0);
|
|
}
|
|
}
|
|
|
|
/* Page entrance animation */
|
|
#root {
|
|
animation: pageEntrance 0.5s ease-out 2.5s both;
|
|
}
|
|
|
|
@keyframes pageEntrance {
|
|
from {
|
|
opacity: 0;
|
|
transform: translateY(10px);
|
|
}
|
|
to {
|
|
opacity: 1;
|
|
transform: translateY(0);
|
|
}
|
|
}
|
|
|
|
/* Mapbox custom styles */
|
|
.mapboxgl-ctrl-group {
|
|
border-radius: 8px !important;
|
|
box-shadow: 0 2px 8px rgba(0,0,0,0.15) !important;
|
|
}
|
|
|
|
.mapboxgl-ctrl-group button {
|
|
width: 36px !important;
|
|
height: 36px !important;
|
|
}
|
|
|
|
.mapboxgl-ctrl-geolocate {
|
|
background-color: white !important;
|
|
}
|
|
|
|
.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate .mapboxgl-ctrl-icon {
|
|
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 2v20M2 12h20'/%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3C/svg%3E") !important;
|
|
}
|
|
|
|
.custom-marker {
|
|
cursor: grab !important;
|
|
transition: transform 0.2s ease;
|
|
}
|
|
|
|
.custom-marker:active {
|
|
cursor: grabbing !important;
|
|
transform: scale(1.1);
|
|
}
|
|
|
|
.mapboxgl-popup {
|
|
max-width: 300px !important;
|
|
}
|
|
|
|
.mapboxgl-popup-content {
|
|
border-radius: 8px !important;
|
|
padding: 15px !important;
|
|
box-shadow: 0 4px 12px rgba(0,0,0,0.15) !important;
|
|
}
|
|
</style>
|
|
</head>
|
|
|
|
<body class="bg-white text-brand-black antialiased selection:bg-brand-gold selection:text-white">
|
|
<!-- Loading Screen -->
|
|
<div id="loading-screen">
|
|
<img src="/logo.png" alt="Photum Formaturas" class="loading-logo" />
|
|
<div class="loading-text">PHOTUM FORMATURAS</div>
|
|
<div class="loading-bar">
|
|
<div class="loading-bar-fill"></div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="root"></div>
|
|
<script type="module" src="/index.tsx"></script>
|
|
</body>
|
|
|
|
</html> |