Changes for page Public Web Site
Last modified by Alex Cotiugă on 2026/05/02 12:23
From version 6.18
edited by Alex Cotiugă
on 2026/05/02 10:06
on 2026/05/02 10:06
Change comment:
There is no comment for this version
To version 4.7
edited by Alex Cotiugă
on 2026/05/01 13:03
on 2026/05/01 13:03
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Objects (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -8,13 +8,13 @@ 8 8 <h1 id="hero-title">Keep Your XWiki Platform Secure, Stable and Up-to-Date</h1> 9 9 <p class="lead">Helping organizations safely upgrade and maintain their XWiki environments.</p> 10 10 <ul class="benefits"> 11 - <li>Smooth upgrades</li> 11 + <li><a href="$xwiki.getURL('services.xwiki-upgrades')">Smooth upgrades</a></li> 12 12 <li>Reliable support plans</li> 13 13 <li>Custom integrations</li> 14 14 <li>Secure, optimized platforms</li> 15 15 </ul> 16 - <div id="hero-cta">17 - <a class="btn btn-primaryhref="$xwiki.getURL('contact.WebHome')">Contact Agnease</a>16 + <div class="hero-cta"> 17 + <a href="mailto:alex@agnease.com">Contact Agnease</a> 18 18 #*<a class="btn btn-primary" href="#contact" aria-label="Request a consultation" data-toggle="modal" data-target="#requestConsultation"> 19 19 Request a consultation 20 20 </a> ... ... @@ -61,6 +61,7 @@ 61 61 ## SERVICES 62 62 #set ($servicesSectionData = [{ 63 63 'title': 'Upgrades', 64 + 'reference': 'services.xwiki-upgrades', 64 64 'icon': 'refresh', 65 65 'content': 'Stay current with the latest XWiki LTS and keep your instance reliable.', 66 66 'items': [ ... ... @@ -126,7 +126,13 @@ 126 126 <i class="fa fa-$entry.icon" aria-hidden="true"></i> 127 127 </div> 128 128 <div class="service-body"> 129 - <h4>$entry.title</h4> 130 + <h4> 131 + #if ("$!entry.reference" != '') 132 + <a href="$xwiki.getURL($entry.reference)">$entry.title</a> 133 + #else 134 + $entry.title 135 + #end 136 + </h4> 130 130 <p>$entry.content</p> 131 131 <ul> 132 132 #foreach ($item in $entry.items) ... ... @@ -143,7 +143,7 @@ 143 143 <section id="contact" class="cta-section"> 144 144 <div class="container"> 145 145 <p class="text-center contact-inline"> 146 - Need help with your XWiki? <a href=" $xwiki.getURL('contact.WebHome')">Contact Agnease</a>.153 + Need help with your XWiki? <a href="mailto:alex@agnease.com">Contact Agnease</a>. 147 147 </p> 148 148 </div> 149 149 </section>
- XWiki.StyleSheetExtension[0]
-
- code
-
... ... @@ -1,9 +1,11 @@ 1 -/* ========== Agnease Landing (no Bootstrap grid) ========== */ 1 +/* ========== Agnease Public Website Theme ========== */ 2 + 2 2 @brand: #00937D; 3 3 @brand-strong: #007B6A; 4 4 @text: #2D3A34; 5 5 @muted: #5B6B64; 6 6 @line: #E4ECE9; 8 +@soft: #F6FBF9; 7 7 @radius: 16px; 8 8 @shadow-sm: 0 6px 20px rgba(0,0,0,.06); 9 9 @shadow: 0 12px 36px rgba(0,0,0,.08); ... ... @@ -15,14 +15,26 @@ 15 15 16 16 .container { 17 17 max-width: @maxw; 20 + margin-left: auto; 21 + margin-right: auto; 18 18 } 19 19 24 +.text-center { 25 + text-align: center; 26 +} 27 + 20 20 .lead { 21 21 color: @muted; 22 22 text-align: center; 23 - margin-bottom:0;31 + line-height: 1.5; 24 24 } 25 -h2 { 33 + 34 +.page-lead { 35 + max-width: 760px; 36 + margin: 0 auto; 37 + color: @muted; 38 + font-size: 18px; 39 + line-height: 1.5; 26 26 text-align: center; 27 27 } 28 28 ... ... @@ -35,73 +35,145 @@ 35 35 } 36 36 } 37 37 38 -/* ===== HERO ===== */ 39 -.hero { 40 - overflow: hidden; 41 - background-repeat: no-repeat; 42 - background-attachment: scroll; 52 +h1, h2, h3, h4 { 53 + color: @text; 54 +} 43 43 44 - &.hero-centered { 45 - text-align: center; 46 - background: 47 - radial-gradient(50rem 18rem at 50% -10%, #E7FFF8 0%, transparent 60%), 48 - radial-gradient(50rem 18rem at 50% 0%, #E8F6F3 0%, transparent 60%); 49 - display: flex; 50 - align-items: center; 51 - justify-content: center; 52 - min-height: 300px; 53 - } 56 +h2 { 57 + text-align: center; 58 +} 54 54 55 - .hero-inner { 56 - max-width: 850px; 57 - margin: 0 auto; 58 - display: flex; 59 - flex-direction: column; 60 - align-items: center; 60 +/* ===== Buttons / links ===== */ 61 + 62 +.btn-main, 63 +.btn-secondary { 64 + display: inline-block; 65 + border-radius: 8px; 66 + padding: 9px 14px; 67 + font-weight: 700; 68 + text-decoration: none; 69 + line-height: 1.2; 70 +} 71 + 72 +.btn-main { 73 + color: #fff; 74 + background: @brand; 75 + 76 + &:hover, 77 + &:focus { 78 + color: #fff; 79 + background: @brand-strong; 80 + text-decoration: none; 61 61 } 82 +} 62 62 63 - #hero-cta { 64 - display: flex; 65 - gap: 0.8rem; 66 - flex-wrap: wrap; 67 - justify-content: center; 68 - margin-top: 1.3rem; 69 - a:hover { 70 - text-decoration: none; 71 - } 84 +.btn-secondary { 85 + color: @brand; 86 + background: fade(@brand, 8%); 87 + border: 1px solid fade(@brand, 20%); 88 + 89 + &:hover, 90 + &:focus { 91 + color: @brand-strong; 92 + background: fade(@brand, 12%); 93 + text-decoration: none; 72 72 } 95 +} 73 73 74 - .benefits { 75 - display: flex; 76 - flex-wrap: wrap; 77 - justify-content: center; 78 - list-style: none; 79 - padding: 0; 80 - margin: 0.8rem 0 0; 81 - color: @muted; 82 - font-size: 14px; 97 +.cta-row { 98 + display: flex; 99 + gap: 10px; 100 + flex-wrap: wrap; 101 + justify-content: center; 102 + margin-top: 16px; 103 +} 83 83 84 - li + li::before { 85 - content: "•"; 86 - margin: 0 5px; 87 - } 105 +/* ===== Landing page hero ===== */ 88 88 89 - @media (max-width: 640px) { 90 - li + li::before { 91 - content: none; 92 - } 93 - li:nth-child(1)::after, 94 - li:nth-child(3)::after { 95 - content: "•"; 96 - margin: 0 5px; 97 - } 98 - } 99 - } 107 +.landing-hero { 108 + text-align: center; 109 + min-height: 340px; 110 + display: flex; 111 + align-items: center; 112 + justify-content: center; 113 + background: 114 + radial-gradient(50rem 18rem at 50% -10%, #E7FFF8 0%, transparent 60%), 115 + radial-gradient(50rem 18rem at 50% 0%, #E8F6F3 0%, transparent 60%); 100 100 } 101 101 102 -/* ===== WHY CHOOSE (cards) ===== */ 118 +.landing-hero-inner { 119 + max-width: 860px; 120 + margin: 0 auto; 121 +} 122 + 123 +.landing-hero h1 { 124 + margin: 0 0 10px; 125 + font-size: 36px; 126 + line-height: 1.18; 127 +} 128 + 129 +.landing-hero .lead { 130 + margin: 0 auto 12px; 131 + max-width: 760px; 132 + font-size: 18px; 133 +} 134 + 135 +/* ===== Compact page header for section pages ===== */ 136 + 137 +.page-header-compact { 138 + padding: 34px 0 28px; 139 + text-align: center; 140 + border-top: none; 141 + background: 142 + radial-gradient(42rem 12rem at 50% -20%, #E7FFF8 0%, transparent 65%); 143 +} 144 + 145 +.page-header-compact .container { 146 + max-width: 850px; 147 +} 148 + 149 +.page-eyebrow { 150 + margin: 0 0 8px; 151 + color: @brand; 152 + font-size: 12px; 153 + font-weight: 800; 154 + text-transform: uppercase; 155 + letter-spacing: .08em; 156 +} 157 + 158 +.page-header-compact h1 { 159 + margin: 0 0 10px; 160 + font-size: 34px; 161 + line-height: 1.15; 162 +} 163 + 164 +/* ===== Benefits / chips ===== */ 165 + 166 +.benefits, 167 +.inline-benefits { 168 + display: flex; 169 + flex-wrap: wrap; 170 + justify-content: center; 171 + gap: 8px; 172 + list-style: none; 173 + padding: 0; 174 + margin: 12px 0 0; 175 +} 176 + 177 +.benefits li, 178 +.inline-benefits li { 179 + color: @muted; 180 + font-size: 13px; 181 + background: fade(@brand, 8%); 182 + border: 1px solid fade(@brand, 18%); 183 + border-radius: 999px; 184 + padding: 4px 10px; 185 +} 186 + 187 +/* ===== Cards ===== */ 188 + 103 103 .widgets { 104 - margin-top: 1 2px;190 + margin-top: 16px; 105 105 display: grid; 106 106 grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); 107 107 grid-gap: 16px; ... ... @@ -130,8 +130,16 @@ 130 130 padding-bottom: 6px; 131 131 margin-bottom: 8px; 132 132 border-bottom: 1px solid fade(@line, 60%); 133 - i { color: @brand; } 134 - h4 { margin: 0; line-height: 1.2; color: @text; } 219 + 220 + i { 221 + color: @brand; 222 + } 223 + 224 + h4 { 225 + margin: 0; 226 + line-height: 1.2; 227 + color: @text; 228 + } 135 135 } 136 136 137 137 p { ... ... @@ -139,101 +139,278 @@ 139 139 color: @muted; 140 140 line-height: 1.45; 141 141 } 236 + 237 + .card-link { 238 + margin-top: 12px; 239 + 240 + a { 241 + color: @brand; 242 + font-weight: 700; 243 + text-decoration: none; 244 + 245 + &:hover { 246 + color: @brand-strong; 247 + text-decoration: underline; 248 + } 249 + } 250 + } 142 142 } 143 143 144 -/* ===== SERVICES ===== */ 145 -.services { 146 - .services-grid { 147 - margin-top: 20px; 148 - display: flex; 149 - flex-wrap: wrap; 150 - gap: 24px; 253 +/* ===== Service / listing rows ===== */ 151 151 152 - /* center the whole block under the heading */ 153 - max-width: 960px; 154 - margin-left: auto; 155 - margin-right: auto; 156 - justify-content: center; 255 +.services-grid { 256 + margin-top: 20px; 257 + display: flex; 258 + flex-wrap: wrap; 259 + gap: 24px; 260 + max-width: 960px; 261 + margin-left: auto; 262 + margin-right: auto; 263 + justify-content: center; 264 +} 265 + 266 +.service { 267 + flex: 0 1 calc(50% - 12px); 268 + display: flex; 269 + align-items: flex-start; 270 + gap: 16px; 271 + margin-bottom: 8px; 272 +} 273 + 274 +.service-icon { 275 + width: 42px; 276 + height: 42px; 277 + border-radius: 50%; 278 + display: flex; 279 + align-items: center; 280 + justify-content: center; 281 + color: @brand; 282 + background: fade(@brand, 10%); 283 + flex-shrink: 0; 284 + margin-top: 3px; 285 +} 286 + 287 +.service-body { 288 + h4 { 289 + margin: 0 0 4px; 290 + font-size: 1.125rem; 291 + font-weight: 800; 292 + 293 + a { 294 + color: @text; 295 + text-decoration: none; 296 + 297 + &:hover { 298 + color: @brand; 299 + text-decoration: underline; 300 + } 301 + } 157 157 } 158 158 159 - .service { 160 - flex: 0 1 calc(50% - 12px); 161 - display: flex; 162 - align-items: flex-start; 163 - gap: 16px; 164 - margin-bottom: 8px; 304 + p { 305 + margin: 0 0 6px; 306 + color: @text; 307 + line-height: 1.5; 308 + } 165 165 166 - .service-icon { 167 - width: 42px; 168 - height: 42px; 169 - border-radius: 50%; 170 - display: flex; 171 - align-items: center; 172 - justify-content: center; 173 - font-size: 18px; 310 + ul { 311 + margin: .45rem 0 0; 312 + padding-left: 1.1rem; 313 + color: @muted; 314 + font-size: 13px; 315 + } 316 + 317 + li { 318 + margin: .25rem 0; 319 + line-height: 1.45; 320 + } 321 + 322 + .service-link { 323 + margin-top: .45rem; 324 + font-size: 13px; 325 + 326 + a { 174 174 color: @brand; 175 - background: fade(@brand, 10%); 176 - flex-shrink: 0; 177 - margin-top: 3px; 178 - } 328 + font-weight: 700; 329 + text-decoration: none; 179 179 180 - .service-body { 181 - h4 { 182 - margin: 0 0 4px; 183 - font-size: 1.125rem; 184 - font-weight: 800; 331 + &:hover { 332 + color: @brand-strong; 333 + text-decoration: underline; 185 185 } 186 - p { 187 - margin: 0 0 6px; 188 - color: @text; 189 - line-height: 1.5; 190 - } 191 - ul { 192 - margin: .45rem 0 0; 193 - padding-left: 1.1rem; 194 - color: @muted; 195 - font-size: 13px; 196 - } 197 - li { 198 - margin: .25rem 0; 199 - line-height: 1.45; 200 - } 201 201 } 202 202 } 337 +} 203 203 204 - /* ==== Center last item on its own row while keeping 50% width ==== */ 205 - .service-center { 206 - /* same width as siblings */ 207 - flex: 0 1 calc(55% - 12px); 339 +/* ===== Split section ===== */ 208 208 209 - /* push to center */ 210 - margin-left: auto; 211 - margin-right: auto; 341 +.split-section { 342 + display: grid; 343 + grid-template-columns: minmax(0, 1.1fr) minmax(280px, .9fr); 344 + gap: 32px; 345 + align-items: start; 346 + max-width: 960px; 347 + margin: 0 auto; 348 +} 349 + 350 +.panel { 351 + background: #fff; 352 + border: 1px solid @line; 353 + border-radius: @radius; 354 + box-shadow: @shadow-sm; 355 + padding: 20px; 356 +} 357 + 358 +.panel h3 { 359 + margin-top: 0; 360 +} 361 + 362 +/* ===== Contact / form page ===== */ 363 + 364 +.contact-layout { 365 + display: grid; 366 + grid-template-columns: minmax(0, .85fr) minmax(320px, 1.15fr); 367 + gap: 32px; 368 + max-width: 1000px; 369 + margin: 0 auto; 370 + align-items: start; 371 +} 372 + 373 +.contact-card { 374 + background: #fff; 375 + border: 1px solid @line; 376 + border-radius: @radius; 377 + box-shadow: @shadow-sm; 378 + padding: 20px; 379 +} 380 + 381 +.contact-card h3 { 382 + margin-top: 0; 383 +} 384 + 385 +.contact-list { 386 + list-style: none; 387 + padding: 0; 388 + margin: 12px 0 0; 389 + 390 + li { 391 + margin: 8px 0; 392 + color: @muted; 212 212 } 213 213 214 - /* Mobile: 1 per row */ 215 - @media (max-width: 767px) { 216 - .services-grid { 217 - gap: 16px; 218 - max-width: 100%; 219 - } 395 + i { 396 + color: @brand; 397 + margin-right: 8px; 398 + } 220 220 221 - .service, 222 - .service-center { 223 - flex: 0 1 100%; 224 - margin-left: 0; 225 - margin-right: 0; 226 - } 400 + a { 401 + color: @brand; 227 227 } 228 228 } 229 229 405 +.form-panel { 406 + background: #fff; 407 + border: 1px solid @line; 408 + border-radius: @radius; 409 + box-shadow: @shadow-sm; 410 + padding: 22px; 411 +} 412 + 413 +.form-panel .xform dl { 414 + margin: 0; 415 +} 416 + 417 +.form-panel .xform dt { 418 + margin-top: 12px; 419 +} 420 + 421 +.form-panel .xform dt:first-child { 422 + margin-top: 0; 423 +} 424 + 425 +.form-panel .xform label { 426 + color: @text; 427 + font-weight: 700; 428 +} 429 + 430 +.form-panel .xform .xHint { 431 + display: block; 432 + color: @muted; 433 + font-size: 12px; 434 + margin-top: 2px; 435 +} 436 + 437 +.form-panel .xform dd { 438 + margin-left: 0; 439 + margin-bottom: 10px; 440 +} 441 + 442 +.form-panel input[type="text"], 443 +.form-panel input[type="email"], 444 +.form-panel textarea, 445 +.form-panel select { 446 + width: 100%; 447 + max-width: 100%; 448 + border: 1px solid @line; 449 + border-radius: 8px; 450 + padding: 8px 10px; 451 +} 452 + 230 230 /* ===== CTA ===== */ 454 + 231 231 .cta-section { 232 232 padding: 24px 0 16px; 457 +} 233 233 234 - .contact-inline { 235 - margin: 0; 236 - color: @muted; 237 - a { color: @brand; } 459 +.contact-inline { 460 + margin: 0; 461 + color: @muted; 462 + 463 + a { 464 + color: @brand; 465 + font-weight: 700; 238 238 } 239 239 } 468 + 469 +/* ===== Compact sections ===== */ 470 + 471 +.compact-section { 472 + padding: 28px 0; 473 +} 474 + 475 +.compact-section h2 { 476 + margin-top: 0; 477 + margin-bottom: 14px; 478 +} 479 + 480 +/* ===== Responsive ===== */ 481 + 482 +@media (max-width: 767px) { 483 + section { 484 + padding: 26px 0; 485 + } 486 + 487 + .landing-hero { 488 + min-height: 280px; 489 + } 490 + 491 + .landing-hero h1, 492 + .page-header-compact h1 { 493 + font-size: 28px; 494 + } 495 + 496 + .page-lead, 497 + .landing-hero .lead { 498 + font-size: 16px; 499 + } 500 + 501 + .service { 502 + flex: 0 1 100%; 503 + } 504 + 505 + .split-section, 506 + .contact-layout { 507 + grid-template-columns: 1fr; 508 + gap: 20px; 509 + } 510 +}