Skip to content

Fix excellence_greek-2024 template and winner notification email #2569

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Mar 14, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 7 additions & 29 deletions resources/latex/excellence_greek-2024.tex
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
% @Author: Bernard Hanna
% @Date: 2025-01-29 14:25:29
% @Last Modified by: Bernard Hanna
% @Last Modified time: 2025-03-14 10:32:53
\documentclass[12pt]{article}
\usepackage[T1,LGR,T2A]{fontenc}
\usepackage[T1,LGR]{fontenc} % Removed T2A encoding
\usepackage[utf8]{inputenc}
\usepackage[greek,russian,english]{babel}
\usepackage[greek,english]{babel} % Keep only Greek and English
\usepackage{mathpazo}
\renewcommand{\familydefault}{\sfdefault}
\usepackage[landscape,a4paper]{geometry}
Expand All @@ -16,9 +20,6 @@
\usepackage{paratype}
\usepackage{tgpagella}


\DeclareFontFamilySubstitution{T2A}{\rmdefault}{PTSerif-TLF}

\newcommand\BackgroundPic{%
\put(0,0){%
\parbox[b][\paperheight]{\paperwidth}{%
Expand All @@ -29,7 +30,6 @@
\vfill
}}}


\begin{document}
\AddToShipoutPicture{\BackgroundPic}
~
Expand All @@ -40,32 +40,10 @@
\vspace{8.3cm}

{\centering\Huge\
\begin{otherlanguage*}{russian}
\begin{otherlanguage*}{greek} % Changed from 'russian' to 'greek'
\textbf{<CERTIFICATE_HOLDER_NAME>}
\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}

10 changes: 9 additions & 1 deletion resources/views/emails/en/notify-winner.blade.php
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
<?php
/**
* @Author: Bernard Hanna
* @Date: 2025-01-29 14:25:29
* @Last Modified by: Bernard Hanna
* @Last Modified time: 2025-03-14 10:52:43
*/
?>
@component('mail::message')
Dear EU Code Week 4 All challenge participant,

Expand All @@ -9,7 +17,7 @@
<br/>


@component('mail::button', ['url' => config('codeweek.app_url') . "/certificates/excellence/" . $edition])
@component('mail::button', ['url' => "https://codeweek.eu/certificates/excellence/2024"])
Get your Certificate
@endcomponent

Expand Down
Loading