diff --git a/src/routes/project.svelte b/src/routes/project.svelte index d02c160..1de0822 100644 --- a/src/routes/project.svelte +++ b/src/routes/project.svelte @@ -1,5 +1,7 @@ +
-
-
- -
-
- -
-
+ {#if icon !== ''} +
+
+ +
+
+
+

{title}

-

- {expansionStage >= 1 ? description : description_preview} -

+
+

+ {headline} +

+
+
+
+ {:else} +
+
+

{title}

- {#if expansionStage >= 1} -
- {#if features.length > 0 || languages.length > 0 || graphicsApis.length > 0 || cicd.length > 0} - {#if features.length > 0} -

- Features -

-
    - {#each features as feature} -
  • {feature}
  • - {/each} -
- {/if} -

Technology behind {title}:

- {#if languages.length > 0} -
Languages:
-
- {#each languages as lang} - - {#if lang.icon} - {lang.name} icon - {/if} - {lang.name} - - {/each} -
- {/if} - {#if graphicsApis.length > 0} -
Graphics APIs:
-
- {#each graphicsApis as api} - {api} - {/each} -
- {/if} - {#if cicd.length > 0} -
CICD:
-
- {#each cicd as tool} - {tool} - {/each} -
- {/if} - {/if} +
+

+ {headline} +

+
{/if} - {#if expansionStage >= 2 && gallery.length > 0} -
+ {#if expansionStage >= 1} +
+

+ {description} +

+ + + +

+ Supported Graphics-APIs +

+ +
+

Vulkan

+ +

DirectX

+ +

Metal

+
+ +

+ Features +

+ + +
    + {#each features as feature} +
  • {feature}
  • + {/each} +
+

{title}'s Tech Stack':

+ + +

Gallery

@@ -115,47 +142,55 @@ {title} screenshot {/each}
-
- {/if} - {#if expansionStage >= 3} -
-
-
-
-

- Repository -

-
+
+ +
+ +
+ +
+
+

+ Mirrors +

+
+ {#each mirrors as link} - - {repository.label} + + {link.label} -
-
-
-
-

- Mirrors -

-
- {#each mirrors as link} - - - {link.label} - - {/each} -
+ {/each}
@@ -177,11 +212,7 @@ /> {#if expansionStage === 0} - FEATURES - {:else if expansionStage === 1} - GALLERY - {:else if expansionStage === 2} - SOURCE + DETAILS {/if}