diff --git a/app/Http/Controllers/ResourcesPageController.php b/app/Http/Controllers/ResourcesPageController.php new file mode 100644 index 000000000..a09c41cf0 --- /dev/null +++ b/app/Http/Controllers/ResourcesPageController.php @@ -0,0 +1,13 @@ + 'Resources', + 'title' => 'Training Materials, online courses, teaching and learning resources to help you organise your own Codeweek activity!' + +]; \ No newline at end of file diff --git a/resources/lang/en/resources.php b/resources/lang/en/resources.php index 39892bc42..8ea80343f 100644 --- a/resources/lang/en/resources.php +++ b/resources/lang/en/resources.php @@ -78,7 +78,8 @@ 'Tinkering' => 'Tinkering', 'Unplugged Activities' => 'Unplugged Activities', 'Other' => 'Other' - ] + ], + ] ]; diff --git a/resources/latex/images/participation-certificate-2023.png b/resources/latex/images/participation-certificate-2023.png new file mode 100644 index 000000000..42cc12069 Binary files /dev/null and b/resources/latex/images/participation-certificate-2023.png differ diff --git a/resources/latex/participation.tex b/resources/latex/participation.tex index 2101bfd76..64c0092bc 100644 --- a/resources/latex/participation.tex +++ b/resources/latex/participation.tex @@ -27,11 +27,12 @@ \vfill \centering \includegraphics[width=\paperwidth,height=\paperheight,% -keepaspectratio]{images/participation-certificate-2022.png}% +keepaspectratio]{images/participation-certificate-2023.png}% \vfill }}} + \begin{document} \AddToShipoutPicture{\BackgroundPic} ~ @@ -39,10 +40,9 @@ ~ \begin{center} -\vspace{4.1cm} +\vspace{3.1cm} -{\centering\Huge\ -\hspace{1em} +{\centering\fontsize{36}{48}\selectfont \begin{otherlanguage*}{russian} \textcolor{myorange}{} \end{otherlanguage*} @@ -52,35 +52,21 @@ \footnotesize \begin{center} -\Large +\fontsize{24}{36}\selectfont \vspace{5.0cm} -\hspace{1em} \begin{otherlanguage*}{russian} \textcolor{myorange}{} \end{otherlanguage*} \end{center} \end{table} -\vspace{-3cm} -\end{center} -\begin{table}[h] - -\begin{center} -\vspace{2.6cm} - -\footnotesize -\begin{tabular}{lr} -%~\hspace{0.7cm} -\end{tabular} \end{center} -\end{table} -\vspace{-1.7cm} +\vspace{0.2cm} \begin{center} \begin{otherlanguage*}{russian} -\hspace{3em} \textcolor{black}{} \end{otherlanguage*} %\end{tabular} \end{center} -\end{document} +\end{document} \ No newline at end of file diff --git a/resources/latex/participation_greek.tex b/resources/latex/participation_greek.tex index 9bbc161a4..8e3c4c28a 100644 --- a/resources/latex/participation_greek.tex +++ b/resources/latex/participation_greek.tex @@ -28,7 +28,7 @@ \vfill \centering \includegraphics[width=\paperwidth,height=\paperheight,% -keepaspectratio]{images/participation-certificate-2022.png}% +keepaspectratio]{images/participation-certificate-2023.png}% \vfill }}} @@ -40,10 +40,9 @@ ~ \begin{center} -\vspace{4.2cm} +\vspace{3.1cm} -{\centering\Huge\ -\hspace{1em} +{\centering\fontsize{36}{48}\selectfont \begin{otherlanguage*}{} \textcolor{myorange}{} \end{otherlanguage*} @@ -53,35 +52,21 @@ \footnotesize \begin{center} -\Large +\fontsize{24}{36}\selectfont \vspace{5.0cm} -\hspace{1em} \begin{otherlanguage*}{} \textcolor{myorange}{} \end{otherlanguage*} \end{center} \end{table} -\vspace{-3cm} \end{center} -\begin{table}[h] - -\begin{center} -\vspace{2.7cm} - -\footnotesize -\begin{tabular}{lr} -%~\hspace{0.7cm} -\end{tabular} -\end{center} -\end{table} -\vspace{-1.7cm} +\vspace{0.2cm} \begin{center} \begin{otherlanguage*}{} -\hspace{3em} \textcolor{black}{} \end{otherlanguage*} %\end{tabular} \end{center} -\end{document} +\end{document} \ No newline at end of file diff --git a/resources/views/components/tailwind/cta-with-image.blade.php b/resources/views/components/tailwind/cta-with-image.blade.php new file mode 100644 index 000000000..0d1e9f376 --- /dev/null +++ b/resources/views/components/tailwind/cta-with-image.blade.php @@ -0,0 +1,34 @@ + +
+ @if($imagePosition === 'left') +
+ @else +
+ @endif + + +
+
+ @if($imagePosition === 'left') +
+ @else +
+ @endif + +

{{$title}}

+

{{ucfirst($content)}}

+ +
+
+
diff --git a/resources/views/layout/app.blade.php b/resources/views/layout/app.blade.php deleted file mode 100644 index 609288a9b..000000000 --- a/resources/views/layout/app.blade.php +++ /dev/null @@ -1,123 +0,0 @@ - - - - - - - - - - - - - - - - - - Listing Hub - Listing & Directory Template | ThemezHub - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @stack('css') - - - -
- - - @include('include.header') - - @yield('content') - - - - - - - - @include('include.footer') - - - @include('include.login') - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -@stack('scripts') - - - - - - - - - \ No newline at end of file diff --git a/resources/views/layout/menu.blade.php b/resources/views/layout/menu.blade.php index fbaa61eb4..02c3568e5 100644 --- a/resources/views/layout/menu.blade.php +++ b/resources/views/layout/menu.blade.php @@ -18,7 +18,7 @@
  • - @lang('menu.resources') + @lang('menu.resources')
    • @lang('menu.coding@home')
    • Podcasts
    • diff --git a/resources/views/resources-page.blade.php b/resources/views/resources-page.blade.php new file mode 100644 index 000000000..d0998617b --- /dev/null +++ b/resources/views/resources-page.blade.php @@ -0,0 +1,220 @@ +@extends('layout.base') + +@include('components.tailwind-3') + +@include('components.livewire') + +@section('content') + +
      + {{-- --}} + + + + + +
      +
      +

      @lang('resources-page.header')

      +

      @lang('resources-page.title')

      +
      +
      +
      + +
      +
      +
      +

      Coding@Home

      +
      +

      A collection of short videos, do-it-yourself materials, puzzles, games, and + coding challenges for everyday use in the family as well as at school. You do not need any + previous knowledge or electronic devices to do the activities.

      +
      +
      + +
      +
      +
      + +
      +
      +

      Trainings

      +
      +

      Here you can find free training materials & resources that will help you get started and plan + your next innovative lesson. Short modules to explain computational thinking.

      +

      Online courses offer professional development opportunities and support teachers with coding and + computational thinking in the classroom.

      +
      +
      + +
      +
      +
      + +
      +
      +

      Learn

      +
      +

      Browse our repository and find the perfect resource to start or to continue your coding journey. + All of these resources are free of charge.

      +
      +
      + +
      +
      +
      + +
      +
      +

      Teach

      +
      +

      Access a repository of resources that will help you teach coding at home, in the classroom or in + a code club. Browse free-fof-charge teaching resources to bring coding and programming to your + teacher practice.

      +
      +
      + +
      +
      +
      + +
      + +
      +
      +

      Presentations and Toolkits

      +

      Materials that help you organise your own Codeweek activity and promote the initiative with your community

      +
      +
      + + + + +
      +
      +

      Challenges

      +

      Activities that you can do on your own, in the classroom, with colleagues or friends.

      +
      + +
      + +
      + +
      + +
      +
      +
      +

      Build your own Calliope mini fitness trainer

      +
      +

      Participants will develop a digitally controlled prototype that uses a colorful glowing LED to reproduce a preconceived 10-unit fitness exercise.

      +
      +
      + +
      +
      +
      + +
      +
      +

      Build your own Calliope mini fitness trainer

      +
      +

      Participants will develop a digitally controlled prototype that uses a colorful glowing LED to reproduce a preconceived 10-unit fitness exercise.

      +
      +
      + +
      +
      +
      + +
      + + +
      +
      +

      EU Code Week Podcasts

      +

      Join Eugenia Casariego and Arjana Blazic as they explore a range of topics, from media literacy to robotics.

      +
      + +
      + +
      + +
      + + +
      +
      + +
      +
      +
      +
      EU report: Computational thinking in education
      +
      with guests: Augusto Chioccariello and Katja Engelhardt
      +

      Today’s episode will focus on the 2022 study announced by the European Commission: “Reviewing Computational Thinking in Compulsory Education: State of Play and Practices from the Field”.

      + +
      +
      +
      + + + + + + + + {{--
      --}} + + {{--
      --}} + {{--
      --}} + {{--

      @lang('resources-page.header')

      --}} + {{--

      @lang('resources-page.title')

      --}} + {{--
      --}} + {{--
      --}} + {{-- --}} + {{--
      --}} + {{--
      --}} + + {{--
      --}} + + + + {{--
      --}} + + {{--
      --}} + +@endsection \ No newline at end of file diff --git a/routes/web.php b/routes/web.php index 7c053aeea..b703c0e74 100644 --- a/routes/web.php +++ b/routes/web.php @@ -18,7 +18,7 @@ use Illuminate\Support\Facades\Mail; -//Auth::loginUsingId(283178); +//Auth::loginUsingId(20750); Route::domain('{subdomain}.' . Config::get('app.url'))->group(function () { Route::get('/', function ($subdomain) { @@ -232,8 +232,8 @@ Route::get('/events', 'SearchController@search')->name('events_map'); Route::get('/add', 'EventController@create')->name('create_event'); Route::get('/map', 'MapController@index')->name('map'); -Route::get('/resources', 'ResourcesController@learn')->name('resources_learn'); -Route::get('/resources/learn', 'ResourcesController@learn'); +Route::get('/resources', 'ResourcesPageController@index')->name('resources'); +Route::get('/resources/learn', 'ResourcesController@learn')->name('resources_learn'); Route::get('/resources/teach', 'ResourcesController@teach')->name( 'resources_teach' );