diff --git a/public/main.css b/public/main.css index 04a9afb..354d6ff 100644 --- a/public/main.css +++ b/public/main.css @@ -21,7 +21,7 @@ body { max-width: 1590px; } -h1.dot:after { +h1.dot:after, h2.dot:after { content: "."; color: #A1A8D9; } @@ -141,4 +141,65 @@ header nav a { width: 40px; height: 40px; display: block; +} + +/* Non-hero sections */ +.sect .title { + font-size: 3.125rem; +} +section.progress { + margin-top: 400px; +} +.column-2 { + display: grid; + grid-template-columns: repeat(2, 1fr); +} + +.sect .title { + margin: 0; +} +.sect .text { + margin: 22px 0; + width: 64%; + line-height: 1.7; +} +section.progress .left, section.progress .right { + padding: 50px 0; +} +section.progress .right { + position: relative; + padding-left: 80px; + height: 300px; + background: #673DB6; + border-top-left-radius: 10px; + border-bottom-left-radius: 10px; +} +section.progress .right:before { + content: ""; + width: 300vw; + position: absolute; + height: 100%; + background: yellow; + left: 90%; + margin-top: -50px; + background: #673DB6; +} + +section.faq { + margin-top: 200px; +} + +.questions { + margin-top: 30px; +} + +.question-and-answer summary::-webkit-details-marker { + display: none; +} +.question-and-answer summary { + font-size: 1.5625rem; +} +.question-and-answer .text { + margin: 5px; + line-height: 1.85; } \ No newline at end of file diff --git a/views/home.handlebars b/views/home.handlebars index dbfdd8e..68e6eb0 100644 --- a/views/home.handlebars +++ b/views/home.handlebars @@ -9,28 +9,28 @@
-

Game servers

-

Recreated

+

{{ locale.hero.subtitle }}

+

{{ locale.hero.title }}

- An open source project that aims to recreate all Nintendo servers for 3DS and WiiU. This way the services can persist after officially killed by Nintendo. + {{ locale.hero.text }}

- + - + @@ -46,4 +46,39 @@
+
+
+
+

{{ locale.section2.left.title }}

+ {{#each locale.section2.left.paragraphs}} +

{{ this }}

+ {{/each}} +
+
+
+

{{ locale.section2.right.title }}

+ {{#each locale.section2.right.paragraphs}} +

{{ this }}

+ {{/each}} +
+
+
+
+
+

{{ locale.faq.title }}

+

{{ locale.faq.text }}

+
+
+
+ {{#each locale.faq.QAs}} +
+ + {{ question }} + +

{{{ answer }}}

+
+ {{/each}} +
+ +
\ No newline at end of file diff --git a/web-server/routers/home.js b/web-server/routers/home.js index ef55e5a..fad7c43 100644 --- a/web-server/routers/home.js +++ b/web-server/routers/home.js @@ -4,13 +4,80 @@ const router = new Router(); router.get("/", (req, res) => { - const myLocale = { + const tmpLocale = { // TODO + nav: { + about: "About", + faq: "Faq", + credits: "Credits" + }, + hero: { + subtitle: "Game servers", + title: "Recreated", // No dot here. + text: "An open source project that aims to recreate all Nintendo servers for 3DS and WiiU. This way the services can persist after officially killed by Nintendo.", + buttons: { + readMore: "Read more" + } + }, + section2: { + left: { + title: "About us", + paragraphs: [ + "We are a bunch of programmers spending our free time reverse engineering and coding game servers for 3DS and WiiU", + "An open source project that aims to recreate all Nintendo servers for 3DS and WiiU. This way the services can persist after they are officialy killed by Nintendo" + ] + }, + right: { + title: "Progress", + paragraphs: [ + "Now what are the possibilities of warp drive? Hello world, this is just s'more text. Hello hello world world hello! Some.", + "10.000 luchtballonnen, kleuren de hemel blauw. 10.000 luchtballonnen, zijn op weg naar jou. 10.000 luchtballonnen, kleuren de horizon." + ] + } + }, + faq: { + title: "Answered questions", + text: "This is where some text about the questions would go, however jvs didn't write copy for it. So now I have to write this.", + QAs: [ + { + "question": "What is Pretendo?", + "answer": "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" + }, + { + "question": "Will my existing NNIDs work on Pretendo?", + "answer": "Sadly, no. The only ones with access to the data about your existing NNIDs is Nintendo. A NNID-to-PNID migration could theoretically be possible, but it would be a slow and lengthy process requiring sensitive user information" + }, + { + "question": "How do I use Pretendo?", + "answer": "Pretendo is currently not in a state that is ready for public use. However, once it is you will be able to use Pretendo simply by running our homebrew patcher on your console" + }, + { + "question": "Is there an ETA for XYZ?", + "answer": "We do not have an exact ETA for any specific features or the project as a whole. There are many parts to the network, updates release for them individually whenever they are ready (for example updates to the account server are (almost always) independent on other parts of the network, such as the friends server). Due to that we cannot give an exact ETA" + }, + { + "question": "Does Pretendo work on Cemu/emulators?", + "answer": "Pretendo is designed for the WiiU and (eventually) 3DS. At this time the only emulator for these consoles with real online capability is Cemu. Cemu does not officially support custom servers, but it will still be possible to use Pretendo with Cemu
See the
Cemu page for more details" + }, + { + "question": "If I am account/console banned on Nintendo Network, will I stay banned when using Pretendo?", + "answer": "Any account/console bans only exist server-side. This means any existing bans would not carry over to Pretendo. However Pretendo still reserves the right to issue a ban for our network if we see fit" + }, + { + "question": "Will Pretendo support the Wii/Switch?", + "answer": "The Wii already has custom servers provided by Wiimmfi. We currently have no plans on supporting the Switch, as not only is it a completely different platform with a different online network, but Switch online is a paid service" + }, + { + "question": "Do I need Haxchi to run the patcher?", + "answer": "No. The only thing you need to run the patcher is a way to access the Homebrew Launcher, whether it's the browser exploit, Haxchi or Coldboot Haxchi" + } + ] + } } res.render("home", { layout: "main", - locale: myLocale + locale: tmpLocale }); })