-
Notifications
You must be signed in to change notification settings - Fork 0
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
93023fa
commit 1da0e0b
Showing
5 changed files
with
75 additions
and
5 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
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 |
---|---|---|
@@ -0,0 +1,23 @@ | ||
<script lang="ts"> | ||
import { Card, Button } from 'flowbite-svelte'; | ||
import { ArrowRightOutline } from 'flowbite-svelte-icons'; | ||
export let title: string = "title"; | ||
export let description: string = "description"; | ||
export let link: string = "#"; | ||
</script> | ||
|
||
<Card> | ||
<h5 class="mb-2 text-2xl font-bold tracking-tight text-gray-900 dark:text-white"> | ||
{title} | ||
</h5> | ||
<p class="mb-3 font-normal text-gray-700 dark:text-gray-400 leading-tight"> | ||
{description} | ||
</p> | ||
{#if link} | ||
<a href={link} target="_blank"> | ||
<Button class="w-fit"> | ||
Read more <ArrowRightOutline class="w-6 h-6 ms-2 text-white" /> | ||
</Button> | ||
</a> | ||
{/if} | ||
</Card> |
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,4 +1,34 @@ | ||
<script> | ||
import FeatureCard from "$lib/components/FeatureCard.svelte"; | ||
import {Heading} from "flowbite-svelte"; | ||
</script> | ||
|
||
<svelte:head> | ||
<title>Home</title> | ||
<meta name="description" content="Svelte demo app" /> | ||
</svelte:head> | ||
<title>Path of Terraria</title> | ||
<meta name="description" content="Path of Terraria is a game changing mod bringing the ARPG experience into Terraria" /> | ||
</svelte:head> | ||
<div class="header"> | ||
<div class="container mx-auto mt-8"> | ||
<Heading tag="h1" class="mb-4" customSize="text-1xl font-extrabold md:text-3xl lg:text-4xl"> | ||
Introducing the ARPG mod for Terraria | ||
</Heading> | ||
</div> | ||
</div> | ||
<div class="container mx-auto mt-12"> | ||
<div class="grid grid-cols-2 gap-4"> | ||
<div class="mx-auto" > | ||
<FeatureCard | ||
title="Redesigned Item System" | ||
description="Items drops with affix. Prefixes and suffixes can be combined to create powerful items." | ||
link="https://wiki.pathofterraria.com/Gear" | ||
></FeatureCard> | ||
</div> | ||
<div class="mx-auto" > | ||
<FeatureCard | ||
title="Questing System" | ||
description="Complete quests for NPCs and get rewards." | ||
link="https://wiki.pathofterraria.com/Towns" | ||
></FeatureCard> | ||
</div> | ||
</div> | ||
</div> |