aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsecondl1ght <[email protected]>2022-09-15 18:30:57 -0600
committersecondl1ght <[email protected]>2022-09-15 18:30:57 -0600
commit489fabc5141cf48a40efdfb317171126f84ae941 (patch)
treeedbbef5c42e04eee1b4ee673be5106eba214872f
parentc17cf8d8c7a8ed252aa6895f03dae15a3fcd0c12 (diff)
downloadcoinos-ui-489fabc5141cf48a40efdfb317171126f84ae941.tar.gz
coinos-ui-489fabc5141cf48a40efdfb317171126f84ae941.zip
update jobs page and add news page
-rw-r--r--src/locales/en.json5
-rw-r--r--src/routes/jobs/+page.svelte8
-rw-r--r--src/routes/news/+page.svelte20
3 files changed, 27 insertions, 6 deletions
diff --git a/src/locales/en.json b/src/locales/en.json
index 875af05f..12a89f79 100644
--- a/src/locales/en.json
+++ b/src/locales/en.json
@@ -144,6 +144,11 @@
"settings": "Settings",
"support": "Support"
},
+ "news": {
+ "header": "News",
+ "subheader": "Latest Updates",
+ "update1": ""
+ },
"user": {
"follow": "Follow",
"remove": "Remove",
diff --git a/src/routes/jobs/+page.svelte b/src/routes/jobs/+page.svelte
index d3d17f7d..fc82f9d5 100644
--- a/src/routes/jobs/+page.svelte
+++ b/src/routes/jobs/+page.svelte
@@ -1,6 +1,5 @@
<script>
- import { Icon } from '$comp';
- import { goto } from '$app/navigation';
+ import { Icon, Footer } from '$comp';
import { t } from '$lib/translations';
</script>
@@ -8,9 +7,6 @@
<Icon icon="logo" style="mx-auto mt-10" />
</a>
<div class="w-11/12 md:w-3/4 lg:w-1/2 2xl:w-1/3 max-w-3xl mx-auto my-20 space-y-5">
- <button on:click={() => goto('/')}>
- <Icon icon="arrow-left" style="w-8" />
- </button>
<h1 class="text-5xl font-medium">{$t('jobs.header')}</h1>
<h2 class="text-2xl font-medium">{$t('jobs.subheader')}</h2>
@@ -30,3 +26,5 @@
<a href="mailto:[email protected]" class="underline underline-offset-4">[email protected]</a>.
</p>
</div>
+
+<Footer />
diff --git a/src/routes/news/+page.svelte b/src/routes/news/+page.svelte
index 41e843b5..31d1a0ba 100644
--- a/src/routes/news/+page.svelte
+++ b/src/routes/news/+page.svelte
@@ -1 +1,19 @@
-News
+<script>
+ import { Icon, Footer } from '$comp';
+ import { t } from '$lib/translations';
+</script>
+
+<a href="/">
+ <Icon icon="logo" style="mx-auto mt-10" />
+</a>
+<div class="w-11/12 md:w-3/4 lg:w-1/2 2xl:w-1/3 max-w-3xl mx-auto my-20 space-y-5">
+ <h1 class="text-5xl font-medium">{$t('news.header')}</h1>
+
+ <h2 class="text-2xl font-medium">{$t('news.subheader')}</h2>
+
+ <p class="text-justify text-xl text-secondary">
+ {$t('news.update1')}
+ </p>
+</div>
+
+<Footer />