Files
school_compare/nextjs-app/components/Pagination.module.css
Tudor ff7f5487e6
Some checks failed
Build and Push Docker Images / Build Backend (FastAPI) (push) Successful in 1m26s
Build and Push Docker Images / Build Frontend (Next.js) (push) Failing after 1m48s
Build and Push Docker Images / Trigger Portainer Update (push) Has been skipped
Complete Next.js migration with SSR and Docker deployment
- Migrate from vanilla JavaScript SPA to Next.js 16 with App Router
- Add server-side rendering for all pages (Home, Compare, Rankings)
- Create individual school pages with dynamic routing (/school/[urn])
- Implement Chart.js and Leaflet map integrations
- Add comprehensive SEO with sitemap, robots.txt, and JSON-LD
- Set up Docker multi-service architecture (PostgreSQL, FastAPI, Next.js)
- Update CI/CD pipeline to build both backend and frontend images
- Fix Dockerfile to include devDependencies for TypeScript compilation
- Add Jest testing configuration
- Implement performance optimizations (code splitting, caching)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-02-02 20:34:35 +00:00

98 lines
1.4 KiB
CSS

.pagination {
display: flex;
flex-direction: column;
align-items: center;
gap: 1rem;
margin: 2rem 0;
}
.info {
font-size: 0.875rem;
color: #6b7280;
}
.controls {
display: flex;
align-items: center;
gap: 0.5rem;
}
.navButton {
padding: 0.5rem 1rem;
font-size: 0.875rem;
font-weight: 500;
background: white;
color: #374151;
border: 1px solid #d1d5db;
border-radius: 6px;
cursor: pointer;
transition: all 0.2s ease;
}
.navButton:hover:not(:disabled) {
background: #f9fafb;
border-color: #9ca3af;
}
.navButton:disabled {
opacity: 0.5;
cursor: not-allowed;
}
.pages {
display: flex;
gap: 0.25rem;
}
.pageButton,
.pageButtonActive {
min-width: 2.5rem;
padding: 0.5rem 0.75rem;
font-size: 0.875rem;
font-weight: 500;
background: white;
border: 1px solid #d1d5db;
border-radius: 6px;
cursor: pointer;
transition: all 0.2s ease;
}
.pageButton {
color: #374151;
}
.pageButton:hover {
background: #f9fafb;
border-color: #9ca3af;
}
.pageButtonActive {
background: #3b82f6;
color: white;
border-color: #3b82f6;
}
.ellipsis {
display: flex;
align-items: center;
padding: 0.5rem 0.75rem;
font-size: 0.875rem;
color: #9ca3af;
}
@media (max-width: 640px) {
.controls {
flex-wrap: wrap;
}
.pages {
order: -1;
width: 100%;
justify-content: center;
}
.navButton {
flex: 1;
}
}