Skip to content

Commit

Permalink
Merge pull request #2219 from codeeu/certificates-2023
Browse files Browse the repository at this point in the history
Certificates 2023
  • Loading branch information
alainvd authored Mar 5, 2024
2 parents 8553fd9 + 254db73 commit 1f08a07
Show file tree
Hide file tree
Showing 7 changed files with 146 additions and 6 deletions.
70 changes: 70 additions & 0 deletions resources/latex/excellence-2023.tex
Original file line number Diff line number Diff line change
@@ -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}

\usepackage{substitutefont}
\substitutefont{T2A}{\rmdefault}{PTSerif-TLF}

\newcommand\BackgroundPic{%
\put(0,0){%
\parbox[b][\paperheight]{\paperwidth}{%
\vfill
\centering
\includegraphics[width=\paperwidth,height=\paperheight,%
keepaspectratio]{images/excellence-2023.png}%
\vfill
}}}


\begin{document}
\AddToShipoutPicture{\BackgroundPic}
~
\vspace{2.4cm}
~
\begin{center}

\vspace{6.3cm}

{\centering\Huge\
\begin{otherlanguage*}{russian}
\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}
71 changes: 71 additions & 0 deletions resources/latex/excellence_greek-2023.tex
Original file line number Diff line number Diff line change
@@ -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}

\usepackage{substitutefont}
\substitutefont{T2A}{\rmdefault}{PTSerif-TLF}
\substitutefont{LGR}{\rmdefault}{udidot}

\newcommand\BackgroundPic{%
\put(0,0){%
\parbox[b][\paperheight]{\paperwidth}{%
\vfill
\centering
\includegraphics[width=\paperwidth,height=\paperheight,%
keepaspectratio]{images/excellence-2023.png}%
\vfill
}}}


\begin{document}
\AddToShipoutPicture{\BackgroundPic}
~
\vspace{2.4cm}
~
\begin{center}

\vspace{6.3cm}

{\centering\Huge\
\begin{otherlanguage*}{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}
Binary file added resources/latex/images/excellence-2023.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added resources/latex/images/super-organiser-2023.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 4 additions & 5 deletions resources/views/emails/en/notify-winner.blade.php
Original file line number Diff line number Diff line change
@@ -1,20 +1,19 @@
@component('mail::message')
Dear Code Week 4 All challenge participant,
Dear EU Code Week 4 All challenge participant,

We are delighted to share with you today that you have successfully completed the {{$edition}} Code Week 4 All challenge.<br/>
We are delighted to share with you today that you have successfully completed the {{$edition}} EU Code Week 4 All challenge.<br/>

We believe that the alliance you created with other activity organisers is vital to bringing coding to more students in the world – and you have helped up move closer to this goal!<br/>


You can personalise and download your Code Week 4 all certificate by clicking on the link in this button:
You can personalise and download your EU Code Week 4 all certificate by clicking on the link in this button:
<br/>


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

Thank you very much for helping us advance digital literacy! We hope to work together again in the 2024 edition of EU Code Week, which will take place from 14-27 October.<br/><br/>
Thank you very much for helping us advance digital skills! We hope to work together again in the 2024 edition of EU Code Week, which will take place from 14-27 October.<br/><br/>



Expand Down
2 changes: 1 addition & 1 deletion routes/web.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
use Illuminate\Support\Facades\Mail;


//Auth::loginUsingId(20750);
//Auth::loginUsingId(268354);

Route::domain('{subdomain}.' . Config::get('app.url'))->group(function () {
Route::get('/', function ($subdomain) {
Expand Down

0 comments on commit 1f08a07

Please sign in to comment.