Files
classroomio/apps/dashboard/src/lib/components/Org/LandingPage/PageHeader.svelte
T
Adeyemi AdetunjiandRotimi Best d75e2f258e feat: multi language support (#254)
* feat: multitranslational support

* - completion of settings page
- completion of sidebar

* sidebar rerendering bug fix

* completion of the lesson navigation & materials page

* completion of the course navigation

* completion of requested languages

* - Implementation of Language Picker
- Rename Bug Fixes

* checkpoint save

* - addition of the language picker to the onboarding.
- addition of the language switcher for the lesson notes.

* merge completion

* initialization of the new branch

* add transition.svelte file

* lesson note bug fix

* feat: add translation migration

* completion of translation

* fix height issue of dropdown

* refactoring

* fix: improve code with LOCALE from db

* finally get it fully functional

* connect with AI

* backward compatibility for lesson note

* preserve old content, when generating AI content

* undo translations in upgrade modal

* fix duplicate key issue from codacy trigger

---------

Co-authored-by: Rotimi Best <[email protected]>
2024-04-19 05:45:48 +01:00

26 lines
842 B
Svelte

<script>
import { Search } from 'carbon-components-svelte';
import { t } from '$lib/utils/functions/translations';
let searchValue = '';
</script>
<section class="bg-[#040f2d] min-h-[337px] w-full flex items-center justify-center p-">
<div class="w-full flex items-center justify-center flex-col-reverse md:flex-row">
<!-- Course Description -->
<div class="course-descr w-11/12 py-10">
<h1 class="dark:text-white text-5xl text-white text-center my-4 font-bold">
{$t('course.navItem.landing_page.explore')}
</h1>
<p class="dark:text-white text-md text-white mb-6 text-center">
{$t('course.navItem.landing_page.find')}🌎.
</p>
<Search
placeholder={$t('course.navItem.landing_page.find_course')}
bind:value={searchValue}
/>
</div>
</div>
</section>