generated from kurone-kito/vpm-project-template
-
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.
- Loading branch information
1 parent
af3733c
commit 65e9a15
Showing
1 changed file
with
68 additions
and
6 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,10 +1,72 @@ | ||
import type { Component, JSX } from 'solid-js'; | ||
import type { Component } from 'solid-js'; | ||
import { FeatureDetail } from '../components/atoms/FeatureDetail.js'; | ||
import { Hero } from '../components/atoms/Hero.js'; | ||
import { WideAnchorButton } from '../components/atoms/WideAnchorButton.js'; | ||
import { Features } from '../components/molecules/Features.js'; | ||
import { TextAnchor } from '../components/molecules/TextAnchor.js'; | ||
import { IconsLength } from '../components/organisms/IconsLength.js'; | ||
import { iconsToDo, vccUrl, vpmUrl } from '../constants.json'; | ||
|
||
const Index: Component = (): JSX.Element => ( | ||
<main class="article-container"> | ||
<h2>Top page</h2> | ||
<p>TODO: Add the content here.</p> | ||
</main> | ||
/** The URL to add to VCC. */ | ||
const encodedVccUrl = `${vccUrl}${encodeURIComponent(vpmUrl)}`; | ||
|
||
/** | ||
* The index page. | ||
* @returns The component. | ||
*/ | ||
const Index: Component = () => ( | ||
<> | ||
<Hero addToVccLink={encodedVccUrl} /> | ||
<Features iconsLength={<IconsLength />} /> | ||
<FeatureDetail heading={<>0 SVG icons</>} image="images/illustrator.png"> | ||
<p class="font-light leading-relaxed py-2"> | ||
The Launchpad Icons provide 0 icons that look | ||
<strong class="font-bold">like VRChat icons</strong>, and we plan to | ||
have more than {iconsToDo} in the future. | ||
</p> | ||
<p class="font-light leading-relaxed py-2"> | ||
All included icons have been redesigned in Adobe Illustrator and | ||
exported as <strong class="font-bold">SVG</strong>. Since they are in | ||
vector format, they can be displayed beautifully even when significantly | ||
enlarged. | ||
</p> | ||
</FeatureDetail> | ||
<FeatureDetail heading="Includes raw SVG files" image="images/svgfiles.png"> | ||
<p class="font-light leading-relaxed py-2"> | ||
Launchpad Icons don't contain any logic and provide | ||
<strong class="font-bold">raw SVG files</strong>. It means that they can | ||
be easily adapted for use in | ||
<strong class="font-bold">general Unity apps, not just VRChat</strong>. | ||
</p> | ||
<p class="font-light leading-relaxed py-2"> | ||
Launchpad Icons bundles them only as a <em>unitypackage</em> to import | ||
via VRChat Creator Companion, but we plan to offer it as an NPM package | ||
for ease of use on the web. | ||
</p> | ||
</FeatureDetail> | ||
<FeatureDetail heading="Free & OSS" image="images/by-nc.svg"> | ||
<p class="font-light leading-relaxed py-2"> | ||
Launchpad Icons is provided <strong class="font-bold">FREE</strong> of | ||
charge under the | ||
<TextAnchor url="https://creativecommons.org/licenses/by-nc/4.0/"> | ||
Creative Commons 4.0 International ( | ||
<strong class="font-bold">BY-NC</strong>) license | ||
</TextAnchor> | ||
. You can use it without restriction for non-commercial purposes, | ||
provided the copyright notice is displayed. | ||
</p> | ||
<p class="font-light leading-relaxed py-2"> | ||
We also release it as open-source software. Welcome your | ||
<TextAnchor url="https://github.com/kurone-kito/launchpad-icons"> | ||
contributions | ||
</TextAnchor> | ||
to make it better! | ||
</p> | ||
</FeatureDetail> | ||
<section class="mx-auto p-12 md:p-20 lg:container"> | ||
<WideAnchorButton url="docs">Getting started</WideAnchorButton> | ||
</section> | ||
</> | ||
); | ||
|
||
export default Index; |