Merge branch 'PretendoNetwork:master' into locale-switcher-bugfixes

This commit is contained in:
Monty 2021-08-23 15:19:09 +02:00 committed by GitHub
commit 4479ffe3a1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
35 changed files with 328 additions and 64 deletions

52
boards/boards.json Normal file
View File

@ -0,0 +1,52 @@
{
"boards": {
"gb7qURRJ": {
"github_links": [
{
"display": "Account server repo",
"url": "https://github.com/PretendoNetwork/account"
}
]
},
"G54H0wtc": {
"github_links": [
{
"display": "Juxtaposition repo",
"url": "https://github.com/PretendoNetwork/juxt-web"
}
]
},
"7q78sWW2": {
"github_links": [
{
"display": "eShop repo",
"url": "https://github.com/PretendoNetwork/Grove"
}
]
},
"lmAbWUyn": {
"github_links": [
{
"display": "BOSS repo",
"url": "https://github.com/PretendoNetwork/BOSS"
}
]
},
"LQZftqhE": {
"github_links": [
{
"display": "Super Mario Maker (authentication) repo",
"url": "https://github.com/PretendoNetwork/super-mario-maker-authentication"
}
]
},
"9frc4r0Q": {
"github_links": [
{
"display": "Website repo",
"url": "https://github.com/PretendoNetwork/website"
}
]
}
}
}

139
locales/Ar_ar.json Normal file
View File

