Add trilingual FAQ page and wire FAQ links site-wide
New /<lang>/faq/ page (en/si/mk) with categorised accordion Q&A that link into the Student Welcome Guide, plus a contact/Viber block. Nav 'FAQs' links and 'See all FAQs' buttons across the site now point to it. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
1 parent
5a94c62456
commit
4df3651db7
185 files changed
+1568
-364
No files matched your search
+2
-1
@@ -32,4 +32,5 @@
|
||||
@import 'pages/_article.css';
|
||||
@import 'pages/_about.css';
|
||||
@import 'pages/_timeline.css';
|
||||
@import 'pages/_guide.css';
|
||||
@import 'pages/_guide.css';
|
||||
@import 'pages/_faq.css';
|
||||
@@ -0,0 +1,145 @@
|
||||
/* ==========================================================================
|
||||
FAQ page
|
||||
========================================================================== */
|
||||
.faq-page { font-family: 'Inter', sans-serif; }
|
||||
|
||||
.faq-hero {
|
||||
background: linear-gradient(180deg, #F5FAFB 0%, #FFFFFF 100%);
|
||||
padding: 72px 24px 40px;
|
||||
text-align: center;
|
||||
}
|
||||
.faq-eyebrow {
|
||||
display: inline-block;
|
||||
color: #2D738C;
|
||||
font-weight: 600;
|
||||
font-size: 14px;
|
||||
letter-spacing: 0.04em;
|
||||
text-transform: uppercase;
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
.faq-hero h1 {
|
||||
max-width: 760px;
|
||||
margin: 0 auto 16px;
|
||||
font-size: 40px;
|
||||
line-height: 1.15;
|
||||
color: #101828;
|
||||
}
|
||||
.faq-lead {
|
||||
max-width: 680px;
|
||||
margin: 0 auto;
|
||||
font-size: 18px;
|
||||
line-height: 28px;
|
||||
color: #475467;
|
||||
}
|
||||
|
||||
.faq-body {
|
||||
max-width: 820px;
|
||||
margin: 56px auto;
|
||||
padding: 0 24px;
|
||||
}
|
||||
.faq-cat { margin-bottom: 44px; }
|
||||
.faq-cat h2 {
|
||||
font-size: 22px;
|
||||
color: #101828;
|
||||
margin: 0 0 16px;
|
||||
padding-bottom: 10px;
|
||||
border-bottom: 1px solid #EAECF0;
|
||||
}
|
||||
|
||||
.faq-q {
|
||||
border: 1px solid #EAECF0;
|
||||
border-radius: 12px;
|
||||
margin-bottom: 12px;
|
||||
background: #FFFFFF;
|
||||
transition: box-shadow 0.2s ease, border-color 0.2s ease;
|
||||
}
|
||||
.faq-q[open] {
|
||||
border-color: #D0DEE3;
|
||||
box-shadow: 0 6px 16px rgba(16, 24, 40, 0.06);
|
||||
}
|
||||
.faq-q summary {
|
||||
list-style: none;
|
||||
cursor: pointer;
|
||||
padding: 18px 20px;
|
||||
font-weight: 600;
|
||||
font-size: 16px;
|
||||
color: #101828;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
gap: 16px;
|
||||
}
|
||||
.faq-q summary::-webkit-details-marker { display: none; }
|
||||
.faq-q summary::after {
|
||||
content: '\f078';
|
||||
font-family: 'Font Awesome 6 Free';
|
||||
font-weight: 900;
|
||||
font-size: 13px;
|
||||
color: #2D738C;
|
||||
flex: 0 0 auto;
|
||||
transition: transform 0.2s ease;
|
||||
}
|
||||
.faq-q[open] summary::after { transform: rotate(180deg); }
|
||||
.faq-a {
|
||||
padding: 0 20px 20px;
|
||||
color: #475467;
|
||||
font-size: 15px;
|
||||
line-height: 26px;
|
||||
}
|
||||
.faq-a p { margin: 0 0 12px; }
|
||||
.faq-a a {
|
||||
color: #2D738C;
|
||||
font-weight: 600;
|
||||
text-decoration: none;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
}
|
||||
.faq-a a:hover { text-decoration: underline; }
|
||||
|
||||
.faq-contact {
|
||||
max-width: 820px;
|
||||
margin: 0 auto 72px;
|
||||
padding: 40px 24px;
|
||||
text-align: center;
|
||||
background: #F5FAFB;
|
||||
border: 1px solid #EAECF0;
|
||||
border-radius: 16px;
|
||||
}
|
||||
.faq-contact h2 { font-size: 22px; color: #101828; margin: 0 0 10px; }
|
||||
.faq-contact p {
|
||||
max-width: 620px;
|
||||
margin: 0 auto 24px;
|
||||
color: #475467;
|
||||
font-size: 16px;
|
||||
line-height: 26px;
|
||||
}
|
||||
.faq-contact-actions {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
gap: 12px;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
.faq-viber-btn {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
padding: 12px 22px;
|
||||
border-radius: 8px;
|
||||
font-weight: 600;
|
||||
font-size: 15px;
|
||||
text-decoration: none;
|
||||
color: #FFFFFF;
|
||||
background: linear-gradient(135deg, #7360F2 0%, #5B45D6 100%);
|
||||
transition: opacity 0.15s ease;
|
||||
}
|
||||
.faq-viber-btn:hover { opacity: 0.9; }
|
||||
|
||||
@media (max-width: 768px) {
|
||||
.faq-hero { padding: 52px 20px 32px; }
|
||||
.faq-hero h1 { font-size: 30px; }
|
||||
.faq-lead { font-size: 16px; }
|
||||
.faq-body { margin: 40px auto; }
|
||||
.faq-contact-actions .btn,
|
||||
.faq-viber-btn { width: 100%; justify-content: center; text-align: center; }
|
||||
}
|
||||
Reference in new issue
Block a user