\begin{titlepage}
\newgeometry{left=4cm, right=2.5cm, top=2.5cm, bottom=1cm} %defines the geometry for the titlepage
\setlength\parskip{-1pt}
% set page color
% \pagecolor{titlepagecolor}

\makeatletter
\setstretch{1}
\centering
\MakeUppercase{\textbf{T.C.}}
\\
\MakeUppercase{\textbf{ONDOKUZ MAYIS ÜNİVERSİTESİ}}
\\
\MakeUppercase{\textbf{BİLGİSAYAR MÜHENDİSLİĞİ ANA BİLİM DALI}}
\\
\MakeUppercase{\textbf{\department}}
\\
\vspace{1.5cm}
\includegraphics[width=7cm]{assets/lue_logo.png}
\\
\vspace{2cm}
\MakeUppercase{\large\textbf{
    \@title
}}
\\
\vspace{2.1cm}
Yüksek Lisans Tezi
\\
\vspace{2.8cm}
\textbf{\@author}
\\
\vspace{2cm}
Danışman
\\
\textbf{\supervisor}
\\
\vspace{2.2cm}
Proje destek
\\
\vspace{2.1cm}
\MakeUppercase{\underline{Samsun}}
\\
\MakeUppercase{2026}

% keep this for recovery
% \noindent\mbox{
% \begin{minipage}[t][2cm][t]{\textwidth \setstretch{1}}
% \centering
% \MakeUppercase{\textbf{\underline{Samsun}}}
% \\
% \MakeUppercase{\textbf{2022}}
% \end{minipage}
% }

\end{titlepage}
\restoregeometry % restores the geometry
\nopagecolor % Use this to restore the color pages to white