Skip to content

Commit

Permalink
Merge pull request #446 from CirclesUBI/dev
Browse files Browse the repository at this point in the history
Replace landing page
  • Loading branch information
dacianavram authored Feb 1, 2024
2 parents e3af3eb + 1981458 commit 4b5b1bd
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 7 deletions.
2 changes: 1 addition & 1 deletion shell/src/dapps/o-homepage.manifest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -113,5 +113,5 @@ export const homepage: DappManifest<DappState> = {
};
},
hideFooterGradient: true,
routables: [index, invite, login, terms, privacy, externalChat, notFound],
routables: [index, invite, login, terms, privacy, notFound],
};
27 changes: 23 additions & 4 deletions shell/src/dapps/o-homepage/pages/Home.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -15,19 +15,38 @@ if (inviteCode) {
}
</script>

<div class="flex flex-col overflow-hidden">
<div class="flex flex-col overflow-hidden bg-home">
<main class="h-screen overflow-hidden">
<TopNav runtimeDapp="{runtimeDapp}" />

<WelcomeHeader />
<div class="flex flex-col items-center justify-center font-heading p-8 m-auto h-full">
<div class="flex flex-col items-center justify-center">
<div class="text-xl text-center uppercase text-white">Halo Komunitas Circles!</div>
<div class="text-xl text-center uppercase text-primary mt-8 mb-8">Aplikasi Circles sekarang sedang diperbaiki!</div>
<div class="text-xl text-center uppercase text-white">
Jika Anda memiliki pertanyaan tentang akun CirclesUBI Anda, jangan ragu untuk menghubungi <span class="text-primary underline">community@circles.org.</span>
</div>
</div>
<div class="mt-10 mb-10 border-t-2 border-white w-full"></div>
<div class="flex flex-col items-center justify-center">
<div class="text-xl text-center uppercase text-white">Hi Circles Community!</div>
<div class="text-xl text-center uppercase text-primary mt-8 mb-8">The Circles App is now being improved!</div>
<div class="text-xl text-center uppercase text-white">
If you have any questions about your CirclesUBI account, please feel free to contact
<span class="text-primary underline">community@circles.org.</span>
</div>
</div>
</div>

<!-- <WelcomeHeader /> -->

<div
<!-- <div
id="video-overlay"
class="relative flex items-center content-center justify-center h-screen overflow-hidden"
style=" background-position: center; background:
url('/images/homepage/circles-home.jpg') no-repeat top center fixed;
-webkit-background-size: cover; -moz-background-size: cover;
-o-background-size: cover; background-size: cover; ">
</div>
</div> -->
</main>
</div>
2 changes: 1 addition & 1 deletion shell/src/shared/atoms/TopNav.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ if (runtimeDapp.routeParts.length && runtimeDapp.routeParts[0]) {
</div>

<div class="self-center pr-3">
<LocaleSwitcher value="{$locale}" on:locale-changed="{(e) => setupI18n({ withLocale: e.detail })}" />
<!-- <LocaleSwitcher value="{$locale}" on:locale-changed="{(e) => setupI18n({ withLocale: e.detail })}" /> -->
<span class="p-1 -mt-6 text-2xl uppercase xs:p-3 xs:-mt-2 whitespace-nowrap font-heading xs:text-4xl">Beta</span>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion shell/src/shared/layouts/Layout.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ function onkeydown(e: KeyboardEvent) {
{/await}
{/if}
{#if navigation && !isSurveyPage}
<NextNav navigation="{navigation}" isNotFoundPage="{isNotFoundPage}" />
<!-- <NextNav navigation="{navigation}" isNotFoundPage="{isNotFoundPage}" /> -->
{/if}

{#if layout.dialogs.center && layout.dialogs.center.isOpen}
Expand Down

0 comments on commit 4b5b1bd

Please sign in to comment.