|
1269 | 1269 | ] |
1270 | 1270 | } |
1271 | 1271 | } |
| 1272 | +,{ |
| 1273 | + "@context": { |
| 1274 | + "@version": 1.1, |
| 1275 | + "dct": "http://purl.org/dc/terms/", |
| 1276 | + "title": { "@id": "dct:title", "@container": "@language" }, |
| 1277 | + "description": { "@id": "dct:description", "@container": "@language" }, |
| 1278 | + "modified": "dct:modified" |
| 1279 | + }, |
| 1280 | + "title": { |
| 1281 | + "en": "Theme", |
| 1282 | + "fr": "Thème" |
| 1283 | + }, |
| 1284 | + "description": { |
| 1285 | + "en": "Theme page template", |
| 1286 | + "fr": "Gabarit de page thème" |
| 1287 | + }, |
| 1288 | + "modified": "2020-02-12", |
| 1289 | + "componentName": "theme", |
| 1290 | + "status": "stable", |
| 1291 | + "version": "1.0", |
| 1292 | + "pages": { |
| 1293 | + "examples": [ |
| 1294 | + { |
| 1295 | + "title": "[Theme]", |
| 1296 | + "language": "en", |
| 1297 | + "path": "theme-en.html" |
| 1298 | + }, |
| 1299 | + { |
| 1300 | + "title": "[Thème]", |
| 1301 | + "language": "fr", |
| 1302 | + "path": "theme-fr.html" |
| 1303 | + } |
| 1304 | + ], |
| 1305 | + "docs": [ |
| 1306 | + { |
| 1307 | + "title": "Theme page", |
| 1308 | + "language": "en", |
| 1309 | + "path": "theme-doc-en.html" |
| 1310 | + }, |
| 1311 | + { |
| 1312 | + "title": "Page de thème", |
| 1313 | + "language": "fr", |
| 1314 | + "path": "theme-doc-fr.html" |
| 1315 | + } |
| 1316 | + ] |
| 1317 | + }, |
| 1318 | + "dependencies": { |
| 1319 | + "en": [ |
| 1320 | + { "title": "Most requested", "url": "https://wet-boew.github.io/GCWeb/components/gc-most-requested/gc-most-requested-doc-en.html", "component": "gc-most-requested" }, |
| 1321 | + { "title": "Services and information", "url": "https://wet-boew.github.io/GCWeb/components/gc-srvinfo/gc-srvinfo-doc-en.html", "component": "gc-srvinfo" } |
| 1322 | + ], |
| 1323 | + "fr": [ |
| 1324 | + { "title": "En demande", "url": "https://wet-boew.github.io/GCWeb/components/gc-most-requested/gc-most-requested-doc-fr.html", "component": "gc-most-requested" }, |
| 1325 | + { "title": "Services et renseignements", "url": "https://wet-boew.github.io/GCWeb/components/gc-srvinfo/gc-srvinfo-doc-fr.html", "component": "gc-srvinfo" } |
| 1326 | + ] |
| 1327 | + }, |
| 1328 | + "a11yGuidance": "No accessibility guidance.", |
| 1329 | + "variations": [ |
| 1330 | + { |
| 1331 | + "name": { |
| 1332 | + "en": "Theme page", |
| 1333 | + "fr": "Page de thème" |
| 1334 | + }, |
| 1335 | + "status": "stable", |
| 1336 | + "description": { |
| 1337 | + "en": "Use this template as the landing page for Government of Canada institutions and organizations.", |
| 1338 | + "fr": "Utilisez ce modèle comme page d'accueil pour les institutions et organismes du gouvernement du Canada." |
| 1339 | + }, |
| 1340 | + "guidance": { |
| 1341 | + "en": "TBD", |
| 1342 | + "fr": "TBD" |
| 1343 | + }, |
| 1344 | + "iteration": "_:iteration_theme_1", |
| 1345 | + "example": [ |
| 1346 | + { |
| 1347 | + "en": { "href": "theme-en.html", "text": "Theme page" }, |
| 1348 | + "fr": { "href": "theme-fr.html", "text": "Pages de thème" } |
| 1349 | + } |
| 1350 | + ], |
| 1351 | + "implementation": [ |
| 1352 | + "_:implement_theme", |
| 1353 | + "_:implement_theme_aem" |
| 1354 | + ], |
| 1355 | + "history": [ |
| 1356 | + { |
| 1357 | + "en": "July 2024 - Introduction of the new theme template.", |
| 1358 | + "fr": "Juillet 2024 - Introduction du nouveau gabarit de page thème." |
| 1359 | + } |
| 1360 | + ] |
| 1361 | + } |
| 1362 | + ], |
| 1363 | + "implementation": [ |
| 1364 | + { |
| 1365 | + "@id": "_:implement_theme", |
| 1366 | + "iteration": "_:iteration_theme_1", |
| 1367 | + "name": { |
| 1368 | + "en": "Standard", |
| 1369 | + "fr": "Standard" |
| 1370 | + }, |
| 1371 | + "introduction": { |
| 1372 | + "en": "This implementation is meant for developers/publishers adding the template manually.", |
| 1373 | + "fr": "Cette implémentation est destinée aux développeurs/éditeurs qui ajoutent le gabarit manuellement." |
| 1374 | + }, |
| 1375 | + "instructions": { |
| 1376 | + "en": [ |
| 1377 | + "Add the CSS class <code>.page-type-theme</code> to the page's <code><body></code> element.", |
| 1378 | + "The CSS class <code>.active</code> must be added to the current page's <code><li></code>.", |
| 1379 | + "Refer to the working example for a code sample.", |
| 1380 | + "Refer to the working example and guidance for more information on how to implement this page template." |
| 1381 | + ], |
| 1382 | + "fr": [ |
| 1383 | + "Ajoutez la classe CSS <code>.page-type-theme</code> sur l'élément <code><body></code> de la page.", |
| 1384 | + "La classe CSS <code>.active</code> doit être ajoutée au <code><li></code> de la page courante.", |
| 1385 | + "Reportez-vous à l'exemple pratique pour un exemple de code.", |
| 1386 | + "Référez-vous à l'exemple pratique et aux directives pour plus d'informations sur l'implémentation ce modèle de page." |
| 1387 | + ] |
| 1388 | + }, |
| 1389 | + "notes": { |
| 1390 | + "en": [ |
| 1391 | + "Not adding the required CSS class (<code>.page-type-theme</code>) will result in the styles specific to this template not being applied." |
| 1392 | + ], |
| 1393 | + "fr": [ |
| 1394 | + "Si vous n'ajoutez pas la classe CSS requise (<code>.page-type-theme</code>), les styles spécifiques à ce gabarit ne seront pas appliqués." |
| 1395 | + ] |
| 1396 | + } |
| 1397 | + }, |
| 1398 | + { |
| 1399 | + "@id": "_:implement_theme_aem", |
| 1400 | + "iteration": "_:iteration_theme_1", |
| 1401 | + "name": { |
| 1402 | + "en": "AEM users", |
| 1403 | + "fr": "Utilisateurs AEM" |
| 1404 | + }, |
| 1405 | + "introduction": { |
| 1406 | + "en": "This implementation is meant for publishers adding the template manually into an AEM page.", |
| 1407 | + "fr": "Cette implémentation est destinée aux éditeurs qui ajoutent le gabarit manuellement à une page d'AEM." |
| 1408 | + }, |
| 1409 | + "instructions": { |
| 1410 | + "en": [ |
| 1411 | + "TBD" |
| 1412 | + ], |
| 1413 | + "fr": [ |
| 1414 | + "TBD" |
| 1415 | + ] |
| 1416 | + }, |
| 1417 | + "notes": { |
| 1418 | + "en": [ |
| 1419 | + "For a more detailed implementation guide, a document has been created on the <a href='https://www.gcpedia.gc.ca/wiki/AEM_GC-specific_Documentation_6.5'>AEM learning material on GCPedia</a>, which includes screenshots and detailed step by step instructions." |
| 1420 | + ], |
| 1421 | + "fr": [ |
| 1422 | + "Pour un guide de mise en œuvre plus détaillé, un document a été créé dans la section du <a href='https://www.gcpedia.gc.ca/wiki/Documentation_d%27AEM_sp%C3%A9cifique_au_GC_6.5'>matériel d'apprentissage d'AEM sur GCPedia</a>, qui comprend des captures d'écran et des instructions détaillées étape par étape." |
| 1423 | + ] |
| 1424 | + }, |
| 1425 | + "ajaxSourceCode": { |
| 1426 | + "en": "theme-en.html main > *:not(.pagedetails)", |
| 1427 | + "fr": "theme-fr.html main > *:not(.pagedetails)" |
| 1428 | + } |
| 1429 | + } |
| 1430 | + ], |
| 1431 | + "iteration": [ |
| 1432 | + { |
| 1433 | + "@id": "_:iteration_theme_1", |
| 1434 | + "name": "Theme page - Iteration 1", |
| 1435 | + "date": "2024-07", |
| 1436 | + "breaking": [ |
| 1437 | + "Introduction of the page template." |
| 1438 | + ], |
| 1439 | + "detectableBy": ".page-type-theme", |
| 1440 | + "notes": [ |
| 1441 | + "The H1 is exempt from the default styling (bottom red line). Confirmed by DTO on July 17th, 2024.", |
| 1442 | + "The breadcrumbs has specific styling <strong>only</strong> for Theme pages. Confirmed by DTO on July 8th, 2024." |
| 1443 | + ] |
| 1444 | + } |
| 1445 | + ], |
| 1446 | + "changesets": [ |
| 1447 | + { |
| 1448 | + "@id": "_:cs_theme", |
| 1449 | + "name": "Theme page", |
| 1450 | + "status": "stable", |
| 1451 | + "baseOnIteration": "_:iteration_theme_1", |
| 1452 | + "detectableBy": ".page-type-theme", |
| 1453 | + "layout": [ |
| 1454 | + "On larger screens, navigation on the left and page content on the right.", |
| 1455 | + "In the page content section, from top to bottom: page title, most requested, services and information." |
| 1456 | + ], |
| 1457 | + "style": [ |
| 1458 | + "The breadcrumbs first element has a left dark blue border.", |
| 1459 | + "The left navigation's active page has a dark-blue background and white text.", |
| 1460 | + "A vertical blue bar separates the left navigation from the content on the right.", |
| 1461 | + "On larger screens, the most requested component's heading is above the list rather than to the left." |
| 1462 | + ], |
| 1463 | + "semantic": "h2 + (ul > li)", |
| 1464 | + "behaviour": "On smaller screens, the navigation is hidden by default and is replaced by a \"Menu\" button which can be clicked to toggle the visibility of the navigation.", |
| 1465 | + "basic": "On smaller screens the navigation is always visible and the button to toggle the navigation is hidden.", |
| 1466 | + "context": "This template is only meant for Theme pages.", |
| 1467 | + "static": [ |
| 1468 | + "Menu", |
| 1469 | + "Toggle Menu", |
| 1470 | + "Basculer le menu" |
| 1471 | + ] |
| 1472 | + } |
| 1473 | + ] |
| 1474 | +} |
1272 | 1475 | ,{ |
1273 | 1476 | "@context": { |
1274 | 1477 | "@version": 1.1, |
|
0 commit comments