diff --git a/elixir-api/lib/routes/api/v1/project.ex b/elixir-api/lib/routes/api/v1/project.ex
index cfbccc2d0..a3afc1ffa 100644
--- a/elixir-api/lib/routes/api/v1/project.ex
+++ b/elixir-api/lib/routes/api/v1/project.ex
@@ -52,7 +52,6 @@ defmodule Router.Api.V1.Project do
"date",
"images",
"links",
- "language",
"github",
%{
"tags[]" => [
diff --git a/elixir-api/lib/routes/api/v1/projects.ex b/elixir-api/lib/routes/api/v1/projects.ex
index c8d38ca52..52acf5bfc 100644
--- a/elixir-api/lib/routes/api/v1/projects.ex
+++ b/elixir-api/lib/routes/api/v1/projects.ex
@@ -78,7 +78,6 @@ defmodule Router.Api.V1.Projects do
"views",
"images",
"links",
- "language",
"github",
%{
"tags[]" => [
diff --git a/sanity-cms/schemas/project.ts b/sanity-cms/schemas/project.ts
index 83253d774..07f39d0f8 100644
--- a/sanity-cms/schemas/project.ts
+++ b/sanity-cms/schemas/project.ts
@@ -27,12 +27,6 @@ export default {
],
validation: (Rule: Rule) => Rule.max(4)
},
- {
- name: 'language',
- title: 'Language',
- type: 'string',
- description: 'Primary language used in project'
- },
{
name: 'github',
title: 'Github Link',
diff --git a/svelte-app/src/components/about/timeline-item.svelte b/svelte-app/src/components/about/timeline-item.svelte
index 6552299fb..5a37f7e17 100644
--- a/svelte-app/src/components/about/timeline-item.svelte
+++ b/svelte-app/src/components/about/timeline-item.svelte
@@ -40,7 +40,7 @@
}
p {
- @apply font-mono text-base transition-colors;
+ @apply text-right font-mono text-base text-dark/80 transition-colors;
}
}
@@ -52,5 +52,11 @@
h2 {
@apply text-white;
}
+
+ div {
+ p {
+ @apply text-light/80;
+ }
+ }
}
diff --git a/svelte-app/src/components/document/content/common/header.svelte b/svelte-app/src/components/document/content/common/header.svelte
index 2b2c21b76..1aaa7ef7d 100644
--- a/svelte-app/src/components/document/content/common/header.svelte
+++ b/svelte-app/src/components/document/content/common/header.svelte
@@ -1,16 +1,13 @@
-
-
-
- {data.title}
-
-
-
-
-
- {date ? date : $t('Unknown date')}
-
- {#if data._type === 'post'}
-
-
- {$t('{length} min read', { length: Math.floor(readingTime / 60) })}
-
- {#if data.views}
-
-
- {$t('{views} views', { views: $parsedViews })}
-
- {/if}
- {:else if data.github}
-
-
-
- {'github/' + data.github.split('github.com/')?.[1]}
-
-
- {/if}
-
-
-
- {#key $isMobile}
-
- {/key}
- {$t('Read more')}
+ {data.title}
+
+
+
+
+ {date ? date : $t('Unknown date')}
+
+
+
+ {$t('{length} min read', { length: Math.floor(readingTime / 60) })}
+
+
+
+ {$t('{views} views', { views: $parseViews(data.views) })}
+
+
+
+
+ {#key $isMobile}
+
+ {/key}
+ {$t('Read more')}
+
+
+
+ {#if data._type === 'project' && (data.tags?.length || data.github)}
+
+
+ {#if data._type === 'project' && data.tags?.length}
+
+ {#each data.tags as tag}
+
+ {tag.title.toLowerCase()}
-
+ {/each}
-
- {#if data._type === 'project' && images?.length}
-
-
{/if}
- {#if data._type === 'project' && data.tags?.length}
-
-
-
-
- {#each data.tags as tag}
-
- {tag.title}
-
- {/each}
-
-
+ {#if data.tags?.length && data._type === 'project' && data.github}
+
{/if}
-
-
+ {#if data._type === 'project' && data.github}
+
+
+ {'github/' + data.github.split('github.com/')?.[1]}
+
+
+ {/if}
+
+ {/if}
+
+ {#if data._type === 'project' && images?.length}
+
+
+ {/if}
diff --git a/svelte-app/src/components/lists/list-item.svelte b/svelte-app/src/components/lists/list-item.svelte
index e9ecdd316..4bd520b80 100644
--- a/svelte-app/src/components/lists/list-item.svelte
+++ b/svelte-app/src/components/lists/list-item.svelte
@@ -1,6 +1,7 @@
- {#if small}
-
+
-
- {formatDate(document.date || document._createdAt, 'med', $currentLang)}
+
+ {formatDate(document.date || document._createdAt, 'dayMonth', $currentLang)}
-
- {document.title}
-
-
- {:else}
-
{document.tags[0].title.toLowerCase()}
+ {:else}
+
+ {/if}
+ {$t('{views} views', { views: $parseViews(document.views) })}
+
+
+
-
-
- {formatDate(document.date || document._createdAt, 'dayMonth', $currentLang)}
-
-
-
- {document.title}
-
- {#if type === 'project' && document.desc}
-
-
{document.desc}
- {/if}
-
-
-
- {/if}
+ {document.title}
+
+ {#if document.desc?.length && !small}
+ {document.desc}
+ {/if}
+
diff --git a/svelte-app/src/components/portable-text/image-carousel.svelte b/svelte-app/src/components/portable-text/image-carousel.svelte
index 501278a84..2a1281958 100644
--- a/svelte-app/src/components/portable-text/image-carousel.svelte
+++ b/svelte-app/src/components/portable-text/image-carousel.svelte
@@ -192,10 +192,12 @@
{/if}
-
-
-
-
+{#if imageElements.length > 1}
+
+
+
+
+{/if}
diff --git a/svelte-app/src/routes/[[lang=lang]]/blog/+page.svelte b/svelte-app/src/routes/[[lang=lang]]/blog/+page.svelte
index abd732a4a..c0707c2c7 100644
--- a/svelte-app/src/routes/[[lang=lang]]/blog/+page.svelte
+++ b/svelte-app/src/routes/[[lang=lang]]/blog/+page.svelte
@@ -27,17 +27,17 @@
-
+
{#if data.posts.length}
{#each sortedPosts as yearObj}
-
-
+
+
{yearObj.year}
{#if yearObj.items.length}
{#each yearObj.items as item}
diff --git a/svelte-app/src/routes/[[lang=lang]]/work/+page.svelte b/svelte-app/src/routes/[[lang=lang]]/work/+page.svelte
index 3e6f46fed..50d02d3c4 100644
--- a/svelte-app/src/routes/[[lang=lang]]/work/+page.svelte
+++ b/svelte-app/src/routes/[[lang=lang]]/work/+page.svelte
@@ -48,12 +48,12 @@
{#if projects.length}
{#each sortedProjects as yearObj}
-
-
+
+
{yearObj.year}
{#if yearObj.items.length}
-
+
{#each yearObj.items as item}
{/each}
diff --git a/svelte-app/types/app/documents/project.d.ts b/svelte-app/types/app/documents/project.d.ts
index d8e900349..e8d335953 100644
--- a/svelte-app/types/app/documents/project.d.ts
+++ b/svelte-app/types/app/documents/project.d.ts
@@ -15,7 +15,6 @@ export interface ProjectDocument extends Document {
images?: SanityImageObject[];
tags?: DocumentTags[];
title: string;
- language?: string;
github?: string;
links?: {
_key: string;