
- @lang('search.search_banner_title') -
-- @lang('search.search_banner_content') -
-
- @lang('search.search_results_title') -
- -- @lang('search.search_input_label') -
- -diff --git a/app/Console/Commands/excel/CoderDojoEvents.php b/app/Console/Commands/excel/CoderDojoEvents.php index 717875857..c9fb706d0 100644 --- a/app/Console/Commands/excel/CoderDojoEvents.php +++ b/app/Console/Commands/excel/CoderDojoEvents.php @@ -42,7 +42,7 @@ public function handle(): void Excel::import( new CoderDojoEventsImport(), - 'events.xlsx', + 'events-coderdojobelgium.xlsx', 'excel' ); } diff --git a/app/Enums/GlobalSearchFiltersEnum.php b/app/Enums/GlobalSearchFiltersEnum.php deleted file mode 100644 index 2dc7f77ec..000000000 --- a/app/Enums/GlobalSearchFiltersEnum.php +++ /dev/null @@ -1,134 +0,0 @@ - [ - 'type_search' => 'all', - 'model' => null, - 'search_fields' => [], - ], - self::PODCASTS => [ - 'type_search' => 'model', - 'model' => Podcast::class, - 'search_fields' => ['title'], - 'map_fields' => [ - 'name' => '{title}', - 'category' => 'Podcast', - 'description' => '{description}', - 'thumbnail' => '{image}', - 'path' => '{url}', - 'link_type' => 'internal', - 'language' => 'en', - ] - ], - self::HACKATHONS, - self::ONLINE_COURSES, - self::TRAINING, - self::CHALLENGES, - self::PRESENTATIONS_AND_TOOLKITS, - self::OTHERS => [ - 'type_search' => 'model', - 'model' => StaticPage::class, - 'search_fields' => [ - 'description', - 'keywords' - ], - 'map_fields' => [ - 'name' => '{name}', - 'category' => '{category}', - 'description' => '{description}', - 'thumbnail' => '{thumbnail}', - 'path' => '{path}', - 'link_type' => '{link_type}', - 'language' => '{language}', - ] - ], - self::LEARN => [ - 'type_search' => 'function', - 'function' => 'searchResources', - 'params' => ['section' => 'learn'], - 'map_fields' => [ - 'name' => '{name}', - 'category' => 'Learn', - 'description' => '', - 'thumbnail' => '/img/event_default_picture.png', - 'path' => '#', - 'link_type' => 'internal', - 'language' => 'en', - ] - ], - self::TEACH => [ - 'type_search' => 'function', - 'function' => 'searchResources', - 'params' => ['section' => 'teach'], - 'map_fields' => [ - 'name' => '{name}', - 'category' => 'Teach', - 'description' => '', - 'thumbnail' => '/img/event_default_picture.png', - 'path' => '#', - 'link_type' => 'internal', - 'language' => 'en', - ] - ], - self::BLOGS => [ - 'type_search' => 'blog' - ], - self::ACTIVITIES => [ - 'type_search' => 'model', - 'model' => Event::class, - 'search_fields' => ['title'], - 'map_fields' => [ - 'name' => '{title}', - 'category' => 'Activities', - 'description' => '{description}', - 'thumbnail' => '{picture}', - 'path' => '{url}', - 'link_type' => 'internal', - 'language' => 'en', - ] - ], - }; - } - - /** - * Get a list of all enum values. - */ - public static function values(): array - { - return array_column(self::cases(), 'value'); - } - - /** - * Get a list of all filter keys. - */ - public static function keys(): array - { - return array_map(fn ($case) => $case->name, self::cases()); - } -} diff --git a/app/Event.php b/app/Event.php index 6f57267b7..4fae45f49 100644 --- a/app/Event.php +++ b/app/Event.php @@ -76,13 +76,6 @@ class Event extends Model //protected $appends = ['LatestModeration']; - public function getUrlAttribute() { - return route('view_event', [ - 'event' => $this->id, - 'slug' => $this->slug - ]); - } - public function getJavascriptData() { return $this->only(['geoposition', 'title', 'description']); diff --git a/app/Http/Controllers/PodcastsController.php b/app/Http/Controllers/PodcastsController.php index 7152dd430..f99f7fd13 100644 --- a/app/Http/Controllers/PodcastsController.php +++ b/app/Http/Controllers/PodcastsController.php @@ -19,6 +19,7 @@ public function index(Request $request): View public function show(Podcast $podcast): View { + return view('podcast', compact('podcast')); } diff --git a/app/Http/Controllers/SearchController.php b/app/Http/Controllers/SearchController.php index b6725b478..b1d9f5c7f 100755 --- a/app/Http/Controllers/SearchController.php +++ b/app/Http/Controllers/SearchController.php @@ -1,13 +1,127 @@ -eventTransformer = $eventTransformer; + } + + public function search(Request $request): View + { + + $query = $request->input('q', ''); + $selected_year = $request->input('year', Carbon::now()->year); + + $country_iso = $request->input('country_iso', null); + $tag = $request->input('tag', ''); + + $selected_country = []; + + if (! is_null($country_iso)) { + $country = Country::where('iso', $country_iso)->first(); + if ($country) { + $country->translation = __('countries.'.$country->name); + $selected_country[] = $country; + } + + } + + $current_year = Carbon::now()->year; + $years = []; + for ($year = $current_year; $year >= 2014; $year--) { + $years[] = $year; + } + + return view('event.search', compact(['query', 'years', 'selected_country', 'selected_year', 'tag'])); + } + + public function searchPOST(EventFilters $filters, Request $request) + { + $events = $this->getEvents($filters); + + //Log::info($request->input('page')); + if ($request->input('page')) { + $result = [$events]; + } else { + Log::info('no page'); + $eventsMap = $this->getAllEventsToMap($filters); + $result = [$events, $eventsMap]; + } + + return $result; + } + + protected function getEvents(EventFilters $filters) { - return view('static.search'); + + $events = Event::where('status', 'like', 'APPROVED') + ->filter($filters) + ->orderBy('start_date') + ->get() + ->groupBy(function ($event) { + if ($event->start_date <= Carbon::today()) { + return 'past'; + } + + return 'future'; + }); + + if (is_null($events->get('future')) || is_null($events->get('past'))) { + return $events->flatten()->paginate(12); + } + + return $events->get('future')->merge($events->get('past'))->paginate(12); + + } + + protected function getAllEventsToMap(EventFilters $filters) + { + + $flattened = Arr::flatten($filters->getFilters()); + + $composed_key = ''; + + foreach ($flattened as $value) { + $composed_key .= $value.','; + } + + $value = Cache::get($composed_key, function () use ($composed_key, $filters) { + Log::info("Building cache [{$composed_key}]"); + $events = Event::where('status', 'like', 'APPROVED') + ->filter($filters) + ->get(); + + $events = $this->eventTransformer->transformCollection($events); + + $events = $events->groupBy('country'); + + Cache::put($composed_key, $events, 5 * 60); + + return $events; + }); + + Log::info("Serving from cache [{$composed_key}]"); + + return $value; + } -} \ No newline at end of file +} diff --git a/app/Imports/IrelandDreamSpaceImport.php b/app/Imports/IrelandDreamSpaceImport.php index 1dd8ebe24..a6c0b1fee 100644 --- a/app/Imports/IrelandDreamSpaceImport.php +++ b/app/Imports/IrelandDreamSpaceImport.php @@ -42,7 +42,7 @@ public function model(array $row): ?Model 'description' => '', 'organizer_type' => $row['type_of_organization'], 'activity_type' => $row['activity_type'], - 'location' => $row['address'], + 'location' => '', 'event_url' => '', 'contact_person' => $row['email'], 'user_email' => '', @@ -55,9 +55,9 @@ public function model(array $row): ?Model 'codeweek_for_all_participation_code' => '', 'start_date' => $this->parseDate($row['date']), 'end_date' => $this->parseDate($row['date']), - 'geoposition' => $row['latitude'].','.$row['longitude'], - 'longitude' => $row['latitude'], - 'latitude' => $row['latitude'], + 'geoposition' => '', + 'longitude' => '', + 'latitude' => '', 'language' => '', 'approved_by' => 19588, 'mass_added_for' => 'Excel', diff --git a/app/Livewire/GlobalSearchFilterComponent.php b/app/Livewire/GlobalSearchFilterComponent.php deleted file mode 100644 index 459d412ad..000000000 --- a/app/Livewire/GlobalSearchFilterComponent.php +++ /dev/null @@ -1,40 +0,0 @@ -value; - - protected $globalSearchService; - - protected $queryString = [ - 'selectedFilter' => ['except' => GlobalSearchFiltersEnum::ALL->value], - ]; - - public function __construct() - { - $this->globalSearchService = new GlobalSearchService(); - } - - public function selectFilter($filter) - { - if (!GlobalSearchFiltersEnum::tryFrom($filter)) { - return; - } - - $this->selectedFilter = $filter; - $this->dispatch('filterChanged', filter: $filter); - } - - public function render() - { - return view('livewire.filter-component', [ - 'filters' => GlobalSearchFiltersEnum::values(), - ]); - } -} \ No newline at end of file diff --git a/app/Livewire/PartnerFilterComponent.php b/app/Livewire/PartnerFilterComponent.php index 8a52e6d75..a9d991044 100644 --- a/app/Livewire/PartnerFilterComponent.php +++ b/app/Livewire/PartnerFilterComponent.php @@ -18,7 +18,7 @@ public function selectFilter($filter) public function render() { - return view('livewire.filter-component', [ + return view('livewire.partner-filter-component', [ 'filters' => ['Partners', 'Council Presidency', 'EU Code Week Supporters'] // Available filters ]); } diff --git a/app/Livewire/SearchContentComponent.php b/app/Livewire/SearchContentComponent.php deleted file mode 100644 index 715fa29cf..000000000 --- a/app/Livewire/SearchContentComponent.php +++ /dev/null @@ -1,68 +0,0 @@ - ['except' => ''], - 'selectedFilter' => ['except' => 'All'], - ]; - - protected $listeners = ['filterChanged']; - - public function updatedSearchQuery() - { - $this->resetPage(); - } - - public function updatedSelectedFilter() - { - $this->resetPage(); - } - - public function filterChanged($filter) - { - $this->selectedFilter = $filter; - $this->resetPage(); - } - - public function getPaginatedResults(): LengthAwarePaginator - { - $searchService = app(GlobalSearchService::class); - $results = $searchService->search($this->selectedFilter, $this->searchQuery); - $results = collect($results); - - $currentPage = LengthAwarePaginator::resolveCurrentPage(); - $items = $results->slice(($currentPage - 1) * $this->perPage, $this->perPage)->values(); - - return new LengthAwarePaginator( - $items, - $results->count(), - $this->perPage, - $currentPage, - ['path' => request()->url(), 'query' => request()->query()] - ); - } - - public function render() - { - $paginatedResults = $this->getPaginatedResults(); - - return view('livewire.search-content-component', [ - 'results' => $paginatedResults, - ]); - } -} diff --git a/app/Nova/StaticPage.php b/app/Nova/StaticPage.php deleted file mode 100644 index d398fa3ad..000000000 --- a/app/Nova/StaticPage.php +++ /dev/null @@ -1,144 +0,0 @@ - - */ - public static $model = \App\StaticPage::class; - - /** - * The single value that should be used to represent the resource when being displayed. - * - * @var string - */ - public static $title = 'name'; - - /** - * The columns that should be searched. - * - * @var array - */ - public static $search = [ - 'id', 'name', 'description', 'path' - ]; - - /** - * Get the fields displayed by the resource. - * - * @param \Laravel\Nova\Http\Requests\NovaRequest $request - * @return array - */ - public function fields(Request $request) - { - return [ - ID::make()->sortable(), - - Text::make('Name') - ->sortable() - ->rules('required', 'max:255'), - - Boolean::make('Is Searchable', 'is_searchable'), - - Select::make('Category') - ->options([ - 'General' => 'General', - 'Challenges' => 'Challenges', - 'Tranning' => 'Tranning', - 'Online Courses' => 'Online Courses', - 'Other' => 'Other' - ]) - ->nullable() - ->displayUsingLabels(), - - Select::make('Link Type', 'link_type') - ->options([ - 'internal_link' => 'Internal Link', - 'external_link' => 'External Link', - ]) - ->rules('required') - ->displayUsingLabels(), - - Textarea::make('Description')->nullable(), - - Text::make('Language') - ->sortable() - ->rules('required', 'size:2') - ->default('en'), - - Text::make('Unique Identifier') - ->rules('required', 'unique:static_pages,unique_identifier,{{resourceId}}'), - - Text::make('Path') - ->rules('required', 'unique:static_pages,path,{{resourceId}}'), - - Text::make('Keywords') - ->rules('nullable') - ->help('Enter keywords separated by commas, e.g., coding, education, technology.'), - - Text::make('Thumbnail')->nullable(), - - Text::make('Meta Title')->nullable(), - - Textarea::make('Meta Description')->nullable(), - - Textarea::make('Meta Keywords')->nullable(), - ]; - } - - /** - * Get the cards available for the request. - * - * @param \Laravel\Nova\Http\Requests\NovaRequest $request - * @return array - */ - public function cards(NovaRequest $request) - { - return []; - } - - /** - * Get the filters available for the resource. - * - * @param \Laravel\Nova\Http\Requests\NovaRequest $request - * @return array - */ - public function filters(NovaRequest $request) - { - return []; - } - - /** - * Get the lenses available for the resource. - * - * @param \Laravel\Nova\Http\Requests\NovaRequest $request - * @return array - */ - public function lenses(NovaRequest $request) - { - return []; - } - - /** - * Get the actions available for the resource. - * - * @param \Laravel\Nova\Http\Requests\NovaRequest $request - * @return array - */ - public function actions(NovaRequest $request) - { - return []; - } -} diff --git a/app/Podcast.php b/app/Podcast.php index 61e19f412..3eec46773 100644 --- a/app/Podcast.php +++ b/app/Podcast.php @@ -13,10 +13,6 @@ class Podcast extends Model implements Feedable // protected $guarded = []; - public function getUrlAttribute() { - return route('podcast', ['podcast' => $this->id]); - } - protected function casts(): array { return [ diff --git a/app/Providers/AppServiceProvider.php b/app/Providers/AppServiceProvider.php index 31366704c..a8b146ead 100644 --- a/app/Providers/AppServiceProvider.php +++ b/app/Providers/AppServiceProvider.php @@ -5,6 +5,7 @@ use App\Event; use App\Observers\EventObserver; use Carbon\Carbon; +use Illuminate\Database\Eloquent\Model; use Illuminate\Pagination\LengthAwarePaginator; use Illuminate\Support\Collection; use Illuminate\Support\Facades\Gate; @@ -12,6 +13,7 @@ use Illuminate\Support\ServiceProvider; use Illuminate\Validation\Rules\Password; use Illuminate\Support\Facades\Blade; +use Livewire\Livewire; class AppServiceProvider extends ServiceProvider { diff --git a/app/Services/GlobalSearchService.php b/app/Services/GlobalSearchService.php deleted file mode 100644 index c3b50170a..000000000 --- a/app/Services/GlobalSearchService.php +++ /dev/null @@ -1,277 +0,0 @@ -value === 'All') { - return $this->searchAll($query); - } - - $meta = $filter->meta(); - - // Handle 'model' type search - if ($meta['type_search'] === 'model') { - return $this->searchModel( - $meta['model'], - $meta['search_fields'], - $meta['map_fields'], - $query, - $filterKey - ); - } - - if ($meta['type_search'] === 'function') { - return $this->{$meta['function']}( - $meta['params'], - $filterKey, - $meta['map_fields'], - $query - ); - } - - if ($meta['type_search'] === 'blog') { - return $this->searchBlog($query); - } - - // Add more cases for other type_search in the future - Log::warning("Unsupported type_search: {$meta['type_search']}"); - return []; - } - - /** - * Search in a model based on fields and query. - * - * @param string $modelClass - * @param array $fields - * @param array $mapFields - * @param string|null $query - * @param ?string $filterKey - * @return array - */ - protected function searchModel( - string $modelClass, - array $fields, - array $mapFields, - ?string $query, - ?string $filterKey = null - ): array { - if (!class_exists($modelClass)) { - Log::error("Model class does not exist: $modelClass"); - return []; - } - - // Perform the search - $results = $modelClass::query(); - - if ($filterKey == GlobalSearchFiltersEnum::OTHERS->value) { - $results = $results->whereIn('category', ['General', 'Others']); - } else { - // Special case with StaticPage - if ($modelClass == "App\StaticPage" && $filterKey != null) { - $results = $results->where('unique_identifier', str_slug($filterKey)) - ->orWhere('category', $filterKey); - } - } - - $results = $results->when($query, function ($queryBuilder) use ($fields, $query) { - $queryBuilder->where(function ($q) use ($fields, $query) { - foreach ($fields as $field) { - $q->orWhere($field, 'like', "%$query%"); - } - }); - }) - ->get(); - - // Format the results - return $results->map(function ($item) use ($mapFields) { - $mappedResult = []; - foreach ($mapFields as $key => $mapping) { - if (preg_match('/^{(.+)}$/', $mapping, $matches)) { - $field = $matches[1]; - $mappedResult[$key] = $item->{$field} ?? ''; - } else { - $mappedResult[$key] = $mapping; - } - } - return $mappedResult; - })->toArray(); - } - - /** - * Search resources dynamically based on section with mapping fields. - * - * @param array $params - * @param string $filterKey - * @param array $mapFields - * @param string|null $query - * - * @return array - */ - protected function searchResources( - array $params, - string $filterKey, - array $mapFields, - ?string $query = null - ): array { - $section = $params['section'] ?? null; - - if (!$section) { - Log::error("Missing 'section' in params for searchResources."); - return []; - } - - $levels = \App\ResourceLevel::where($section, '=', true)->orderBy('position')->get(); - $types = \App\ResourceType::where($section, '=', true)->orderBy('position')->get(); - $languages = \App\ResourceLanguage::where($section, '=', true)->orderBy('position')->get(); - $programmingLanguages = \App\ResourceProgrammingLanguage::where($section, '=', true)->orderBy('position')->get(); - $categories = \App\ResourceCategory::where($section, '=', true)->orderBy('position')->get(); - $subjects = \App\ResourceSubject::where($section, '=', true)->orderBy('position')->get(); - - $resources = collect() - ->merge($levels) - ->merge($types) - ->merge($languages) - ->merge($programmingLanguages) - ->merge($categories) - ->merge($subjects); - - if ($query) { - $resources = $resources->filter(function ($item) use ($query) { - return stripos($item->name ?? '', $query) !== false || - stripos($item->description ?? '', $query) !== false; - }); - } - - return $resources->map(function ($item) use ($mapFields) { - $mappedResult = []; - foreach ($mapFields as $key => $mapping) { - if (preg_match('/^{(.+)}$/', $mapping, $matches)) { - $field = $matches[1]; - $mappedResult[$key] = $item->{$field} ?? ''; - } else { - $mappedResult[$key] = $mapping; - } - } - return $mappedResult; - })->toArray(); - } - - /** - * Perform search for 'All' filter. - * - * @param string|null $query - * @return array - */ - protected function searchAll(?string $query): array - { - $results = collect(); - - foreach (\App\Enums\GlobalSearchFiltersEnum::cases() as $filter) { - if ($filter->value === 'All') { - continue; - } - - $meta = $filter->meta(); - - if ($meta['type_search'] === 'model') { - $modelResults = $this->searchModel($meta['model'], $meta['search_fields'], $meta['map_fields'], $query); - $results = $results->merge($modelResults); - } - - if ($meta['type_search'] === 'function') { - $functionResults = $this->{$meta['function']}( - $meta['params'], - $filter->value, - $meta['map_fields'], - $query - ); - $results = $results->merge($functionResults); - } - - if ($meta['type_search'] === 'blog') { - $blogResults = $this->searchBlog($query); - $results = $results->merge($blogResults); - } - } - - return $results->toArray(); - } - - /** - * Search data Blog Wordpress. - * - * @param string|null $query - * - * @return array - */ - protected function searchBlog(?string $query): array - { - $endpoint = config('codeweek.blog_url') . '/wp-json/wp/v2/posts'; - - $url = $query ? "{$endpoint}?search=" . urlencode($query) : $endpoint; - - try { - $response = Http::get($url); - - if (!$response->successful()) { - Log::error("Failed to fetch data from API: $url"); - return []; - } - - $data = $response->json(); - - return collect($data)->map(function ($item) { - $result = [ - 'name' => data_get($item, 'title.rendered', ''), - 'category' => 'Blog', - 'description' => strip_tags(data_get($item, 'excerpt.rendered', '')), - 'thumbnail' => '', - 'path' => data_get($item, 'link', ''), - 'link_type' => 'external', - 'language' => 'en', - ]; - - $mediaLinks = data_get($item, '_links.wp:featuredmedia', []); - if (!empty($mediaLinks) && isset($mediaLinks[0]['href'])) { - $mediaUrl = $mediaLinks[0]['href']; - - try { - $mediaResponse = Http::get($mediaUrl); - if ($mediaResponse->successful()) { - $mediaData = $mediaResponse->json(); - $result['thumbnail'] = data_get($mediaData, 'source_url', ''); - } - } catch (\Exception $e) { - Log::error("Failed to fetch media data: {$e->getMessage()}"); - } - } - - return $result; - })->toArray(); - } catch (\Exception $e) { - Log::error("Error fetching API data: {$e->getMessage()}"); - return []; - } - } -} diff --git a/app/StaticPage.php b/app/StaticPage.php deleted file mode 100644 index f2e877285..000000000 --- a/app/StaticPage.php +++ /dev/null @@ -1,43 +0,0 @@ -attributes['keywords'] = json_encode($value); - } -} diff --git a/config/codeweek.php b/config/codeweek.php index 1fcc4ef28..c33c545cb 100644 --- a/config/codeweek.php +++ b/config/codeweek.php @@ -12,5 +12,5 @@ 'MAP_TILES' => env('MAP_TILES', ''), 'EEDUCATION_CLIENTID' => env('EEDUCATION_CLIENTID', null), 'LOCALES' => env('LOCALES', null), - 'blog_url' => env('BLOG_URL', 'https://codeweek.eu/blog'), + ]; diff --git a/database/migrations/2024_12_07_175338_create_static_pages_table.php b/database/migrations/2024_12_07_175338_create_static_pages_table.php deleted file mode 100644 index 3ac487d2f..000000000 --- a/database/migrations/2024_12_07_175338_create_static_pages_table.php +++ /dev/null @@ -1,40 +0,0 @@ -id(); - $table->string('name'); - $table->boolean('is_searchable')->default(true); - $table->string('category')->nullable(); - $table->enum('link_type', ['internal_link', 'external_link'])->default('internal_link'); - $table->text('description')->nullable(); - $table->string('language', 2)->default('en'); - $table->string('unique_identifier'); - $table->string('path')->unique(); - $table->json('keywords')->nullable(); - $table->string('thumbnail')->nullable(); - $table->string('meta_title')->nullable(); - $table->text('meta_description')->nullable(); - $table->text('meta_keywords')->nullable(); - $table->timestamps(); - }); - } - - /** - * Reverse the migrations. - */ - public function down(): void - { - Schema::dropIfExists('static_pages'); - } -}; diff --git a/database/seeders/StaticPagesSeeder.php b/database/seeders/StaticPagesSeeder.php deleted file mode 100644 index 70154de9b..000000000 --- a/database/seeders/StaticPagesSeeder.php +++ /dev/null @@ -1,365 +0,0 @@ - 'Homepage', - 'description' => 'EU Code Week: October 14 - 27, 2024: a week to celebrate coding in Europe, encouraging citizens to learn more about technology, and connecting communities and organizations who can help you learn coding.', - 'language' => 'en', - 'unique_identifier' => 'homepage', - 'path' => '/', - 'keywords' => ['EU Code Week', 'Coding', 'Europe'], - 'thumbnail' => null, - 'meta_title' => 'EU Code Week', - 'meta_description' => 'Celebrate coding in Europe with the EU Code Week 2024.', - 'meta_keywords' => 'EU Code Week, coding, programming, Europe', - 'category' => 'General', - 'link_type' => 'internal_link', - 'is_searchable' => false - ]); - - StaticPage::create([ - 'name' => 'Podcasts', - 'description' => 'Welcome to the EU Code Week Podcast Series. We bring coding, computational thinking, robotics and innovation closer to you, your community and your school. Join Arjana Blazic, Eugenia Casariego and Eirini Symeonidou, from the Code Week Team, as they explore a range of topics, from media literacy to robotics, with the help of expert guests – to empower you to equip your students with the skills to confront the challenges and opportunities posed by a digital future.', - 'unique_identifier' => 'podcasts', - 'path' => '/podcasts', - 'thumbnail' => '/images/banner_podcast.png', - 'category' => 'General', - 'link_type' => 'internal_link', - 'is_searchable' => false - ]); - - StaticPage::create([ - 'name' => 'Hackathons', - 'description' => 'A hackathon is an event where participants with diverse skills collaborate to tackle global challenges. Participants form teams to brainstorm, design, and code, aiming to produce a working solution or prototype by the event\'s conclusion. Beyond fostering innovation and teamwork, EU Code Week hackathons offer a platform for young enthusiasts to learn, showcase their talents, and connect with like-minded peers.', - 'unique_identifier' => 'hackathons', - 'path' => '/hackathons', - 'keywords' => ['Hackathons', 'Challenges'], - 'thumbnail' => '/images/hackathons/banner_hackathons.svg', - 'meta_title' => 'Hackathons', - 'meta_description' => 'Explore Hackathons across the EU Code Week.', - 'meta_keywords' => 'Hackathons, coding challenges, programming', - 'category' => 'General', - 'link_type' => 'internal_link', - ]); - - StaticPage::create([ - 'name' => 'Online Courses', - 'description' => 'EU Code Week offers professional development opportunities in the form of massive open online courses (MOOCs) with the aim to support teachers in effectively incorporating coding and computational thinking into their teaching practice. EU Code Week MOOCs are open to all educators, regardless of their students age or the subject they teach, and no prior experience or knowledge is required to participate. EU Code Week MOOCs offer free and accessible resources, materials, ideas and best practice examples to find inspiration and empower students by introducing coding and computational thinking, emerging technologies and artificial intelligence safely into the classroom.', - 'unique_identifier' => 'online-courses', - 'path' => '/online-courses', - 'keywords' => ['Online Courses', 'Learning', 'Coding'], - 'thumbnail' => '/images/banner_training.svg', - 'meta_title' => 'Online Courses', - 'meta_description' => 'Learn about innovative technologies and integrate coding into your curriculum.', - 'meta_keywords' => 'Online courses, coding, learning', - 'category' => 'General', - 'link_type' => 'internal_link', - 'is_searchable' => false - ]); - - StaticPage::create([ - 'name' => 'Training', - 'description' => 'Free training materials and online courses', - 'unique_identifier' => 'training', - 'path' => '/training', - 'thumbnail' => '/images/banner_training.svg', - 'category' => 'General', - 'link_type' => 'internal_link', - 'is_searchable' => false - ]); - - StaticPage::create([ - 'name' => 'Challenges', - 'description' => 'EU Code Week Challenges are activities that you can do on your own, in the classroom, with colleagues or friends. You would like to participate in Code Week but do not really have an idea of what to organize? Look no further! We have designed along with Code Week partners a selection of easy to make challenges, that include concrete examples of how to use it in a classroom or group. There are also guidelines on how to complete the challenges, but you can adapt them so that they suit the needs, interests and age of your participants. You can use whatever tools and technologies you like, but we recommend open-source resources.', - 'unique_identifier' => 'challenges', - 'path' => '/challenges', - 'thumbnail' => '/img/2021/challenges/main-banner.png', - 'category' => 'General', - 'link_type' => 'internal_link', - 'is_searchable' => false - ]); - - StaticPage::create([ - 'name' => 'Code Week Dance', - 'description' => 'Who said programmers couldn’t dance? We will prove otherwise with the #EUCodeWeekDance challenge. Who can join? Everyone from schools, teachers, libraries to code clubs, businesses and public authorities are invited to celebrate EU Code Week by organising a #EUCodeWeekDance activity and adding it to the Code Week map. How to participate? Choose from five types of activities or come up with your own. Regardless of which activity you choose, don\'t forget to add it to our map.', - 'unique_identifier' => 'dance', - 'path' => '/dance', - 'thumbnail' => '/images/banner_scoreboard.svg', - 'category' => 'General', - 'link_type' => 'internal_link', - 'is_searchable' => false - ]); - - StaticPage::create([ - 'name' => 'Presentations and Toolkits', - 'description' => 'In this section you will find material which will help you organise your EU Code Week activity, and promote the initiative with your community. Communication toolkit: find here the official EU Code Week logos, badge, flyer, poster, PowerPoint and Word templates, examples of social media posts, and illustrations. ( English ). Teachers toolkit: find here the official EU Code Week logos, badge, template of certificate of participation for your students, an introductory presentation about EU Code Week, and social media material. ( English ).', - 'unique_identifier' => 'presentations-and-toolkits', - 'path' => '/toolkits', - 'thumbnail' => '/images/banner_learn_teach.svg', - 'category' => 'General', - 'link_type' => 'internal_link' - ]); - - // Sub Pages - $subPages = [ - // Online Cources - [ - 'name' => 'Navigating Innovative Technologies Across the Curriculum', - 'description' => 'The online course Navigating Innovative Technologies Across the Curriculum welcomes educators interested in integrating coding, computational thinking, virtual and augmented reality into their classrooms.', - 'path' => 'https://www.europeanschoolnetacademy.eu/courses/course-v1:CodeWeek+NavigatingTech+2023/about', - 'keywords' => ['Coding', 'Technologies', 'Education'], - 'category' => 'Online Courses', - 'thumbnail' => '/img/online-courses/navigating-innovative-technologies-across-the-curriculum.png', - 'link_type' => 'external_link', - ], - [ - 'name' => 'Unlocking the Power of AI in Education', - 'description' => 'The Unlocking the Power of AI in Education MOOC aims to provide teachers with a basic understanding of AI’s potentials and challenges in education.', - 'path' => 'https://www.europeanschoolnetacademy.eu/courses/course-v1:CodeWeek+AI_Education+2023/about', - 'keywords' => ['AI', 'Education', 'Technology'], - 'category' => 'Online Courses', - 'thumbnail' => '/img/online-courses/unlocking-the-power-of-ai.png', - 'link_type' => 'external_link', - ], - [ - 'name' => 'EU Code Week Bootcamp 2022', - 'description' => 'The EU Code Week Bootcamp is designed for teachers who want to integrate coding and computational thinking into their classrooms.', - 'path' => 'https://www.europeanschoolnetacademy.eu/courses/course-v1:CodeWeek+Bootcamp+2022/about', - 'keywords' => ['Bootcamp', 'Coding', 'EU Code Week'], - 'category' => 'Online Courses', - 'thumbnail' => '/img/online-courses/eu-code-week-bootcamp-2022.jpg', - 'link_type' => 'external_link', - ], - [ - 'name' => 'EU Code Week Online Bootcamp', - 'description' => 'The EU Code Week Online Bootcamp introduces teachers to the EU Code Week initiative and the opportunities it offers.', - 'path' => 'https://www.europeanschoolnetacademy.eu/courses/course-v1:CodeWeek+OnlineBootcamp+2021/about', - 'keywords' => ['Bootcamp', 'Coding', 'Online'], - 'category' => 'Online Courses', - 'thumbnail' => '/img/online-courses/eu-code-week-online-bootcamp.jpg', - 'link_type' => 'external_link', - ], - [ - 'name' => 'AI Basics for Schools', - 'description' => 'The course introduces teachers to the basic concepts of AI and its ethical use in the classroom.', - 'path' => 'https://www.europeanschoolnetacademy.eu/courses/course-v1:CodeWeek+AI+2021/about', - 'keywords' => ['AI Basics', 'Schools', 'Education'], - 'category' => 'Online Courses', - 'thumbnail' => '/img/online-courses/ai-basics-for-schools.jpg', - 'link_type' => 'external_link', - ], - [ - 'name' => 'EU Code Week Deep Dive MOOC 2020', - 'description' => 'The course aims to raise awareness about integrating coding and computational thinking into the classroom.', - 'path' => 'https://www.europeanschoolnetacademy.eu/courses/course-v1:CodeWeek+CWDive+2020/about', - 'keywords' => ['Deep Dive', 'Coding', 'EU Code Week'], - 'category' => 'Online Courses', - 'thumbnail' => '/img/online-courses/eu-code-week-deep-dive-mooc-2020.jpg', - 'link_type' => 'external_link', - ], - [ - 'name' => 'EU Code Week Icebreaker Rerun', - 'description' => 'This short introductory course aims to make EU Code Week more appealing and meaningful for teachers, schools, and parents.', - 'path' => 'https://www.europeanschoolnetacademy.eu/courses/course-v1:CodeWeek+Icebreaker+2020/about', - 'keywords' => ['Icebreaker', 'Coding', 'EU Code Week'], - 'category' => 'Online Courses', - 'thumbnail' => '/img/online-courses/icebreaker.jpg', - 'link_type' => 'external_link', - ], - [ - 'name' => 'EU Code Week - Deep Dive MOOC', - 'description' => 'The course aims to help participants understand the importance of integrating coding and computational thinking in the classroom.', - 'path' => 'https://www.europeanschoolnetacademy.eu/courses/course-v1:CodeWeek+CWDive+2019/about', - 'keywords' => ['Deep Dive', 'MOOC', 'EU Code Week'], - 'category' => 'Online Courses', - 'thumbnail' => '/img/online-courses/eu-code-week-deep-dive-mooc-2019.png', - 'link_type' => 'external_link', - ], - [ - 'name' => 'EU Code Week - Ice-breaker MOOC', - 'description' => 'The course aims to introduce participants to EU Code Week and familiarize them with the new EU Code Week website for schools.', - 'path' => 'https://www.europeanschoolnetacademy.eu/courses/course-v1:CodeWeek+Icebreaker+2019/about', - 'keywords' => ['Icebreaker', 'MOOC', 'EU Code Week'], - 'category' => 'Online Courses', - 'thumbnail' => '/img/online-courses/icebreaker-2019.png', - 'link_type' => 'external_link', - ], - // Training - [ - 'name' => 'Coding without digital technology (unplugged)', - 'description' => 'Coding is the language of things, which allows us to write programs to grant new functionalities to the tens of billions of programmable objects around us. Coding is the fastest way to make our ideas come true and the most effective way to develop computational thinking capabilities. However, technology is not strictly required to develop computational thinking. Rather, our computational thinking skills are essential to make technology work.', - 'path' => '/training/coding-without-computers', - 'category' => 'Training', - 'thumbnail' => '/img/learning/coding-without-computers.png', - ], - [ - 'name' => 'Computational thinking and problem solving', - 'description' => 'Computational thinking (CT) describes a way of looking at problems and systems so that a computer can be used to help us solve or understand them. Computational thinking is not only essential to the development of computer programs, but can also be used to support problem solving across all disciplines.', - 'path' => '/training/computational-thinking-and-problem-solving', - 'category' => 'Training', - 'thumbnail' => '/img/learning/computational-thinking-and-problem-solving.png', - ], - [ - 'name' => 'Visual programming – introduction to Scratch', - 'description' => 'Visual programming lets humans describe processes using illustrations or graphics. We usually speak of visual programming as opposed to text-based programming. Visual programming languages (VPLs) are especially well adapted to introduce algorithmic thinking to children (and even adults). With VPLs, there is less to read and no syntax to implement.', - 'path' => '/training/visual-programming-introduction-to-scratch', - 'category' => 'Training', - 'thumbnail' => '/img/learning/visual-programming-introduction-to-scratch.png', - ], - [ - 'name' => 'Creating educational games with Scratch', - 'description' => 'Critical thinking, persistence, problem solving, computational thinking and creativity are only some of the key skills that your students need to succeed in the 21st century, and coding can help you achieve these in a fun and motivating way. Algorithmic notions of flow control using sequences of instructions and loops, data representation using variables and lists, or synchronization of processes might sound like complicated concepts, but in this video you will find that they are easier to learn than you think.', - 'path' => '/training/creating-educational-games-with-scratch', - 'category' => 'Training', - 'thumbnail' => '/img/learning/creating-educational-games-with-scratch.png', - ], - [ - 'name' => 'Making, robotics and tinkering in the classroom', - 'description' => 'The integration of coding, tinkering, robotics, and microelectronics as teaching and learning tools in the school curricula is key in 21st century education. Using tinkering and robotics in schools has many benefits for students, as it helps develop key competences such as problem solving, teamwork and collaboration. It also boosts students´ creativity and confidence and can help students develop perseverance and determination when faced with challenges. Robotics is also a field that promotes inclusivity, as it is easily accessible to a wide range of students with varying talents and skills (both boys and girls) and it positively influences students on the autism spectrum.', - 'path' => '/training/making-robotics-and-tinkering-in-the-classroom', - 'category' => 'Training', - 'thumbnail' => '/img/learning/making-robotics-and-tinkering-in-the-classroom.png', - ], - [ - 'name' => 'Developing creative thinking through mobile app development', - 'description' => 'Have a look at this video where Rosanna Kurrer, (Founder of CyberWayFinder) explains what App Inventor is, goes through the advantages of using App development in the classroom and gives some practical examples on how teachers can integrate App Inventor in the classroom, transforming passive students into enthusiastic game makers.', - 'path' => '/training/developing-creative-thinking-through-mobile-app-development', - 'category' => 'Training', - 'thumbnail' => '/img/learning/developing-creative-thinking-through-mobile-app-development.png', - ], - [ - 'name' => 'Tinkering and Making', - 'description' => 'Jobs and workplaces are changing and education is following in their footsteps. When preparing students for 21st century careers, new skills such as tinkering, making and hacking become essential, as they narrow the gap between school and reality. By transforming the classroom into a collaborative environment that focuses on problem-solving, students are able to engage and thrive. These activities promote discussion, thus allowing the classroom to become a communication hub, where every contribution is important.', - 'path' => '/training/tinkering-and-making', - 'category' => 'Training', - 'thumbnail' => '/img/learning/tinkering-and-making.png', - ], - [ - 'name' => 'Coding for all subjects', - 'description' => 'When you think of coding in the classroom, the first image that comes to mind is of computers, Technology, Mathematics or Science. However, given that students have a number of interests and subjects, why not use this in our favor and implement coding across the entire curriculum? Integrating coding in the classroom has many benefits, as it helps them develop their critical thinking and problem solving skills, become active users and lead their own learning process, which is essential in schools. However, the most important thing is that your students will be learning while having fun!', - 'path' => '/training/coding-for-all-subjects', - 'category' => 'Training', - 'thumbnail' => '/img/learning/coding-for-all-subjects.png', - ], - [ - 'name' => 'Making an automaton with a micro:bit', - 'description' => 'Using a Micro: bit, the easily programmable, pocket-sized computer, can be a fun and easy way to make interesting creations, from robots to musical instruments with your students, while at the same time teaching them how to code. It’s simple and easy to use for even the youngest programmers, while at the same time powerful enough for more advanced students. You can incorporate it in a variety of lessons from history to maths and even science. The possibilities are endless. The Micro: bit is an engaging and inexpensive way to teach students about coding while instilling crucial skills such as computational thinking, problem-solving, and creativity.', - 'path' => '/training/making-an-automaton-with-microbit', - 'category' => 'Training', - 'thumbnail' => '/img/learning/making-an-automaton-with-microbit.png', - ], - [ - 'name' => 'Creative coding with Python', - 'description' => 'Moving from visual to text-based programming is a natural flow in coding. While visual programming is often great for beginners, after a while, students may crave a new challenge. Text-based programming is the next step for anyone who wants to dive further into programming and computational thinking.', - 'path' => '/training/creative-coding-with-python', - 'category' => 'Training', - 'thumbnail' => '/img/learning/creative-coding-with-python.png', - ], - [ - 'name' => 'Coding for Inclusion', - 'description' => 'Bringing coding into your classroom can be a challenge, especially if you have students with certain disabilities in your class. But it’s important to remember that anyone, no matter their abilities, can learn how to code. Children with special needs can greatly benefit from learning aspects of coding because it teaches students important life skills such as solving problems, organization, and independence. Coding can also improve interpersonal skills and social skills through collaboration and teamwork, skills which many children with disabilities struggle with. Most importantly, students have fun while learning alongside their peers.', - 'path' => '/training/coding-for-inclusion', - 'category' => 'Training', - 'thumbnail' => '/img/learning/coding-for-inclusion.png', - ], - [ - 'name' => 'Coding for sustainable development goals', - 'description' => 'Traditional education provides students with few opportunities to understand and solve real world problems such as global climate change, gender equality, hunger, poverty or good health and well-being. The Sustainable Development Goals (SDGs) are the core of the 2030 Agenda for Sustainable Development, adopted by all member states of the United Nations as a road map to achieve peace and prosperity on the planet, encouraging global development. Teachers can use the SDGs in the classroom as a tool for students to develop their critical thinking, but also to help them find their identity and purpose. Combining basic elements of coding and computational thinking with the SDGs will boost your students’ confidence, and you will help them develop their creativity, entrepreneurial spirit, problem-solving or communication skills.', - 'path' => '/training/coding-for-sustainable-development-goals', - 'category' => 'Training', - 'thumbnail' => '/img/learning/coding-for-sustainable-development-goals.png', - ], - [ - 'name' => 'Introduction to Artificial Intelligence in the classroom', - 'description' => 'Artificial Intelligence (AI) has an impact on many areas of daily life: it autocorrects the text you type on your phone, choses the music your favourite music app plays, and it remembers your passwords when you have forgotten them. AI refers to a combination of machine learning, robotics, and algorithms, with applications in all fields: from computer science to manufacturing, and from medicine to fashion. Therefore, it has an undeniable place in our lives and in our societies and it plays a key role in science development. And as any other important phenomena in our lives, students will benefit from learning about it. But how to teach about such a complex thing as AI?', - 'path' => '/training/introduction-to-artificial-intelligence-in-the-classroom', - 'category' => 'Training', - 'thumbnail' => '/img/learning/introduction-to-artificial-intelligence-in-the-classroom.png', - ], - [ - 'name' => 'Learning in the Age of Intelligent Machines', - 'description' => 'The progress of AI in recent years has been impressive thanks to rapid advances in computing power and the availability of large amounts of data. This has led to substantial investments in AI research and rapid expansion of the AI industry, making AI a major technological revolution of our time. AI is all around us. It has become part of our daily routine, so much so that we sometimes do not think of it as AI: we use online recommendation, face detection, security systems and voice assistants almost every day. But what about education?', - 'path' => '/training/learning-in-the-age-of-intelligent-machines', - 'category' => 'Training', - 'thumbnail' => '/img/learning/learning-in-the-age-of-intelligent-machines.png', - ], - [ - 'name' => 'Mining Media Literacy', - 'description' => 'Media literacy education has never been more important for today’s students. Students of all ages need to gain relevant skills, knowledge and attitudes to be able to navigate our media-rich world. Media literacy skills will help them use credible online content and recognise misleading sources of information. They will understand how to fact-check information they find online and critically interpret it. They will raise their awareness of proper use of creative work and apply their learning when creating their own creative content.', - 'path' => '/training/mining-media-literacy', - 'category' => 'Training', - 'thumbnail' => '/img/learning/mining-media-literacy.png', - ], - [ - 'name' => 'STORY-TELLING WITH HEDY', - 'description' => 'Have your pupils already mastered a visual programming language, but don’t feel ready to delve deeper into a text-based programming language? Then this learning bit is just for you and your pupils because it will help them bridge the gap between a visual and a text-based programming language. The learning bit Story-telling with Hedy comprises three lesson plans that use Hedy – a gradual programming language to teach children programming.', - 'path' => '/training/story-telling-with-hedy', - 'category' => 'Training', - 'thumbnail' => '/img/learning/story-telling-with-hedy.png', - ], - [ - 'name' => 'Feel The Code', - 'description' => 'Social and emotional well-being is the ability to be resilient, know how to manage one’s emotions and respond to other people\'s emotions, develop meaningful relationships with others, generate emotions that lead to good feelings and create one own’s emotional support network. The social and emotional skills that young people learn in school help them build resilience and set the pattern for how they will manage their physical and mental health throughout their lives. (Council of Europe).', - 'path' => '/training/feel-the-code', - 'category' => 'Training', - 'thumbnail' => '/img/learning/feel-the-code.jpg', - ], - [ - 'name' => 'SOS Water', - 'description' => 'SOS Water is a response to the need to address the problem of water pollution. Despite the efforts made in recent years, there are still 2 billion people around the world who do not have access to safe drinking water. This means that Sustainable Development Goal (SDG) 6 of the 2030 Agenda, which states that all people should have access to safely managed water and sanitation by 2030, is far from being achieved. The same is true for SDG 14, underwater life, which aims to conserve and use sustainably the oceans, seas and marine resources for sustainable development.', - 'path' => '/training/sos-water', - 'category' => 'Training', - 'thumbnail' => '/img/learning/sos-water.png', - ], - [ - 'name' => 'Creative Scratch Laboratory', - 'description' => 'Learning programming today goes beyond preparing for a programming career and extends beyond the boundaries of computer science. It should be approached broadly, embracing an interdisciplinary perspective and utilizing programming as a tool for learning and play to foster the development of future skills.', - 'path' => '/training/creative-scratch-laboratory', - 'category' => 'Training', - 'thumbnail' => '/img/learning/creative-scratch-laboratory.png', - ], - [ - 'name' => 'Code Through Art', - 'description' => 'Children are growing up in a complex world that is constantly developing technologically, which requires innovative educational approaches for early childhood educators. These approaches include activities that promote computational thinking and programming from a young age. Research suggests that targeted activities can effectively develop children’s computational thinking and problem-solving skills and at the same time such activities foster their creative expression through technology.', - 'path' => '/training/code-through-art', - 'category' => 'Training', - 'thumbnail' => '/img/learning/code-through-art.png', - ], - [ - 'name' => 'Making and coding', - 'description' => 'Makerspaces are vibrant hubs where creativity thrives and hands-on projects come to life. When selecting equipment for a makerspace, the focus is on tools such as Calliope mini, Microbit, or Makey Makey, as they offer a wide range of possibilities suitable for students of different ages and skill levels. These boards support the development of creative projects for younger children thanks to their block-based programming languages are available for these boards. For older students, more complex projects can be generated using these boards.', - 'path' => '/training/making-and-coding', - 'category' => 'Training', - 'thumbnail' => '/img/learning/making-and-coding.png', - ], - // Challenges - ]; - - foreach ($subPages as $subPage) { - StaticPage::updateOrCreate([ - 'language' => 'en', - 'path' => $subPage['path'] - ], [ - 'name' => $subPage['name'], - 'description' => $subPage['description'], - 'path' => $subPage['path'], - 'keywords' => $subPage['keywords'] ?? [], - 'thumbnail' => $subPage['thumbnail'], - 'category' => $subPage['category'], - 'link_type' => $subPage['link_type'] ?? 'internal_link', - ]); - } - } -} diff --git a/public/css/fonts.css b/public/css/fonts.css index a7452779c..0efe551ed 100644 --- a/public/css/fonts.css +++ b/public/css/fonts.css @@ -60,67 +60,3 @@ src: URL('/fonts/OCR A Std Regular.ttf') format('truetype'); } -/* Blinker */ -@font-face { - font-family: 'Blinker'; - src: URL('/fonts/blinker/Blinker-Light.ttf') format('truetype'); - font-weight: 300; - font-style: normal; -} - -@font-face { - font-family: 'Blinker'; - src: URL('/fonts/blinker/Blinker-Regular.ttf') format('truetype'); - font-weight: 400; - font-style: normal; -} - -@font-face { - font-family: 'Blinker'; - src: URL('/fonts/blinker/Blinker-SemiBold.ttf') format('truetype'); - font-weight: 600; - font-style: normal; -} - -@font-face { - font-family: 'Blinker'; - src: URL('/fonts/blinker/Blinker-Bold.ttf') format('truetype'); - font-weight: 700; - font-style: normal; -} - -/* Montserrat */ -@font-face { - font-family: 'Montserrat'; - src: URL('/fonts/montserrat/Montserrat-Light.ttf') format('truetype'); - font-weight: 300; - font-style: normal; -} - -@font-face { - font-family: 'Montserrat'; - src: URL('/fonts/montserrat/Montserrat-Regular.ttf') format('truetype'); - font-weight: 400; - font-style: normal; -} - -@font-face { - font-family: 'Montserrat'; - src: URL('/fonts/montserrat/Montserrat-Medium.ttf') format('truetype'); - font-weight: 500; - font-style: normal; -} - -@font-face { - font-family: 'Montserrat'; - src: URL('/fonts/montserrat/Montserrat-SemiBold.ttf') format('truetype'); - font-weight: 600; - font-style: normal; -} - -@font-face { - font-family: 'Montserrat'; - src: URL('/fonts/montserrat/Montserrat-Bold.ttf') format('truetype'); - font-weight: 700; - font-style: normal; -} diff --git a/public/fonts/blinker/Blinker-Bold.ttf b/public/fonts/blinker/Blinker-Bold.ttf deleted file mode 100644 index 189b181ce..000000000 Binary files a/public/fonts/blinker/Blinker-Bold.ttf and /dev/null differ diff --git a/public/fonts/blinker/Blinker-Light.ttf b/public/fonts/blinker/Blinker-Light.ttf deleted file mode 100644 index e86b0999a..000000000 Binary files a/public/fonts/blinker/Blinker-Light.ttf and /dev/null differ diff --git a/public/fonts/blinker/Blinker-Regular.ttf b/public/fonts/blinker/Blinker-Regular.ttf deleted file mode 100644 index 56faa5602..000000000 Binary files a/public/fonts/blinker/Blinker-Regular.ttf and /dev/null differ diff --git a/public/fonts/blinker/Blinker-SemiBold.ttf b/public/fonts/blinker/Blinker-SemiBold.ttf deleted file mode 100644 index 408a9cf03..000000000 Binary files a/public/fonts/blinker/Blinker-SemiBold.ttf and /dev/null differ diff --git a/public/fonts/montserrat/Montserrat-Bold.ttf b/public/fonts/montserrat/Montserrat-Bold.ttf deleted file mode 100644 index 02ff6fff0..000000000 Binary files a/public/fonts/montserrat/Montserrat-Bold.ttf and /dev/null differ diff --git a/public/fonts/montserrat/Montserrat-Light.ttf b/public/fonts/montserrat/Montserrat-Light.ttf deleted file mode 100644 index 9d8949203..000000000 Binary files a/public/fonts/montserrat/Montserrat-Light.ttf and /dev/null differ diff --git a/public/fonts/montserrat/Montserrat-Medium.ttf b/public/fonts/montserrat/Montserrat-Medium.ttf deleted file mode 100644 index dfbcfe4f2..000000000 Binary files a/public/fonts/montserrat/Montserrat-Medium.ttf and /dev/null differ diff --git a/public/fonts/montserrat/Montserrat-Regular.ttf b/public/fonts/montserrat/Montserrat-Regular.ttf deleted file mode 100644 index 48ba65ed3..000000000 Binary files a/public/fonts/montserrat/Montserrat-Regular.ttf and /dev/null differ diff --git a/public/fonts/montserrat/Montserrat-SemiBold.ttf b/public/fonts/montserrat/Montserrat-SemiBold.ttf deleted file mode 100644 index 8dbcdb392..000000000 Binary files a/public/fonts/montserrat/Montserrat-SemiBold.ttf and /dev/null differ diff --git a/public/images/search/search_bg_lg.png b/public/images/search/search_bg_lg.png deleted file mode 100644 index 4f6e102a2..000000000 Binary files a/public/images/search/search_bg_lg.png and /dev/null differ diff --git a/public/images/search/search_bg_sm.png b/public/images/search/search_bg_sm.png deleted file mode 100644 index 79918a6cc..000000000 Binary files a/public/images/search/search_bg_sm.png and /dev/null differ diff --git a/resources/assets/sass/components/banner.scss b/resources/assets/sass/components/banner.scss index 886f95a17..3e2615a02 100644 --- a/resources/assets/sass/components/banner.scss +++ b/resources/assets/sass/components/banner.scss @@ -142,9 +142,6 @@ .codeweek-banner.about{ background-color: #72A8D0; } -.codeweek-banner.search{ - background-color: #164194; -} .codeweek-banner.error{ background-color: #e57373; } diff --git a/resources/assets/sass/components/containers.scss b/resources/assets/sass/components/containers.scss index b1573e97f..39b5cfe26 100644 --- a/resources/assets/sass/components/containers.scss +++ b/resources/assets/sass/components/containers.scss @@ -324,16 +324,4 @@ .hackathons-content-grid .author{ color: $main-color; padding: 20px; -} - -.codeweek-container-lg { - max-width: 1460px; - width: 100%; - padding: 0 20px; -} - -.codeweek-container { - max-width: 1220px; - width: 100%; - padding: 0 20px; -} +} \ No newline at end of file diff --git a/resources/excel/Code Week Events - Ireland Dream Space .xlsx b/resources/excel/Code Week Events - Ireland Dream Space .xlsx index dfc79c5b6..cb2a64843 100644 Binary files a/resources/excel/Code Week Events - Ireland Dream Space .xlsx and b/resources/excel/Code Week Events - Ireland Dream Space .xlsx differ diff --git a/resources/excel/events.xlsx b/resources/excel/events.xlsx deleted file mode 100644 index acc5e6b39..000000000 Binary files a/resources/excel/events.xlsx and /dev/null differ diff --git a/resources/lang/al/home.php b/resources/lang/al/home.php index 2aa872a1e..395817c51 100644 --- a/resources/lang/al/home.php +++ b/resources/lang/al/home.php @@ -1,15 +1,16 @@ 'EU Code Week është një nismë në terren që synon të sjellë - kodimin dhe “alfabetizmin” dixhital te të gjithë në një mënyrë - argëtuese dhe angazhuese.', - 'when' => '14-27 tetor 2024', - 'when_text' => 'Mësimi i kodimit na ndihmon të kuptojmë logjikisht botën rrotull nesh që - ndryshon shpejt, të zgjerojmë të kuptuarin tonë rreth mënyrës - se si funksionon teknologjia, si dhe të zhvillojmë aftësi dhe kapacitete për - të eksploruar ide të reja dhe për të sjellë inovacion.', + 'about' => + 'EU Code Week është një nismë në terren që synon të sjellë + kodimin dhe “alfabetizmin” dixhital te të gjithë në një mënyrë + argëtuese dhe angazhuese.', + 'when' => 'Pievienojieties mums svētku priekam!', + 'when_text' => + 'Programmēšanas apguve palīdz mums izprast strauji mainīgo pasauli apkārt. Pievienojieties miljoniem citu organizatoru un dalībnieku, lai iedvesmotu programmēšanas un datoriskās domāšanas prasmju attīstību, izpētītu jaunas idejas un radītu inovācijas nākotnei.', + 'xmas_text' => 'Padariet šo svētku sezonu mirdzošu ar inovācijām un radošumu! Pievienojieties mūsu "Coding@Christmas" jautrībai, pievienojot savu programmēšanas aktivitāti mūsu kartei, un iegūstiet iespēju laimēt micro:bit komplektu saviem skolēniem. Svinēsim svētkus, dodot spēku nākamajai domātāju un radītāju paaudzei. Pievienojiet savu aktivitāti jau šodien un palīdziet iedvesmot gaišāku nākotni!', 'school_banner_title' => 'Përfshihu!', + 'button_text' => 'Iesaisties!', 'school_banner_text' => 'Jeni mësues?', 'school_banner_text2' => 'Klikoni këtu për të mësuar si të përfshiheni!', 'organize_activity_title' => 'Organizoni ose merrni pjesë në një aktivitet', diff --git a/resources/lang/ba/home.php b/resources/lang/ba/home.php index 7c15e39a1..8e28dec79 100644 --- a/resources/lang/ba/home.php +++ b/resources/lang/ba/home.php @@ -5,6 +5,8 @@ 'when' => '14.-27. oktobar 2024.', 'when_text' => 'Učenje kodiranja pomaže nam da shvatimo svijet oko nas koji doživljava brze promjene, da proširimo svoje shvatanje kako funkcionira tehnologija te da razvijemo vještine i kapacitete u cilju istraživanja novih ideja i inoviranja.', 'school_banner_title' => 'Angažirajte se!', + 'xmas_text' => '', + 'button_text' => 'Get Involved!', 'school_banner_text' => 'Jeste li vi nastavnik?', 'school_banner_text2' => 'Kliknite ovdje i saznajte kako da se angažirate!', 'organize_activity_title' => 'Organizirajte aktivnost ili joj se pridružite', diff --git a/resources/lang/bg/community.php b/resources/lang/bg/community.php index 62c515738..a63378319 100644 --- a/resources/lang/bg/community.php +++ b/resources/lang/bg/community.php @@ -35,8 +35,4 @@ 'и разгледайте списъка с посланиците на Европейската седмица на програмирането.', 'Ако във вашата страна има посланици, моля, свържете се директно с тях, за да разберете как най-добре можете да подкрепите инициативата. Ако във вашата страна няма посланик, можете да пишете на следния адрес', ], - - 'hub_BG' => 'Dzhuniar Achiyvmant Balgariya', - 'hub_level_BG' => 'Национален център', - 'hub_desc_BG' => 'Джуниър Ачийвмънт България JA България се фокусира върху овластяването на младежите в България чрез различни образователни инициативи, насочени към насърчаване на предприемачеството и развитие на умения. Организацията предоставя програми, които насърчават креативността, критичното мислене и лидерските умения сред младите хора. Ораганизацията си сътрудничи с училища, университети и компании, за да създаде възможности за професионално обучение и стажове, като по този начин оборудва младежите с инструментите, от които се нуждаят, за да успеят в съвременната работна сила. JA България също набляга на ангажираността на общността и социалната отговорност сред своите участници.' ]; diff --git a/resources/lang/bg/home.php b/resources/lang/bg/home.php index 8128b0f31..aa24f13bb 100644 --- a/resources/lang/bg/home.php +++ b/resources/lang/bg/home.php @@ -2,9 +2,11 @@ return [ 'about' => 'Европейската седмица на програмирането е инициатива, насочена към гражданите, която има за цел да представи програмирането и цифровата грамотност на всички по забавен и развлекателен начин.', - 'when' => '14-27 октомври 2024 г.', + 'when' => 'Присъединете се към нас за празнично забавление!', 'when_text' => 'Усвояването на програмирането ни помага да разбираме бързо променящия се заобикалящ ни свят, да научим повече за начина на работа на технологиите и да развиваме умения и възможности, за да проучваме нови идеи и да създаваме иновации.', 'school_banner_title' => 'Вземете участие!', + 'xmas_text' => 'Направете този празничен сезон искрящ с иновации и творчество! Присъединете се към забавлението „Coding@Christmas“, като добавите своята дейност по кодиране към нашата карта и имате шанс да спечелите комплект micro:bit за своите ученици. Нека отпразнуваме празниците, като дадем възможност на следващото поколение мислители и творци. Добавете дейността си днес и помогнете да вдъхновим едно по-светло бъдеще!', + 'button_text' => 'Вземете участие!', 'school_banner_text' => 'Вие сте учител?', 'school_banner_text2' => 'Щракнете тук, за да разберете как да се включите!', 'organize_activity_title' => 'Организирайте или се присъединете към събитие', diff --git a/resources/lang/cs/home.php b/resources/lang/cs/home.php index c535d5490..7bd424b1b 100644 --- a/resources/lang/cs/home.php +++ b/resources/lang/cs/home.php @@ -2,9 +2,11 @@ return [ 'about' => 'Evropský týden programování je iniciativa, jejímž cílem je zábavným a aktivním způsobem přiblížit programování a digitální gramotnost každému člověku.', - 'when' => '14.-27. října 2024', + 'when' => 'Připojte se k nám a užijte si sváteční zábavu!', 'when_text' => 'Naučit se programovat nám pomáhá chápat rychle se měnící svět kolem nás, lépe rozumět tomu, jak fungují technologie, rozvíjet dovednosti a schopnosti potřebné ke zkoumání nových myšlenek a inovovat.', 'school_banner_title' => 'Zapojte se!', + 'xmas_text' => 'Zpříjemněte si letošní sváteční období inovacemi a kreativitou! Připojte se k naší zábavě „Coding@Christmas“ přidáním své kódovací aktivity na naši mapu a získejte šanci vyhrát pro své studenty sadu micro:bit. Oslavme svátky tím, že dáme příležitost další generaci myslitelů a tvůrců. Přidejte svou aktivitu ještě dnes a pomozte inspirovat lepší budoucnost!', + 'button_text' => 'Zapojte se!', 'school_banner_text' => 'Jste učitel?', 'school_banner_text2' => 'Klikněte zde, abyste se dozvěděl/a, jak se zapojit!', 'organize_activity_title' => 'Zorganizujte akci nebo se k nějaké připojte', diff --git a/resources/lang/da/home.php b/resources/lang/da/home.php index 9caaf0051..97c0ecf75 100644 --- a/resources/lang/da/home.php +++ b/resources/lang/da/home.php @@ -2,8 +2,10 @@ return [ 'about' => 'EU’s kodeuge er et græsrodsinitiativ, som har til formål at gøre kodning og digitale færdigheder tilgængelige for alle på en sjov og medrivende måde.', - 'when' => '14.-27. oktober 2024', + 'when' => 'Kom og vær med til noget festligt sjov!', 'when_text' => 'At lære at kode hjælper os med at finde mening i den hastigt skiftende verden omkring os, udvide vores forståelse af hvordan teknologi virker og udvikle evner og færdigheder, så vi kan udforske nye idéer og skabe nyt.', + 'xmas_text' => 'Få julen til at funkle af innovation og kreativitet! Deltag i vores »Coding@Christmas«-sjov ved at tilføje din kodningsaktivitet til vores kort, og få chancen for at vinde et micro:bit-sæt til dine elever. Lad os fejre julen ved at styrke den næste generation af tænkere og skabere. Tilføj din aktivitet i dag, og vær med til at inspirere til en lysere fremtid!', + 'button_text' => 'Vær med!', 'school_banner_title' => 'Vær med!', 'school_banner_text' => 'Er du lærer?', 'school_banner_text2' => 'Klik her for at se, hvordan du kan være med!', diff --git a/resources/lang/de/community.php b/resources/lang/de/community.php index a2b4482ef..01a345c83 100644 --- a/resources/lang/de/community.php +++ b/resources/lang/de/community.php @@ -36,17 +36,5 @@ 'Wenn es in Ihrem Land Botschafter/innen gibt, wenden Sie sich bitte direkt an diese, um zu erfahren, wie Sie die Initiative am besten unterstützen können. Gibt es in Ihrem Land niemanden, können Sie sich an info@codeweek.eu wenden.', ], - 'hub_DE' => 'Science on Stage Deutschland e.V.', - 'hub_level_DE' => 'Regional Hub', - 'hub_desc_DE' => 'Science on Stage Deutschland e.V. rückt als gemeinnütziger Verein die naturwissenschaftliche Bildung ins schulische und öffentliche Rampenlicht und fördert die Zusammenarbeit von MINT-Lehrkräften in ganz Europa. Durch Bildungsfestivals, Workshops und Fortbildungen für Lehrkräfte verfolgt die Organisation das Ziel, den Unterricht in den Bereichen Naturwissenschaften, Technik und Ingenieurwesen an Schulen zu verbessern. Zusätzlich bietet der Verein Lehrkräften eine Plattform, um bewährte Praktiken, innovative Lehrmethoden und praxisorientierte Experimente auszutauschen, die das Interesse von Schüler*innen an MINT-Fächern wecken. Die Mission von Science on Stage besteht darin, ein Netzwerk leidenschaftlicher Lehrkräfte zu schaffen, die die nächste Generation von Wissenschaftler*innen und Ingenieur*innen in ganz Europa inspirieren.', - - 'hub_AT' => 'Science on Stage Deutschland e.V.', - 'hub_level_AT' => 'Regional Hub', - 'hub_desc_AT' => 'Science on Stage Deutschland e.V. rückt als gemeinnütziger Verein die naturwissenschaftliche Bildung ins schulische und öffentliche Rampenlicht und fördert die Zusammenarbeit von MINT-Lehrkräften in ganz Europa. Durch Bildungsfestivals, Workshops und Fortbildungen für Lehrkräfte verfolgt die Organisation das Ziel, den Unterricht in den Bereichen Naturwissenschaften, Technik und Ingenieurwesen an Schulen zu verbessern. Zusätzlich bietet der Verein Lehrkräften eine Plattform, um bewährte Praktiken, innovative Lehrmethoden und praxisorientierte Experimente auszutauschen, die das Interesse von Schüler*innen an MINT-Fächern wecken. Die Mission von Science on Stage besteht darin, ein Netzwerk leidenschaftlicher Lehrkräfte zu schaffen, die die nächste Generation von Wissenschaftler*innen und Ingenieur*innen in ganz Europa inspirieren.', - - 'hub_CH' => 'Science on Stage Deutschland e.V.', - 'hub_level_CH' => 'Regional Hub', - 'hub_desc_CH' => 'Science on Stage Deutschland e.V. rückt als gemeinnütziger Verein die naturwissenschaftliche Bildung ins schulische und öffentliche Rampenlicht und fördert die Zusammenarbeit von MINT-Lehrkräften in ganz Europa. Durch Bildungsfestivals, Workshops und Fortbildungen für Lehrkräfte verfolgt die Organisation das Ziel, den Unterricht in den Bereichen Naturwissenschaften, Technik und Ingenieurwesen an Schulen zu verbessern. Zusätzlich bietet der Verein Lehrkräften eine Plattform, um bewährte Praktiken, innovative Lehrmethoden und praxisorientierte Experimente auszutauschen, die das Interesse von Schüler*innen an MINT-Fächern wecken. Die Mission von Science on Stage besteht darin, ein Netzwerk leidenschaftlicher Lehrkräfte zu schaffen, die die nächste Generation von Wissenschaftler*innen und Ingenieur*innen in ganz Europa inspirieren.', - 'codeweek_de' => '
In Deutschland wird die Code Week von einem Team aus ehrenamtlichen Botschafter*innen, zahlreichen bundesweiten Regio-Hubs und vielen weiteren Akteur*innen getragen. Das bundesweite Regio-Hub-Netzwerk wird von der Körber-Stiftung koordiniert. Das internationale deutschsprachige Code Week Netzwerk in Deutschland, Österreich, Liechtenstein und Schweiz wird von Science on Stage koordiniert.
' ]; diff --git a/resources/lang/de/home.php b/resources/lang/de/home.php index 71ac3b359..a0f12e11f 100644 --- a/resources/lang/de/home.php +++ b/resources/lang/de/home.php @@ -2,8 +2,10 @@ return [ 'about' => 'Die EU Code Week ist eine Breiteninitiative, die der Bevölkerung das Programmieren und digitale Kompetenzen auf spaßige und ansprechende Weise näherbringen soll.', - 'when' => '14.-27. Oktober 2024', + 'when' => 'Kommen Sie zu uns und erleben Sie ein fröhliches Fest!', 'when_text' => '>Programmieren zu lernen, hilft uns, den Sinn der sich schnell verändernden Welt um uns herum zu verstehen, unser Verständnis für die Technologie zu erweitern und Kompetenzen und Fähigkeiten zu entwickeln, um neue Ideen und Innovationen umzusetzen.', + 'xmas_text' => 'Bringen Sie die Weihnachtszeit mit Innovation und Kreativität zum Funkeln! Machen Sie mit bei unserem „Coding@Christmas“-Spaß, indem Sie Ihre Coding-Aktivität zu unserer Karte hinzufügen und die Chance haben, ein micro:bit Kit für Ihre Schüler zu gewinnen. Lassen Sie uns die Feiertage feiern, indem wir die nächste Generation von Denkern und Schöpfern fördern. Fügen Sie Ihre Aktivität noch heute hinzu und helfen Sie, eine bessere Zukunft zu inspirieren!', + 'button_text' => 'Beteiligen Sie sich!', 'school_banner_title' => 'Beteiligen Sie sich!', 'school_banner_text' => 'Sind Sie Lehrerin oder Lehrer?', 'school_banner_text2' => 'Klicken Sie hier, um herauszufinden, wie Sie sich beteiligen können!', diff --git a/resources/lang/el/home.php b/resources/lang/el/home.php index e9264a81b..4305b831a 100644 --- a/resources/lang/el/home.php +++ b/resources/lang/el/home.php @@ -2,8 +2,10 @@ return [ 'about' => 'Η Ευρωπαϊκή Εβδομάδα Προγραμματισμού είναι μια πρωτοβουλία βάσης που έχει ως στόχο να κάνει τον προγραμματισμό και τον ψηφιακό γραμματισμό προσιτό σε όλους, με διασκεδαστικό και ενδιαφέροντα τρόπο.', - 'when' => '14-27 Οκτωβρίου 2024', + 'when' => 'Ελάτε μαζί μας για λίγη εορταστική διασκέδαση!', 'when_text' => 'Η εκμάθηση συγγραφής κώδικα μας βοηθάει να κατανοούμε τον κόσμο που εξελίσσεται ταχύτατα γύρω μας, να διευρύνουμε τις γνώσεις μας για τον τρόπο λειτουργίας της τεχνολογίας και να αναπτύσσουμε δεξιότητες και ικανότητες, ώστε να ανακαλύπτουμε νέες ιδέες και να καινοτομούμε.', + 'xmas_text' => 'Κάντε τη φετινή εορταστική περίοδο να λάμψει με καινοτομία και δημιουργικότητα! Πάρτε μέρος στη διασκέδαση «Coding@Christmas» προσθέτοντας τη δραστηριότητά σας στον χάρτη μας και κερδίστε ένα κιτ micro:bit για τους μαθητές σας. Ας γιορτάσουμε τις γιορτές ενδυναμώνοντας την επόμενη γενιά στοχαστών και δημιουργών. Προσθέστε τη δραστηριότητά σας σήμερα και βοηθήστε να εμπνεύσετε ένα λαμπρότερο μέλλον!', + 'button_text' => 'ΔΗΛΩΣΕ ΣΥΜΜΕΤΟΧΗ!', 'school_banner_title' => 'ΔΗΛΩΣΕ ΣΥΜΜΕΤΟΧΗ!', 'school_banner_text' => 'Είσαι εκπαιδευτικός;', 'school_banner_text2' => 'Κάνε κλικ εδώ για να μάθεις πώς να συμμετάσχεις!', diff --git a/resources/lang/en/home.php b/resources/lang/en/home.php index 03e38b5a9..eb558baf7 100644 --- a/resources/lang/en/home.php +++ b/resources/lang/en/home.php @@ -2,8 +2,10 @@ return [ 'about' => 'EU Code Week is a grassroots initiative which aims to bring coding and digital literacy to everybody in a fun and engaging way…', - 'when' => '', + 'when' => 'Join us for some festive fun!', 'when_text' => 'Learning to code helps us make sense of the rapidly changing world around us. Join millions of fellow organisers and participants to inspire the development of coding and computational thinking skills in order to explore new ideas and innovate for the future.', + 'xmas_text' => 'Make this festive season sparkle with innovation and creativity! Join our \'Coding@Christmas\' fun by adding your coding activity to our map, and be in with a chance to win a micro:bit kit for your students. Let’s celebrate the holidays by empowering the next generation of thinkers and creators. Add your activity today and help inspire a brighter future!', + 'button_text' => 'Get Involved!', 'school_banner_title' => 'Get Involved! Add an Activity!', 'school_banner_text' => 'Are you a teacher?', 'school_banner_text2' => 'Find out how to get involved!', diff --git a/resources/lang/en/search.php b/resources/lang/en/search.php index 633b49c47..937c3114f 100644 --- a/resources/lang/en/search.php +++ b/resources/lang/en/search.php @@ -31,11 +31,4 @@ 'themes' => 'Themes', 'countries' => 'Countries', 'search_placeholder' => 'Search by title or description', - 'search_banner_title' => 'Find what inspires you', - 'search_banner_content' => 'Browse through a wealth of coding resources, activities, and guides to support your journey into digital creativity and learning', - 'search_results_title' => 'Search results', - 'search_input_label' => 'See the results based on your keyword(s) below:', - 'search_input_placeholder' => 'Search...', - 'results' => 'Results', - 'no_results' => 'No results found.', ]; diff --git a/resources/lang/es/home.php b/resources/lang/es/home.php index 048f5cb4e..25e843e3e 100644 --- a/resources/lang/es/home.php +++ b/resources/lang/es/home.php @@ -2,8 +2,10 @@ return [ 'about' => 'La Semana de la Programación de la UE es una iniciativa de base que tiene como objetivo acercar la programación y el alfabetismo digital de una forma divertida e interesante.', - 'when' => 'Del 14 al 27 de octubre de 2024', + 'when' => '¡Ven a divertirte con nosotros!', 'when_text' => 'Aprender a programar nos ayuda a darle sentido al mundo en constante cambio que nos rodea, a conocer mejor cómo funciona la tecnología y a desarrollar capacidades y competencias que nos permitan explorar ideas nuevas e innovar.', + 'xmas_text' => 'Haz que estas fiestas brillen por su innovación y creatividad. Únete a nuestra diversión «Coding@Christmas» añadiendo tu actividad de codificación a nuestro mapa y tendrás la oportunidad de ganar un kit micro:bit para tus alumnos. Celebremos las fiestas potenciando a la próxima generación de pensadores y creadores. Añade tu actividad hoy y ayuda a inspirar un futuro mejor.', + 'button_text' => '¡Participa!', 'school_banner_title' => '¡Participa!', 'school_banner_text' => '¿Eres profesor?', 'school_banner_text2' => '¡Haz clic aquí para ver cómo puedes participar!', diff --git a/resources/lang/et/home.php b/resources/lang/et/home.php index 2d81b0185..f98dc547d 100644 --- a/resources/lang/et/home.php +++ b/resources/lang/et/home.php @@ -2,8 +2,10 @@ return [ 'about' => 'ELi programmeerimisnädal Code Week on rohujuuretasandi algatus, mille eesmärk on õpetada inimestele lõbusal ja kaasahaaraval viisil programmeerimist ja digitaalset kirjaoskust.', - 'when' => '14.-27. oktoobril 2024', + 'when' => 'Liitu meiega pidulikuks lõbutsemiseks!', 'when_text' => 'Programmeerimise õppimine aitab meil mõista kiiresti muutuvat maailma, täiendada oma teadmisi tehnoloogiast, arendada uusi oskusi ja avastada innovaatilisi ideid.', + 'xmas_text' => 'Muuda see pühadeaeg uuenduslikkuse ja loovusega säravaks! Liitu meie „Coding@Christmas“ lõbuga, lisades oma kodeerimistegevuse meie kaardile, ja sul on võimalus võita oma õpilastele micro:bit-komplekt. Tähistame pühi, andes mõtlejatele ja loojatele järgmise põlvkonna võimalusi. Lisage oma tegevus juba täna ja aidake kaasa helgemale tulevikule!', + 'button_text' => 'Liituge!', 'school_banner_title' => 'Liituge!', 'school_banner_text' => 'Kas oled õpetaja?', 'school_banner_text2' => 'Klõpsa siin, et leida teavet, kuidas osaleda!', diff --git a/resources/lang/fi/home.php b/resources/lang/fi/home.php index ac4be94b2..d76332062 100644 --- a/resources/lang/fi/home.php +++ b/resources/lang/fi/home.php @@ -2,8 +2,10 @@ return [ 'about' => 'EU:n koodausviikko on ruohonjuuritason aloite, jonka tavoitteena on edistää koodausta ja digitaalista lukutaitoa hauskalla ja osallistavalla tavalla.', - 'when' => '14.–27.10.2024', + 'when' => 'Liity seuraamme juhlalliseen hauskanpitoon!', 'when_text' => 'Oppimalla koodaamaan opimme jäsentämään ympärillämme nopeasti muuttuvaa maailmaa, ymmärtämään teknologiaa sekä kehittämään taitoja ja valmiuksia, joiden avulla voimme keksiä uusia ideoita ja innovaatioita.', + 'xmas_text' => 'Tee tästä juhlakaudesta innovaatiolla ja luovuudella säihkyvä! Osallistu ”Coding@Christmas”-hauskanpitoon lisäämällä koodausaktiviteettisi kartalle ja voit voittaa micro:bit-paketin oppilaillesi. Juhlitaan joulua antamalla ajattelijoiden ja luovien tekijöiden seuraavalle sukupolvelle voimia. Lisää aktiviteettisi tänään ja auta luomaan valoisampi tulevaisuus!', + 'button_text' => 'Osallistu!', 'school_banner_title' => 'Osallistu!', 'school_banner_text' => 'Oletko opettaja?', 'school_banner_text2' => 'Napsauta tästä ja lue, miten voit osallistua!', diff --git a/resources/lang/fr/community.php b/resources/lang/fr/community.php index babd2beb4..0204c1e14 100644 --- a/resources/lang/fr/community.php +++ b/resources/lang/fr/community.php @@ -35,9 +35,4 @@ 'et parcourez brièvement la liste des ambassadeurs de la Semaine européenne du code. ', 'S’il y a des ambassadeurs dans votre pays, contactez-les directement et discutez avec eux des meilleures manières dont vous pouvez contribuer à l’initiative. S’il n’y a aucun ambassadeur dans votre pays, veuillez nous contacter à l’adresse info@codeweek.eu.', ], - - 'hub_FR' => 'Simplon.Co, France', - 'hub_level_FR' => 'National Hub', - 'hub_desc_FR' => 'Simplon.co est une entreprise sociale et solidaire et un organisme de formation certifié dont l\'objectif est de proposer des formations aux compétences numériques afin de favoriser l’employabilité de nos apprenants dans une économie en pleine transformation digitale. Nos formations sans coût pour les participants sont destinées à des personnes issues de tous horizons, y compris des groupes sous-représentés dans le domaine de la technologie. Simplon.co met l\'accent sur l\'apprentissage pratique et l’acquisition des compétences fortement demandées par les employeurs afin de préparer les participants à des carrières stimulantes. Nous collaborons fortement avec les entreprises du secteur numérique pour faciliter l\'accès au marché du travail pour nos apprenants.. - En tant que Code Week National Hub pour la France, Simplon a pour mission, en étroite coopération avec le Ministère de l\'Education et l\'éco-système du numérique éducatif, d\'encourager l\'organisation d\'événements d\'initiation au code et à la culture numérique (pendant la Code Week mais aussi tout le reste de l\'année), de promouvoir les activités organisées partout en France, de valoriser toutes les ressources et initiatives partenaires et d\'être un point de contact pour les organisations, académies, écoles et entreprises qui souhaitent s\'engager dans cette initiative.' ]; diff --git a/resources/lang/fr/home.php b/resources/lang/fr/home.php index 9426489ae..2e62f8159 100644 --- a/resources/lang/fr/home.php +++ b/resources/lang/fr/home.php @@ -2,8 +2,10 @@ return [ 'about' => 'La Semaine européenne du code est une initiative citoyenne qui vise à apprendre la programmation et l’alphabétisation numérique à tous de manière amusante et attrayante.', - 'when' => '14-27 octobre 2024', + 'when' => 'Rejoignez-nous pour un divertissement festif !', 'when_text' => 'Apprendre la programmation nous aide à comprendre le monde en mutation rapide qui nous entoure ainsi que le fonctionnement de la technologie, et à développer des compétences et des aptitudes afin d’étudier de nouvelles idées et d’innover.', + 'xmas_text' => 'Faites pétiller cette saison festive d\innovation et de créativité ! Participez à notre « Coding@Christmas » en ajoutant votre activité de codage à notre carte et courez la chance de gagner un kit micro:bit pour vos élèves. Célébrons les fêtes en donnant à la prochaine génération de penseurs et de créateurs les moyens d\'agir. Ajoutez votre activité aujourd\'hui et contribuez à inspirer un avenir meilleur !', + 'button_text' => 'Get Involved!', 'school_banner_title' => 'Participez!', 'school_banner_text' => 'Vous êtes enseignant(e)?', 'school_banner_text2' => 'Cliquez ici pour découvrir comment participer!', diff --git a/resources/lang/hr/community.php b/resources/lang/hr/community.php index 7f52b766a..8cfcd4149 100644 --- a/resources/lang/hr/community.php +++ b/resources/lang/hr/community.php @@ -35,12 +35,4 @@ 'i pogledajte popis ambasadora Europskog tjedna programiranja.', 'Ako u vašoj zemlji postoje ambasadori, stupite u izravan kontakt s njima i saznajte kako biste najbolje mogli poduprijeti ovu inicijativu. Ako u vašoj zemlji nema ambasadora, pišite nam na info@codeweek.eu.', ], - - 'hub_HR' => 'Profil Klett D.o.o.', - 'hub_level_HR' => 'Regionalni Hub', - 'hub_desc_HR' => 'Profil Klett d.o.o. je vodeća izdavačka kuća edukativnih materijala, posvećena pružanju kvalitetnih resursa namijenjenih podučavanju i usvajanju znanja diljem različitih obrazovnih razina. Tvrtka osigurava širok raspon udžbenika, digitalnih materijala i obrazovnih materijala namijenjenih poboljšanju iskustva učenja te lakšem uključivanju učenika. Kroz suradnju s edukatorima, istraživačima i institucijama te svojim resursima osigurava zadovoljavanje rastućih potreba obrazovnog sektora. Njegovanje ljubavi prema učenju kroz inspiriranje učenika i učitelja u srži je misije Profil Klett-a. ', - - 'hub_SI' => 'Profil Klett D.o.o.', - 'hub_level_SI' => 'Regionalni Hub', - 'hub_desc_SI' => 'Podjetje Profil Klett, d. o. o., je vodilni izobraževalni založnik, ki ustvarja kakovostna gradiva za poučevanje in učenje na različnih stopnjah izobraževalnega sistema. Ponuja širok nabor učbenikov, digitalnih gradiv in izobraževalnih orodij za podporo učenju in spodbujanje aktivnega sodelovanja učencev. Profil Klett sodeluje s številnimi učitelji, raziskovalci in inštitucijami ter s tem zagotavlja, da učna gradiva ustrezajo potrebam izobraževalnega sistema. Poslanstvo podjetja je negovanje ljubezni do učenja, s čimer navdihujejo tako učence kot učitelje.' ]; diff --git a/resources/lang/hr/home.php b/resources/lang/hr/home.php index 0cf840e09..0a141a67c 100644 --- a/resources/lang/hr/home.php +++ b/resources/lang/hr/home.php @@ -2,8 +2,9 @@ return [ 'about' => 'Europski tjedan programiranja društvena je inicijativa čiji je cilj na zabavan i angažirajući način svima približiti programiranje i digitalnu pismenost.', - 'when' => '14.-27. listopada 2024.', + 'when' => 'Pridružite nam se za prazničnu zabavu!', 'when_text' => 'Učenje programiranja pomaže nam da shvatimo svijet oko sebe koji se brzo mijenja, proširimo svoje razumijevanje o tome kako funkcionira tehnologija te da razvijemo vještine i sposobnosti kako bismo istraživali nove ideje i bili inovativni.', + 'xmas_text' => 'Učinite ovu blagdansku sezonu sjajnom uz inovacije i kreativnost! Pridružite se našoj \'Coding@Christmas\' zabavi dodavanjem svoje aktivnosti kodiranja na našu kartu i steknite priliku osvojiti micro:bit komplet za svoje učenike. Proslavimo blagdane osnaživanjem nove generacije mislilaca i stvaralaca. Dodajte svoju aktivnost već danas i pomozite inspirirati svjetliju budućnost!', 'school_banner_title' => 'Uključite se!', 'school_banner_text' => 'Jeste li nastavnik?', 'school_banner_text2' => 'Kliknite ovdje i saznajte kako se uključiti!', diff --git a/resources/lang/it/community.php b/resources/lang/it/community.php index 0a2acd29b..5071b49aa 100644 --- a/resources/lang/it/community.php +++ b/resources/lang/it/community.php @@ -35,8 +35,4 @@ "e dai un'occhiata all'elenco degli ambasciatori della settimana europea della programmazione", "Se nel tuo paese vi sono già ambasciatori, ti invitiamo a metterti direttamente in contatto con loro per scoprire come sostenere al meglio l'iniziativa. Se non c'è nessun ambasciatore nel tuo paese, puoi rivolgerti all'indirizzo info@codeweek.eu", ], - - 'hub_IT' => 'Fondazione LINKS - Leading Innovation and Knowledge for Society', - 'hub_level_IT' => 'National Hub', - 'hub_desc_IT' => 'Fondazione LINKS è una fondazione privata senza scopo di lucro nata per promuovere l\'innovazione, facilitare il trasferimento di conoscenze e migliorare la crescita della società, in particolare in Italia. Con le sue attività Fondazione LINKS mira a colmare il divario tra il mondo accademico, l\'industria e la pubblica amministrazione, promuovendo progetti di ricerca e sviluppo in collaborazione con questi attori. FondazionE LINKS si propone di affrontare sfide sociali come il cambiamento climatico, la salute e la trasformazione digitale, con una particolare attenzione al settore educativo. All\'interno della fondazione, l\'unità di ricerca EdTech esplora la relazione tra tecnologie emergenti e apprendimento, assicurando che l\'innovazione sia al servizio di una comunità educativa sempre più ampia. POC: edtech@linksfoundation.com' ]; diff --git a/resources/lang/lv/community.php b/resources/lang/lv/community.php index 17ca5a556..d401e0336 100644 --- a/resources/lang/lv/community.php +++ b/resources/lang/lv/community.php @@ -35,12 +35,4 @@ 'un aplūkojiet ES programmēšanas nedēļas vēstnieku sarakstu', 'Ja jūsu valstī jau ir vēstnieki, lūdzu, sazinieties ar viņiem tieši un noskaidrojiet, kā jūs vislabāk varētu atbalstīt šo iniciatīvu. Ja jūsu valstī neviena vēstnieka nav, varat rakstīt uz info@codeweek.eu.', ], - - 'hub_LT' => 'Latvijas Informācijas un komunikācijas tehnoloģijas asociācija', - 'hub_level_LT' => 'Regional Hub', - 'hub_desc_LT' => 'Latvijas Informācijas un komunikācijas tehnoloģiju asociācija (LIKTA) veicina informācijas un komunikācijas tehnoloģiju (IKT) nozares attīstību Latvijā. Organizācija iestājas par politiku, kas sekmē inovācijas, izaugsmi un konkurētspēju, vienlaikus nodrošinot biedriem resursus, kontaktu veidošanas iespējas un zināšanu apmaiņas platformas. LIKTA ciešā sadarbībā ar valsts un izglītības iestādēm strādā pie digitālās pratības veicināšanas sabiedrībā un interešu rosināšanas par karjeras iespējām IKT jomā. Tāpat asociācija organizē konferences, darbnīcas un hakatonus, lai iesaistītu un iedvesmotu nākamās paaudzes tehnoloģiju līderus. LIKTA koordinē arī CodeWeek aktivitātes Latvijā un Lietuvā.', - - 'hub_LV' => 'Latvijas Informācijas un komunikācijas tehnoloģijas asociācija', - 'hub_level_LV' => 'Regional Hub', - 'hub_desc_LV' => 'Latvijas Informācijas un komunikācijas tehnoloģiju asociācija (LIKTA) veicina informācijas un komunikācijas tehnoloģiju (IKT) nozares attīstību Latvijā. Organizācija iestājas par politiku, kas sekmē inovācijas, izaugsmi un konkurētspēju, vienlaikus nodrošinot biedriem resursus, kontaktu veidošanas iespējas un zināšanu apmaiņas platformas. LIKTA ciešā sadarbībā ar valsts un izglītības iestādēm strādā pie digitālās pratības veicināšanas sabiedrībā un interešu rosināšanas par karjeras iespējām IKT jomā. Tāpat asociācija organizē konferences, darbnīcas un hakatonus, lai iesaistītu un iedvesmotu nākamās paaudzes tehnoloģiju līderus. LIKTA koordinē arī CodeWeek aktivitātes Latvijā un Lietuvā.', ]; diff --git a/resources/lang/ro/community.php b/resources/lang/ro/community.php index ee88b7810..d7a7af8b2 100644 --- a/resources/lang/ro/community.php +++ b/resources/lang/ro/community.php @@ -36,16 +36,4 @@ 'și consultați lista Ambasadorilor Săptămânii UE a programării.', 'Dacă există ambasadori în țara dumneavoastră, vă rugăm să îi contactați direct pentru a vedea cum puteți sprijini cel mai bine inițiativa. Dacă nu există niciun ambasador în țara dumneavoastră, contactați-ne la adresa info@codeweek.eu.', ], - - 'hub_RO' => 'University Politehnica of Bucharest.', - 'hub_level_RO' => 'Regional Hub', - 'hub_desc_RO' => 'Renumită ca una dintre cele mai importante instituții tehnice din România, Universitatea Națională de Știință și Tehnologie Politehnica București se remarcă drept un lider în educația și cercetarea din domeniul ingineriei și tehnologiei. Universitatea oferă o gamă variată de programe, pregătind studenții cu abilitățile necesare pentru a reuși într-o piață globală competitivă. -Angajată în cercetare și inovație, universitatea colaborează cu parteneri din industrie pentru a stimula progresul tehnologic și a aborda provocările din viața reală. De asemenea, promovează antreprenoriatul și învățarea continuă, pregătind viitorii lideri în domeniile lor. -În calitate de Hub Național Code Week pentru România și Moldova, Politehnica București organizează parteneriate, workshop-uri, hackathoane și evenimente tehnice pentru a promova programarea și competențele digitale în rândul tinerilor și al profesorilor. Aceste activități îi inspiră pe participanți să exploreze tehnologia și evidențiază rolul universității în dezvoltarea inovatorilor de mâine.', - - 'hub_MD' => 'University Politehnica of Bucharest.', - 'hub_level_MD' => 'Regional Hub', - 'hub_desc_MD' => 'Renumită ca una dintre cele mai importante instituții tehnice din România, Universitatea Națională de Știință și Tehnologie Politehnica București se remarcă drept un lider în educația și cercetarea din domeniul ingineriei și tehnologiei. Universitatea oferă o gamă variată de programe, pregătind studenții cu abilitățile necesare pentru a reuși într-o piață globală competitivă. -Angajată în cercetare și inovație, universitatea colaborează cu parteneri din industrie pentru a stimula progresul tehnologic și a aborda provocările din viața reală. De asemenea, promovează antreprenoriatul și învățarea continuă, pregătind viitorii lideri în domeniile lor. -În calitate de Hub Național Code Week pentru România și Moldova, Politehnica București organizează parteneriate, workshop-uri, hackathoane și evenimente tehnice pentru a promova programarea și competențele digitale în rândul tinerilor și al profesorilor. Aceste activități îi inspiră pe participanți să exploreze tehnologia și evidențiază rolul universității în dezvoltarea inovatorilor de mâine.' ]; diff --git a/resources/lang/sl/community.php b/resources/lang/sl/community.php index 4a1a2d511..6d9d02d48 100644 --- a/resources/lang/sl/community.php +++ b/resources/lang/sl/community.php @@ -35,13 +35,4 @@ 'in si na hitro oglejte seznam ambasadorjev evropskega tedna programiranja.', 'Če so v vaši državi ambasadorji, se obrnite neposredno nanje in ugotovite, kako lahko najbolje podprete pobudo. Če v vaši državi ni ambasadorja, nam lahko pišete na info@codeweek.eu.', ], - - - 'hub_HR' => 'Profil Klett D.o.o.', - 'hub_level_HR' => 'Regionalni Hub', - 'hub_desc_HR' => 'Podjetje Profil Klett, d. o. o., je vodilni izobraževalni založnik, ki ustvarja kakovostna gradiva za poučevanje in učenje na različnih stopnjah izobraževalnega sistema. Ponuja širok nabor učbenikov, digitalnih gradiv in izobraževalnih orodij za podporo učenju in spodbujanje aktivnega sodelovanja učencev. Profil Klett sodeluje s številnimi učitelji, raziskovalci in inštitucijami ter s tem zagotavlja, da učna gradiva ustrezajo potrebam izobraževalnega sistema. Poslanstvo podjetja je negovanje ljubezni do učenja, s čimer navdihujejo tako učence kot učitelje.', - - 'hub_SI' => 'Profil Klett D.o.o.', - 'hub_level_SI' => 'Regionalni Hub', - 'hub_desc_SI' => 'Podjetje Profil Klett, d. o. o., je vodilni izobraževalni založnik, ki ustvarja kakovostna gradiva za poučevanje in učenje na različnih stopnjah izobraževalnega sistema. Ponuja širok nabor učbenikov, digitalnih gradiv in izobraževalnih orodij za podporo učenju in spodbujanje aktivnega sodelovanja učencev. Profil Klett sodeluje s številnimi učitelji, raziskovalci in inštitucijami ter s tem zagotavlja, da učna gradiva ustrezajo potrebam izobraževalnega sistema. Poslanstvo podjetja je negovanje ljubezni do učenja, s čimer navdihujejo tako učence kot učitelje.' ]; diff --git a/resources/lang/ua/community.php b/resources/lang/ua/community.php index 92926b5c3..3e981b84d 100644 --- a/resources/lang/ua/community.php +++ b/resources/lang/ua/community.php @@ -35,7 +35,5 @@ 'і перегляньте список послів Тижня кодування ЄС.', 'Якщо у Вашій країні є посли, зв’яжіться безпосередньо з ними та дізнайтеся, як найкраще Ви можете підтримати ініціативу. Якщо у Вашій країні нема послів, напишіть на адресу info@codeweek.eu.', ], - 'hub_UA' => 'NGO Junior Achievement Ukraine', - 'hub_level_UA' => 'National Hub', - 'hub_desc_UA' => 'це неурядова організація, яка сприяє розвитку підприємництва, фінансової грамотності та цифрових навичок серед молоді. В рамках консорціуму Code4Europe ми реалізуємо ініціативи, спрямовані на покращення цифрової грамотності та розвиток ІТ-талантів в Україні. Наша діяльність зосереджена на організації освітніх заходів, хакатонів, тренінгів для викладачів та створенні можливостей для молоді через партнерство з провідними ІТ-компаніями.' + ]; diff --git a/resources/views/livewire/filter-component.blade.php b/resources/views/livewire/filter-component.blade.php deleted file mode 100644 index e062bb039..000000000 --- a/resources/views/livewire/filter-component.blade.php +++ /dev/null @@ -1,9 +0,0 @@ -{{ count($results) }} @lang('search.results')
- - @foreach($results as $result) -- {{ $result['category'] }} - @if(isset($result['date'])) - | - {{ $result['date'] }} - @endif -
- -{{ $result['description'] }}
-@lang('search.no_results')
- @endif -