-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update README.md Add FAQs Page OpenVic2 -> OpenVic Add Basic News Page Add Static FAQs
- Loading branch information
Showing
17 changed files
with
116 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
# OpenVic2-Website | ||
Website for the OpenVic2 project. | ||
# OpenVic-Website | ||
Website for the OpenVic project. | ||
|
||
frontend in /frontend | ||
backend to be added to /backend | ||
frontend uses SvelteKit, in /frontend | ||
backend uses ASP.NET, in /backend |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
{ | ||
"name": "ov2-website", | ||
"name": "openvic-website", | ||
"version": "0.0.1", | ||
"private": true, | ||
"scripts": { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
<script> | ||
export let q; | ||
export let a; | ||
let showing = false; | ||
function onClick() { | ||
showing = !showing; | ||
} | ||
</script> | ||
|
||
<div> | ||
{#if showing} | ||
<!-- svelte-ignore a11y-click-events-have-key-events --> | ||
<h2 on:click={onClick}>{q}</h2> | ||
<p>{a}</p> | ||
{:else} | ||
<!-- svelte-ignore a11y-click-events-have-key-events --> | ||
<h2 on:click={onClick}>{q}</h2> | ||
{/if} | ||
</div> | ||
|
||
<style> | ||
div { | ||
margin: 0vw 1vw; | ||
} | ||
p { | ||
background-color: #00000090; | ||
box-shadow: 0vw 0vw 0.5vw 0.5vw #00000090; | ||
border-radius: 2vw; | ||
font-size: 1.5vw; | ||
padding: 1vw; | ||
} | ||
h2:hover { | ||
cursor: pointer; | ||
text-decoration: underline; | ||
color: #CD7F32; | ||
} | ||
</style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,25 @@ | ||
<script> | ||
import Header from "$lib/Header.svelte"; | ||
import FAQ from "$lib/FAQ.svelte"; | ||
import { json } from "@sveltejs/kit" | ||
import { onMount } from "svelte" | ||
//let faqs = []; | ||
//onMount(async () => { | ||
// const res = await fetch("/api/faq"); | ||
// faqs = await res.json(); | ||
//}); | ||
</script> | ||
|
||
<Header/> | ||
<Header/> | ||
<!--{#each faqs as faq} | ||
<FAQ q={faq.question} a={faq.answer}/> | ||
{/each}!--> | ||
<FAQ q="Are you guys Open-Source?" a="Yes! Our project is licensed under GPL3."/> | ||
<FAQ q="What does this mean for Victoria 2 Mods?" a="We will create our own system of modding that is leagues more powerful and intuitive than PDX's current modding system for Victoria 2. However, we also plan to include full backwards compatibility for mods for Victoia 2. This means you will be able to drag your Mod files straight into OpenVic2, and they will work perfectly."/> | ||
<FAQ q="Will OpenVic be free?" a="OpenVic will be free for anyone to play, forever."/> | ||
<FAQ q="How much will you guys change?" a="We plan to emulate Victoria 2 as close as possible, even the quirks, although after 1.0, we will make improvements to the game that can be disabled."/> | ||
<FAQ q="Doesn't this violate copyright?" a="No, everything included in OpenVic is entirely created by the team or open-source."/> | ||
<FAQ q="Won't Paradox sue you anyway?" a="No, we have communicated with Paradox and recieved their sanction to go ahead without the threat of undeserved legal action."/> | ||
<FAQ q="What can I do to help?" a="See 'Contributing'"/> | ||
<FAQ q="How long will it take to finish?" a="A while. Quality development takes time, and for something the scope of this project that means likely in the neighbourhood of 2 years."/> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.