@ -0,0 +1,139 @@
{
"nav": {
"about": "عنا",
"faq": "أسئلة",
"credits": "الفريق",
"progress": "تقدم"
},
"hero": {
"subtitle": "سيرفرات الألعاب",
"title": "إعادة إنشاء",
"text": "إن بريتندو بديل مجاني و مصدر مفتوح لسيرفرات ال3دي اس و الوي يو ,يسمح بالاتصال عبر الإنترنت حتي بعد إغلاق السيرفرات الأصلية",
"buttons": {
"readMore": "أقرأ اكثر"
}
},
"aboutUs": {
"title": "معلومات عنا",
"paragraphs": [
"إن بريتندو مشروع مصدر مفتوح هدفه إعادة إنشاء شبكة نينتندو لل3دي اس و الوي يو عن طريق الهندسة العكسية",
".خدماتنا ستكون مجاناً ومصدرها مفتوح فستعيش وقتا طويلاً حتي بعد إغلاق شبكة نينتندو"
]
},
"progress": {
"title": "تقدم",
"paragraphs": [
"نحن نعمل الآن على الميفيرز و الأكونتات وإتصالها مع السيرفرات",
"و نعمل علي ماريوكارت 7 لل3دي اس و نريد ان نعمل علي الألعاب الآخري في اسرع وقت"
]
},
"faq": {
"title": "بعض الأسئلة المكررة",
"text": ":هنا بعض الأسئلة المتكررة بإجابتها",
"QAs": [
{
"question": "ما هو بريتندو؟",
"answer": "إن بريتندو مصدر مفتوح بديل عن شبكة نينتندو هدفها إنشاء سيرفرات لعائلة ال3 دي اس و الوي يو هدفنا الحفاظ علي الاجزاء الونلاين و الاستمتاع باقصي حد"
},
{
"question": "هل هويتي الشخصية علي شبكة نينتندو ستستمر علي بريتندو؟",
"answer": "للأسف لا اي الهويات الشخصية لشبكة نينتندو لن تعمل علي بريتندو لأن نينتندو لديم المعلومات الشخصية؛ و من الرغم من أن هجرة الهوية الشخصية من شبكة نينتندو إلي بريتندو ممكنة إلا انها لها خطر و لا نريد أن يكون معنا المعلومات الشخصية"
},
{
"question": "كيف استخدم بريتندو؟",
"answer": "إن بريتندو ليس جاهز للاستخدام العام ولكن عندما يكون جاهزا ستسطيع أن نسخدمه من خلال الهومبرو باتشر"
},
{
"question": "هل تعرف متي تكون خدمة او خاصية جاهزة؟",
"answer": "لا معظم خدمات بريتندو يتم إنشائها مفردة إي شخص قد يعمل علي الميفيرز و شخصاً أخر قد يعمل علي الاصدقاء و الاكونتات فلا نستطيع أن نعرف متي ستكون جاهزة"
},
{
"question": "هل بريتندو يعمل علي سيمو و المحاكيات؟",
"answer": "إن بريتندو مصمم لل3 دي اس و الوي يو؛ و في الوقت الحالي سيمو هو المحاكية الوحيد يدعِم شبكة نينتندو سي مد لا يدعم شبكة بريتندو مباشرا و لكن ستصتيع استخدامه (حالياً سيمو لا يدعم شبكة بريتندو)إن بريتندو مصمم لل3 دي اس و الوي يو؛ و في الوقت الحالي سيمو هو المحاكية الوحيد يدعِم شبكة نينتندو سي مد لا يدعم شبكة بريتندو مباشرا و لكن ستصتيع استخدامه (حالياً سيمو لا يدعم شبكة بريتندو)"
},
{
"question": "لو اتمنعنت من شبكة بريتندو هل سأستمتر ممتنع من بريتندو؟",
"answer": "لا جميع المستخدمين لن يكونوا محرمين و لكن يجب أن تمشي وراء القوانين او سيتمامتناعك"
},
{
"question": "هل سيدعم بريتندو الوى و السوتش؟",
"answer": "<a href=\"https://wiimmfi.de/\" target=\"_blank\">الوي لديها سيرفرات مخصصة من ويميفاي</a> و ليس لدينا الهدف للسويتش بسبب اختلافها عن شبكة نينتندو"
},
{
"question": "هل احتاج أن اهكر حتي اتصل؟",
"answer": "نعم ستحتاج إلي تهكير جهازك لكن علي الوي يو تحتاج فقط إلي الهومبرو لانشر اي هاكسي او موخا اما علي ال3 دي اس سيتم الاعلان في وقتا لاحقاً"
}
]
},
"credits": {
"title": "الفريق",
"text": "قابل الفريق وراء المشروع",
"people": [
{
"name": "Jonathan Barrow (jonbarrow)",
"caption": "مالك المشروع والمطور الرئيسي",
"picture": "https://github.com/jonbarrow.png",
"github": "https://github.com/jonbarrow"
},
{
"name": "Jemma (CaramelKat)",
"caption": "باحث و مطور الميفيرز",
"picture": "https://github.com/caramelkat.png",
"github": "https://github.com/CaramelKat"
},
{
"name": "superwhiskers",
"caption": "مطور مكتبة كرانش",
"picture": "https://github.com/superwhiskers.png",
"github": "https://github.com/superwhiskers"
},
{
"name": "SuperMarioDaBom",
"caption": "باحث الأجهزة",
"picture": "https://github.com/supermariodabom.png",
"github": "https://github.com/SuperMarioDaBom"
},
{
"name": "Rambo6Glaz",
"caption": "مثبت الشبكة و باحث الأجهزة",
"picture": "https://github.com/Rambo6Glaz.png",
"github": "https://github.com/NexoDevelopment"
},
{
"name": "mrjvs",
"caption": "مطور الويب والبحث المبكر للالمحل الإلكتروني",
"picture": "https://github.com/mrjvs.png",
"github": "https://github.com/mrjvs"
},
{
"name": "Benjamin Moss (kxpler442b)",
"caption": "مطور الويب",
"picture": "https://github.com/kxpler442b.png",
"github": "https://github.com/kxpler442b"
},
{
"name": "Jip Fr",
"caption": "مطور الويب",
"picture": "https://github.com/jipfr.png",
"github": "https://github.com/jipfr"
},
{
"name": "Shutterbug2000",
"caption": "باحث ماريو كارت 7 و ال3 دي اس",
"picture": "https://cdn.discordapp.com/avatars/191370953807233024/0311b61e2009c1576828dd2e9a59d72e.png?size=128",
"github": "https://github.com/shutterbug2000"
},
{
"name": "Kinnay",
"special": "شكر خاص",
"caption": "باحث في هياكل بيانات نينتندو",
"picture": "https://cdn.discordapp.com/avatars/186572995848830987/b55c0d4e7bfd792edf0689f83a25d8ea.png?size=128",
"github": "https://github.com/Kinnay"
}
]
},
"progressPage": {
"title": "تقدمنا",
"description": "تحقق من تقدم المشروع والأهداف! (يتم تحديثه كل ساعة أو نحو ذلك ، ولا يعكس جميع أهداف المشروع أو تقدمه)"
}
}

