diff --git a/app/Http/Controllers/HomeController.php b/app/Http/Controllers/HomeController.php index cef2d938a..e19e873b3 100644 --- a/app/Http/Controllers/HomeController.php +++ b/app/Http/Controllers/HomeController.php @@ -16,7 +16,7 @@ public function index(Request $request): View 'url' => '/dream-jobs-in-digital', 'style_color' => 'background-image: linear-gradient(36.92deg, #1C4DA1 20.32%, #0040AE 28.24%);', 'btn_lang' => 'home.get_involved', - ], */ + ], [ 'title' => 'home.banner5_title', 'description' => 'home.banner5_description', @@ -26,7 +26,7 @@ public function index(Request $request): View 'url2' => null, 'btn2_lang' => null ], - [ + [ 'title' => 'home.banner4_title', 'description' => 'home.banner4_description', 'url' => 'https://codeweek.eu/blog/digital-educator-awards-2025/', @@ -61,6 +61,15 @@ public function index(Request $request): View 'btn_lang' => 'home.meet_our_community', 'url2' => null, 'btn2_lang' => null + ], + [ + 'title' => 'home.banner7_title', + 'description' => 'home.banner7_description', + 'url' => '/blog/festive-acts-of-digital-kindness', + 'style_color' => 'background: linear-gradient(36.92deg, rgb(51, 194, 233) 20.32%, rgb(0, 179, 227) 28.24%);', + 'btn_lang' => 'home.learn_more', + 'url2' => null, + 'btn2_lang' => null ] ]); return view('static.home', compact('activities')); diff --git a/resources/lang/en/home.php b/resources/lang/en/home.php index 5d3c483b3..8bf640c1a 100644 --- a/resources/lang/en/home.php +++ b/resources/lang/en/home.php @@ -63,4 +63,5 @@ 'banner7_title' => 'Festive acts of digital kindness', 'banner7_description' => 'The holiday season is all about connection, kindness, and giving. But gifts don\'t have to come wrapped in paper with a bow on top. This December, we\'re inviting you to join us for something special: Festive Acts of Digital Kindness. ', + ]; diff --git a/resources/latex/excellence-2026.tex b/resources/latex/excellence-2026.tex new file mode 100644 index 000000000..62ef0b764 --- /dev/null +++ b/resources/latex/excellence-2026.tex @@ -0,0 +1,70 @@ +\documentclass[12pt]{article} +\usepackage[T2A,T1]{fontenc} +\usepackage[utf8]{inputenc} +\usepackage[greek,russian,english]{babel} +\usepackage{mathpazo} +\renewcommand{\familydefault}{\sfdefault} +\usepackage[landscape,a4paper]{geometry} +\geometry{verbose,tmargin=0cm,bmargin=0cm,lmargin=3cm,rmargin=3cm} +\usepackage{fancybox} +\usepackage{calc} +\usepackage{multicol} +\usepackage{graphicx} +\usepackage{url} +\usepackage{eso-pic} +\usepackage{textcomp} +\usepackage{paratype} +\usepackage{tgpagella} + + +\DeclareFontFamilySubstitution{T2A}{\rmdefault}{PTSerif-TLF} + +\newcommand\BackgroundPic{% +\put(0,0){% +\parbox[b][\paperheight]{\paperwidth}{% +\vfill +\centering +\includegraphics[width=\paperwidth,height=\paperheight,% +keepaspectratio]{images/excellence-2025.png}% +\vfill +}}} + + +\begin{document} +\AddToShipoutPicture{\BackgroundPic} +~ +\vspace{2.4cm} +~ +\begin{center} + +\vspace{8.3cm} + +{\centering\Huge\ +\begin{otherlanguage*}{russian} +\textbf{} +\end{otherlanguage*} +\par} + +\begin{table}[h] +\footnotesize +\begin{center} + +\end{center} +\end{table} + +\vspace{-3cm} +\end{center} +\begin{table}[h] +\footnotesize +\begin{center} +\begin{tabular}{lr} +%~\hspace{0.7cm} +\end{tabular} +\end{center} +\end{table} +\vspace{-2.2cm} +\begin{center} +%\end{tabular} + +\end{center} +\end{document} diff --git a/resources/latex/excellence_greek-2026.tex b/resources/latex/excellence_greek-2026.tex new file mode 100644 index 000000000..34c96760f --- /dev/null +++ b/resources/latex/excellence_greek-2026.tex @@ -0,0 +1,71 @@ +\documentclass[12pt]{article} +\usepackage[T1,LGR,T2A]{fontenc} +\usepackage[utf8]{inputenc} +\usepackage[greek,russian,english]{babel} +\usepackage{mathpazo} +\renewcommand{\familydefault}{\sfdefault} +\usepackage[landscape,a4paper]{geometry} +\geometry{verbose,tmargin=0cm,bmargin=0cm,lmargin=3cm,rmargin=3cm} +\usepackage{fancybox} +\usepackage{calc} +\usepackage{multicol} +\usepackage{graphicx} +\usepackage{url} +\usepackage{eso-pic} +\usepackage{textcomp} +\usepackage{paratype} +\usepackage{tgpagella} + + +\DeclareFontFamilySubstitution{T2A}{\rmdefault}{PTSerif-TLF} + +\newcommand\BackgroundPic{% +\put(0,0){% +\parbox[b][\paperheight]{\paperwidth}{% +\vfill +\centering +\includegraphics[width=\paperwidth,height=\paperheight,% +keepaspectratio]{images/excellence-2025.png}% +\vfill +}}} + + +\begin{document} +\AddToShipoutPicture{\BackgroundPic} +~ +\vspace{2.4cm} +~ +\begin{center} + +\vspace{8.3cm} + +{\centering\Huge\ +\begin{otherlanguage*}{russian} +\textbf{} +\end{otherlanguage*} +\par} + +\begin{table}[h] +\footnotesize +\begin{center} + +\end{center} +\end{table} + +\vspace{-3cm} +\end{center} +\begin{table}[h] +\footnotesize +\begin{center} +\begin{tabular}{lr} +%~\hspace{0.7cm} +\end{tabular} +\end{center} +\end{table} +\vspace{-2.2cm} +\begin{center} +%\end{tabular} + +\end{center} +\end{document} + diff --git a/resources/latex/participation.tex b/resources/latex/participation.tex index 44a230ead..a54102bfc 100644 --- a/resources/latex/participation.tex +++ b/resources/latex/participation.tex @@ -42,7 +42,7 @@ \textcolor{Slate600}{\fontsize{13}{13}\selectfont Has developed essential computational thinking skills} \\ \textcolor{Slate600}{\fontsize{13}{13}\selectfont and contributed to the success of} \\ \vspace{0.8cm} - \textcolor{myorange}{\fontsize{36}{42}\selectfont EU CodeWeek 2025} \\ + \textcolor{myorange}{\fontsize{36}{42}\selectfont EU CodeWeek 2026} \\ \vspace{0.8cm} \textcolor{Slate600}{\fontsize{13}{13}\selectfont by actively participating in the coding event} \\ \vspace{0.5cm} diff --git a/resources/latex/participation_greek.tex b/resources/latex/participation_greek.tex index d8c58f0b7..b04937491 100644 --- a/resources/latex/participation_greek.tex +++ b/resources/latex/participation_greek.tex @@ -48,7 +48,7 @@ \textcolor{Slate600}{\fontsize{13}{13}\selectfont and contributed to the success of} \\ \vspace{0.8cm} - \textcolor{myorange}{\fontsize{36}{42}\selectfont EU CodeWeek 2025} \\ + \textcolor{myorange}{\fontsize{36}{42}\selectfont EU CodeWeek 2026} \\ \vspace{0.8cm} \textcolor{Slate600}{\fontsize{13}{13}\selectfont by actively participating in the coding event} \\ diff --git a/resources/latex/participation_multilang.tex b/resources/latex/participation_multilang.tex index 6447a374a..b4667d6ea 100644 --- a/resources/latex/participation_multilang.tex +++ b/resources/latex/participation_multilang.tex @@ -48,7 +48,7 @@ \textcolor{Slate600}{\fontsize{13}{13}\selectfont and contributed to the success of} \\ \vspace{0.8cm} - \textcolor{myorange}{\fontsize{36}{42}\selectfont EU CodeWeek 2025} \\ + \textcolor{myorange}{\fontsize{36}{42}\selectfont EU CodeWeek 2026} \\ \vspace{0.8cm} \textcolor{Slate600}{\fontsize{13}{13}\selectfont by actively participating in the coding event} \\ diff --git a/resources/latex/participation_ukrainian.tex b/resources/latex/participation_ukrainian.tex index 50835cfd0..0ee2a69bd 100644 --- a/resources/latex/participation_ukrainian.tex +++ b/resources/latex/participation_ukrainian.tex @@ -63,7 +63,7 @@ {\color{Slate600}\fontsize{13}{13}\selectfont Has developed essential computational thinking skills}\\ {\color{Slate600}\fontsize{13}{13}\selectfont and contributed to the success of}\\[0.8cm] - {\color{myorange}\fontsize{36}{42}\selectfont EU CodeWeek 2025}\\[0.8cm] + {\color{myorange}\fontsize{36}{42}\selectfont EU CodeWeek 2026}\\[0.8cm] {\color{Slate600}\fontsize{13}{13}\selectfont by actively participating in the coding event}\\[0.5cm] diff --git a/resources/latex/super-organiser-2026.tex b/resources/latex/super-organiser-2026.tex new file mode 100644 index 000000000..738ac789f --- /dev/null +++ b/resources/latex/super-organiser-2026.tex @@ -0,0 +1,70 @@ +\documentclass[12pt]{article} +\usepackage[T2A,T1]{fontenc} +\usepackage[utf8]{inputenc} +\usepackage[greek,russian,english]{babel} + +\usepackage[landscape,a4paper]{geometry} +\geometry{verbose,tmargin=0cm,bmargin=0cm,lmargin=3cm,rmargin=3cm} + +\usepackage{fancybox} +\usepackage{calc} +\usepackage{multicol} +\usepackage{graphicx} +\usepackage{url} +\usepackage{eso-pic} +\usepackage{textcomp} +\usepackage{paratype} +\usepackage{tgpagella} +\usepackage{xcolor} +\usepackage{mathpazo} % (Optional) For Palatino style math fonts + +% If you want a different main sans font: +\renewcommand{\familydefault}{\sfdefault} + +% Define custom colors +\definecolor{Orange500}{HTML}{F95C22} +\definecolor{Slate600}{HTML}{20262C} +\definecolor{DarkBlue500}{HTML}{1C4DA1} +\definecolor{GrayLine}{HTML}{858B91} + +% Background image command +\newcommand\BackgroundPic{% + \put(0,0){% + \parbox[b][\paperheight]{\paperwidth}{% + \vfill + \centering + \includegraphics[width=\paperwidth,height=\paperheight,keepaspectratio]{images/super-organiser-2025.png}% + \vfill +}}} + +\begin{document} +\AddToShipoutPicture{\BackgroundPic} + +% Some top spacing +~ +\vspace{3.5cm} +~ +\begin{center} + \vspace{1.5cm} + \textcolor{Orange500}{\fontsize{36}{42}\selectfont EU CodeWeek 2026} \\ + \vspace{0.5cm} + \textcolor{Slate600}{\fontsize{13}{13}\selectfont The European Commission presents this} \\ + \vspace{1cm} + \textcolor{DarkBlue500}{\fontsize{32}{32}\selectfont Certificate of Super Organiser} \\ + \vspace{0.5cm} + \textcolor{Slate600}{\fontsize{13}{13}\selectfont To} \\ + \vspace{0.5cm} + \textcolor{Orange500}{\fontsize{28}{32}\selectfont } \\ + \vspace{0.5cm} + \textcolor{Slate600}{\fontsize{13}{13}\selectfont For Organising} \\ + \vspace{0.5cm} + \textcolor{DarkBlue500}{\fontsize{20}{20}\selectfont + \textbf{ coding activities in 2026} + } \\ + \vspace{1cm} + \textcolor{Slate600}{\fontsize{13}{13}\selectfont Brussels, } \\ + + +\end{center} + +\end{document} \ No newline at end of file diff --git a/resources/latex/super-organiser_greek-2026.tex b/resources/latex/super-organiser_greek-2026.tex new file mode 100644 index 000000000..180fcad5f --- /dev/null +++ b/resources/latex/super-organiser_greek-2026.tex @@ -0,0 +1,84 @@ +\documentclass[12pt]{article} +\usepackage[T1,LGR,T2A]{fontenc} +\usepackage[utf8]{inputenc} +\usepackage[greek,russian,english]{babel} + +\usepackage[landscape,a4paper]{geometry} +\geometry{verbose,tmargin=0cm,bmargin=0cm,lmargin=3cm,rmargin=3cm} + +\usepackage{fancybox} +\usepackage{calc} +\usepackage{multicol} +\usepackage{graphicx} +\usepackage{url} +\usepackage{eso-pic} +\usepackage{textcomp} +\usepackage{paratype} +\usepackage{tgpagella} +\usepackage{xcolor} +\usepackage{mathpazo} + +\renewcommand{\familydefault}{\sfdefault} + +\DeclareFontFamilySubstitution{T2A}{\rmdefault}{PTSerif-TLF} +\DeclareFontFamilySubstitution{LGR}{\rmdefault}{udidot} + +\definecolor{myblue}{RGB}{40, 53, 131} +\definecolor{Orange500}{HTML}{F95C22} +\definecolor{Slate600}{HTML}{20262C} +\definecolor{DarkBlue500}{HTML}{1C4DA1} +\definecolor{GrayLine}{HTML}{858B91} + +\newcommand\BackgroundPic{% +\put(0,0){% +\parbox[b][\paperheight]{\paperwidth}{% +\vfill +\centering +\includegraphics[width=\paperwidth,height=\paperheight,% +keepaspectratio]{images/super-organiser-2025.png}% +\vfill +}}} + + +\begin{document} +\AddToShipoutPicture{\BackgroundPic} +~ +\vspace{3.5cm} +~ +\begin{center} + \vspace{1.5cm} + \textcolor{Orange500}{\fontsize{36}{42}\selectfont EU CodeWeek 2026} \\ + \vspace{0.5cm} + \textcolor{Slate600}{\fontsize{13}{13}\selectfont The European Commission presents this} \\ + \vspace{1cm} + \textcolor{DarkBlue500}{\fontsize{32}{32}\selectfont Certificate of Super Organiser} \\ + \vspace{0.5cm} + \textcolor{Slate600}{\fontsize{13}{13}\selectfont To} \\ + \vspace{0.5cm} + + % Greek translation for certificate holder + \begin{otherlanguage*}{greek} + \textcolor{Orange500}{\fontsize{28}{32}\selectfont } + \end{otherlanguage*} \\ + + \vspace{0.5cm} + \textcolor{Slate600}{\fontsize{13}{13}\selectfont For Organising} \\ + \vspace{0.5cm} + + % Greek translation for activities + \begin{otherlanguage*}{greek} + \textcolor{DarkBlue500}{\fontsize{20}{20}\selectfont + \textbf{ coding activities in 2026} + } + \end{otherlanguage*} \\ + + \vspace{1cm} + + % Greek translation for Brussels date + \begin{otherlanguage*}{greek} + \textcolor{Slate600}{\fontsize{13}{13}\selectfont Βρυξέλλες, } + \end{otherlanguage*} \\ + +\end{center} + +\end{document} \ No newline at end of file diff --git a/resources/views/static/home.blade.php b/resources/views/static/home.blade.php index adf2e93a4..c833cdd36 100644 --- a/resources/views/static/home.blade.php +++ b/resources/views/static/home.blade.php @@ -132,11 +132,12 @@ class="absolute top-0 -translate-y-1/2 bg-yellow py-3 md:py-4 px-8 md:px-10 roun @php $backgroundImages = [ - asset('/images/csr/csr_about1.jpg'), + //asset('/images/csr/csr_about1.jpg'), asset('/images/dream-jobs/dream_jobs_bg.png'), asset('/images/digital-girls/banner_bg.png'), asset('images/homepage/slide1.png'), asset('images/search/search_bg_lg_2.jpeg'), + asset('/images/homepage/festive_acts_of_digital_kindness.png'), ]; @endphp