1
package-lock.json generated
View File

@ -5,7 +5,6 @@
"requires": true,
"packages": {
"": {
"name": "website",
"version": "1.0.0",
"license": "ISC",
"dependencies": {

View File

@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<browserconfig>
<msapplication>
<tile>
<square150x150logo src="https://pretendo.network/assets/images/icons/mstile-150x150.png"/>
<TileColor>#1b1f3b</TileColor>
</tile>
</msapplication>
</browserconfig>

View File

@ -40,7 +40,7 @@
content: "";
width: 1.2rem;
height: 1.2rem;
background: url("/assets/icons/down-arrow.svg");
background: url("/assets/images/down-arrow.svg");
position: absolute;
right: 15px;
top: 50%;

View File

@ -428,6 +428,33 @@ section.team {
.progress-title {
margin-bottom: 20px;
}
.progress-title a.github {
margin-top: 10px;
color: #6D73A2;
display: inline-flex;
align-items: center;
opacity: .75;
text-decoration: none;
transition: color 50ms ease-in-out;
}
.progress-title a.github:focus, .progress-title a.github:hover, .progress-title a.github:visited {
color: #6D73A2;
text-decoration: none;
}
.progress-title a.github:hover {
opacity: 1;
}
.progress-title a.github svg {
height: 1.3rem;
margin-right: .4rem;
}
.feature-list-wrapper.purple .progress-title a.github, .feature-list-wrapper.purple .progress-title a.github:focus, .feature-list-wrapper.purple .progress-title a.github:hover, .feature-list-wrapper.purple .progress-title a.github:visited {
color: #c69cf9;
}
.feature-list-wrapper .core > .progress-title a.github:hover {
color: white;
}
.feature-list-wrapper canvas {
width: 100px;
height: 100px;
@ -454,7 +481,7 @@ section.team {
}
.feature {
display: grid;
align-items: center;
align-items: flex-start;
grid-template-columns: auto 1fr;
grid-gap: 10px;
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 71 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 409 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 562 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 34 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.5 KiB

View File

@ -1,39 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 19.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
viewBox="0 0 216.3 216.3" style="enable-background:new 0 0 216.3 216.3;" xml:space="preserve">
<style type="text/css">
.st0{fill:#673DB6;}
.st1{fill:#FFFFFF;}
.st2{display:none;}
.st3{display:inline;fill:#FFFFFF;}
.st4{display:inline;}
</style>
<g id="Layer_1">
<rect id="XMLID_158_" class="st0" width="216.3" height="216.3"/>
<g id="XMLID_6_">
<path id="XMLID_15_" class="st1" d="M71.2,34.4c-5.7,3-0.7,11.6,5,8.6c14.5-7.5,32.2-7.3,47.7-3.1c13.3,3.6,26.7,10.8,34.4,22.6
c3.5,5.4,12.1,0.4,8.6-5C148,28.2,101.3,18.8,71.2,34.4z"/>
<path id="XMLID_14_" class="st1" d="M181.1,45.2c-11.1-17.3-30.2-28.1-49.6-33.4c-22.3-6.2-47.7-6-68.6,4.9c-5.7,3-0.7,11.6,5,8.6
c18.5-9.7,41.2-9.3,60.8-3.9c16.8,4.6,34,13.8,43.6,28.8C175.9,55.7,184.5,50.7,181.1,45.2z"/>
<path id="XMLID_9_" class="st1" d="M104.7,47.8c-13.7,0-26.3,4.5-36.4,12.5H52.1c-3.9,0-7.5,2.9-7.5,6.9v132.7
c0,3.9,3.5,7.5,7.5,7.5h16.4c3.9,0,7.1-3.5,7.1-7.5v-40.4c8.6,4.8,18.5,7.5,29,7.5c33,0,59.7-26.6,59.7-59.6
S137.6,47.8,104.7,47.8z M104.7,141C86.1,141,71,125.9,71,107.3c0-18.6,15.1-33.7,33.7-33.7s33.7,15.1,33.7,33.7
C138.3,125.9,123.2,141,104.7,141z"/>
</g>
</g>
<g id="Layer_1_copy" class="st2">
<rect id="XMLID_293_" x="220" class="st3" width="216.3" height="216.3"/>
<g id="XMLID_4_" class="st4">
<path id="XMLID_5_" d="M287.2,34.4c-5.7,3-0.7,11.6,5,8.6c14.5-7.5,32.2-7.3,47.7-3.1c13.3,3.6,26.7,10.8,34.4,22.6
c3.5,5.4,12.1,0.4,8.6-5C364,28.2,317.3,18.8,287.2,34.4z"/>
<path id="XMLID_7_" d="M397.1,45.2c-11.1-17.3-30.2-28.1-49.6-33.4c-22.3-6.2-47.7-6-68.6,4.9c-5.7,3-0.7,11.6,5,8.6
c18.5-9.7,41.2-9.3,60.8-3.9c16.8,4.6,34,13.8,43.6,28.8C391.9,55.7,400.5,50.7,397.1,45.2z"/>
<path id="XMLID_13_" d="M320.7,47.8c-13.7,0-26.3,4.5-36.4,12.5h-16.1c-3.9,0-7.5,2.9-7.5,6.9v132.7c0,3.9,3.5,7.5,7.5,7.5h16.4
c3.9,0,7.1-3.5,7.1-7.5v-40.4c8.6,4.8,18.5,7.5,29,7.5c33,0,59.7-26.6,59.7-59.6S353.6,47.8,320.7,47.8z M320.7,141
c-18.6,0-33.7-15.1-33.7-33.7c0-18.6,15.1-33.7,33.7-33.7s33.7,15.1,33.7,33.7C354.3,125.9,339.2,141,320.7,141z"/>
</g>
</g>
<g id="Layer_2">
</g>
</svg>

Before

Width:  |  Height:  |  Size: 2.3 KiB

View File

Before

Width:  |  Height:  |  Size: 261 B

After

Width:  |  Height:  |  Size: 261 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 613 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 956 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.9 KiB

View File

@ -0,0 +1,26 @@
<?xml version="1.0" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20010904//EN"
"http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">
<svg version="1.0" xmlns="http://www.w3.org/2000/svg"
width="429.000000pt" height="429.000000pt" viewBox="0 0 429.000000 429.000000"
preserveAspectRatio="xMidYMid meet">
<metadata>
Created by potrace 1.14, written by Peter Selinger 2001-2017
</metadata>
<g transform="translate(0.000000,429.000000) scale(0.100000,-0.100000)"
fill="#000000" stroke="none">
<path d="M0 2145 l0 -2145 2145 0 2145 0 0 2145 0 2145 -2145 0 -2145 0 0
-2145z m2349 1170 c279 -53 533 -193 668 -369 58 -74 63 -96 33 -126 -31 -31
-59 -25 -99 22 -122 144 -237 228 -396 289 -263 102 -524 113 -749 33 -56 -19
-111 -38 -123 -41 -30 -7 -65 30 -61 65 2 22 15 33 68 59 173 85 428 111 659
68z m-99 -215 c235 -25 459 -135 586 -288 64 -78 74 -105 49 -132 -26 -29 -71
-26 -97 8 -138 170 -326 266 -578 294 -124 13 -241 -2 -351 -46 -78 -31 -100
-32 -123 -7 -29 32 -17 72 29 98 67 38 233 76 356 82 15 0 73 -4 129 -9z m90
-270 c420 -118 636 -591 451 -985 -60 -128 -144 -222 -270 -303 -80 -52 -147
-77 -261 -98 -121 -22 -239 -10 -368 39 l-92 34 0 -254 0 -255 -29 -29 c-29
-29 -29 -29 -156 -29 -127 0 -127 0 -156 29 l-29 29 0 821 0 820 24 28 c24 27
28 28 148 33 122 5 123 6 178 43 57 39 169 80 260 96 78 14 213 5 300 -19z"/>
<path d="M2042 2535 c-73 -21 -101 -37 -166 -96 -99 -91 -143 -214 -124 -351
41 -300 398 -448 637 -262 240 186 202 549 -71 683 -80 40 -190 50 -276 26z"/>
</g>
</svg>

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

View File

@ -0,0 +1,19 @@
{
"name": "Pretendo Network",
"short_name": "Pretendo Network",
"icons": [
{
"src": "https://pretendo.network/assets/images/icons/android-chrome-192x192.png",
"sizes": "192x192",
"type": "image/png"
},
{
"src": "https://pretendo.network/assets/images/icons/android-chrome-384x384.png",
"sizes": "384x384",
"type": "image/png"
}
],
"theme_color": "#1b1f3b",
"background_color": "#1b1f3b",
"display": "standalone"
}

View File

@ -1,5 +1,6 @@
const { Router } = require('express');
const util = require('../util');
const { boards } = require('../../boards/boards.json');
const router = new Router();
const { getTrelloCache } = require('../trello');
@ -13,9 +14,10 @@ router.get('/', async (request, response) => {
response.render('home', {
layout: 'main',
featuredFeatureList: cache.sections[0],
boards,
locale,
localeString: reqLocale.toString(),
featuredFeatureList: cache.sections[0]
});
});

View File

@ -1,5 +1,6 @@
const { Router } = require('express');
const util = require('../util');
const { boards } = require('../../boards/boards.json');
const router = new Router();
const { getTrelloCache } = require('../trello');
@ -15,6 +16,7 @@ router.get('/', async (request, response) => {
response.render('progress', {
layout: 'main',
boards,
locale,
localeString,
progressLists: cache

View File

@ -31,6 +31,7 @@ async function updateTrelloCache() {
for (const board of boards) {
const meta = {
title: '',
id: '',
percentage_complete: 0,
progress: {
not_started: [],
@ -40,6 +41,7 @@ async function updateTrelloCache() {
};
meta.title = board.name;
meta.id = board.shortLink;
const lists = await trello.getListsOnBoard(board.id);
const cards = await trello.getCardsOnBoard(board.id);

View File

@ -78,7 +78,7 @@
</div>
<div class="right sect">
<h2 class="title">{{ locale.progress.title }}</h2>
{{> progress-list data=featuredFeatureList }}
{{> progress-list data=featuredFeatureList purple=true boards=boards }}
</div>
</section>

View File

@ -2,33 +2,50 @@
<html>
<head>
<!-- general -->
<title>Pretendo Network</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="manifest" href="https://pretendo.network/assets/site.webmanifest">
<meta name="msapplication-config" content="https://pretendo.network/assets/browserconfig.xml">
<!-- windows/ios/chrome -->
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<meta name="application-name" content="Pretendo">
<meta name="msapplication-TileColor" content="#673AB7">
<link rel="apple-touch-icon" sizes="180x180" href="/assets/icons/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/assets/icons/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/assets/icons/favicon-16x16.png">
<link rel="manifest" href="/site.webmanifest">
<meta name="theme-color" content="#673db6">
<meta name="apple-mobile-web-app-title" content="Pretendo Network">
<meta name="application-name" content="Pretendo Network">
<meta name="msapplication-TileColor" content="#1b1f3b">
<meta name="theme-color" content="#1b1f3b">
<!-- open graph/embeds -->
<meta property="og:title" content="Pretendo Network">
<meta property="og:description" content="Pretendo is an open source Nintendo Network replacement that aims to build custom servers for the WiiU and 3DS family of consoles. Our goal is to preserve the online functionality of these consoles, to allow players to continue to play their favorite WiiU and 3DS games to their fullest capacity.">
<meta property="og:description" content="An open source Nintendo Network replacement that aims to build custom servers for the WiiU and 3DS family of consoles">
<meta property="og:type" content="website">
<meta property="og:url" content="http://pretendo.network/">
<meta property="og:image" content="http://pretendo.network/assets/og_image.png">
<meta property="og:image:alt" content="Pretendo logo">
<meta property="og:site_name" content="Pretendo">
<meta property="og:url" content="https://pretendo.network/">
<meta property="og:image" content="https://pretendo.network/assets/images/opengraph/opengraph-image.png">
<meta property="og:image:alt" content="Pretendo Network">
<meta property="og:site_name" content="Pretendo Network">
<!-- twitter embeds -->
<meta name="twitter:url" content="https://pretendo.network/">
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:site" content="@PretendoNetwork">
<meta name="twitter:title" content="Pretendo Network">
<meta name="twitter:description" content="An open source Nintendo Network replacement that aims to build custom servers for the WiiU and 3DS family of consoles">
<meta name="twitter:image" content="https://pretendo.network/assets/images/opengraph/opengraph-image.png">
<!-- google seo -->
<meta name="description" content="Pretendo is an open source Nintendo Network replacement that aims to build custom servers for the WiiU and 3DS family of consoles. Our goal is to preserve the online functionality of these consoles, to allow players to continue to play their favorite WiiU and 3DS games to their fullest capacity.">
<meta name="description" content="An open source Nintendo Network replacement that aims to build custom servers for the WiiU and 3DS family of consoles">
<meta name="robots" content="index, follow">
<!-- favicon -->
<link rel="shortcut icon" href="/assets/icons/favicon.ico"><title>Pretendo</title>
<link rel="apple-touch-icon" sizes="180x180" href="https://pretendo.network/assets/images/icons/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="https://pretendo.network/assets/images/icons/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="https://pretendo.network/assets/images/icons/favicon-16x16.png">
<link rel="mask-icon" href="https://pretendo.network/assets/images/icons/safari-pinned-tab.svg" color="#1b1f3b">
<link rel="shortcut icon" href="https://pretendo.network/assets/images/icons/favicon.ico">
<!-- css files -->
<link rel="stylesheet" href="/assets/css/dropdown.css" />
<link rel="stylesheet" href="/assets/css/main.css">
<link rel="stylesheet" href="https://pretendo.network/assets/css/dropdown.css" />
<link rel="stylesheet" href="https://pretendo.network/assets/css/main.css">
<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css2?family=Poppins:wght@400;700&display=swap" rel="stylesheet">
@ -45,7 +62,7 @@
<div class="main-body">
{{{ body }}}
</div>
<script src="https://cdnjs.cloudflare.com/ajax/libs/Chart.js/3.0.2/chart.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/chart.js@3.5.1/dist/chart.min.js"></script>
<script src="/assets/js/progress-charts.js"></script>
<script src="/assets/js/locale-dropdown-handler.js"></script>
<script>setDefaultDropdownLocale("{{localeString}}")</script>

View File

@ -1,4 +1,4 @@
<div class="feature-list-wrapper">
<div class="feature-list-wrapper {{#if purple}}purple{{/if}}">
<div class="feature-list-top">
<div>
<div class="feature-progress-chart">
@ -8,9 +8,18 @@
</div>
</div>
<div class="core">
<div class="progress-title">
<h3>{{ data.title }}</h3>
{{#if data.id}}{{#if (lookup boards data.id)}}{{#with (lookup boards data.id) as | board |}}
{{#each board.github_links}}
<div>
<a href="{{this.url}}" class="github" target="_blank">
<svg data-prefix="fab" data-icon="github" class="svg-inline--fa fa-github fa-w-16" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 496 512"><path fill="currentColor" d="M165.9 397.4c0 2-2.3 3.6-5.2 3.6-3.3.3-5.6-1.3-5.6-3.6 0-2 2.3-3.6 5.2-3.6 3-.3 5.6 1.3 5.6 3.6zm-31.1-4.5c-.7 2 1.3 4.3 4.3 4.9 2.6 1 5.6 0 6.2-2s-1.3-4.3-4.3-5.2c-2.6-.7-5.5.3-6.2 2.3zm44.2-1.7c-2.9.7-4.9 2.6-4.6 4.9.3 2 2.9 3.3 5.9 2.6 2.9-.7 4.9-2.6 4.6-4.6-.3-1.9-3-3.2-5.9-2.9zM244.8 8C106.1 8 0 113.3 0 252c0 110.9 69.8 205.8 169.5 239.2 12.8 2.3 17.3-5.6 17.3-12.1 0-6.2-.3-40.4-.3-61.4 0 0-70 15-84.7-29.8 0 0-11.4-29.1-27.8-36.6 0 0-22.9-15.7 1.6-15.4 0 0 24.9 2 38.6 25.8 21.9 38.6 58.6 27.5 72.9 20.9 2.3-16 8.8-27.1 16-33.7-55.9-6.2-112.3-14.3-112.3-110.5 0-27.5 7.6-41.3 23.6-58.9-2.6-6.5-11.1-33.3 2.6-67.9 20.9-6.5 69 27 69 27 20-5.6 41.5-8.5 62.8-8.5s42.8 2.9 62.8 8.5c0 0 48.1-33.6 69-27 13.7 34.7 5.2 61.4 2.6 67.9 16 17.7 25.8 31.5 25.8 58.9 0 96.5-58.9 104.2-114.8 110.5 9.2 7.9 17 22.9 17 46.4 0 33.7-.3 75.4-.3 83.6 0 6.5 4.6 14.4 17.3 12.1C428.2 457.8 496 362.9 496 252 496 113.3 383.5 8 244.8 8zM97.2 352.9c-1.3 1-1 3.3.7 5.2 1.6 1.6 3.9 2.3 5.2 1 1.3-1 1-3.3-.7-5.2-1.6-1.6-3.9-2.3-5.2-1zm-10.8-8.1c-.7 1.3.3 2.9 2.3 3.9 1.6 1 3.6.7 4.3-.7.7-1.3-.3-2.9-2.3-3.9-2-.6-3.6-.3-4.3.7zm32.4 35.6c-1.6 1.3-1 4.3 1.3 6.2 2.3 2.3 5.2 2.6 6.5 1 1.3-1.3.7-4.3-1.3-6.2-2.2-2.3-5.2-2.6-6.5-1zm-11.4-14.7c-1.6 1-1.6 3.6 0 5.9 1.6 2.3 4.3 3.3 5.6 2.3 1.6-1.3 1.6-3.9 0-6.2-1.4-2.3-4-3.3-5.6-2z"></path></svg>
<span>{{this.display}}</span>
</a>
</div>
{{/each}}
{{/with}}{{/if}}{{/if}}
</div>
<div class="feature-list">
{{#each data.progress.completed}}

View File

@ -13,7 +13,7 @@
<div class="all-progress-lists">
{{#each progressLists.sections}}
<div class="purple-card">
{{> progress-list data=this }}
{{> progress-list data=this boards=@root.boards }}
</div>
{{/each}}
</div>