Skip to content

Commit

Permalink
Resolve sync errors
Browse files Browse the repository at this point in the history
  • Loading branch information
ChristophNiehoff committed Jun 26, 2023
1 parent 5bd8098 commit ba9d6cb
Show file tree
Hide file tree
Showing 2 changed files with 78 additions and 1 deletion.
71 changes: 70 additions & 1 deletion tex/additional_cards.tex
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,73 @@
% SPDX-License-Identifier: Apache-2.0
%
%
% empty
\newcommand{\TNGLogo}{%
\node[text width=(\cardwidth-2*\textpadding)*1cm,below right,inner sep=0, align=left] at (0.1*\cardwidth+\bleed,0.15*\cardheight+\bleed)%
{%
\includegraphics[width=\textwidth]{img/tng/tng_logo.pdf}
};%
}%
%
\newcommand{\TNGMotto}{%
\node[text centered, text width=(\cardwidth-2*\textpadding)*1cm,below right,inner sep=0] at (\textpadding+\bleed,0.9*\cardheight)%
{%
{\summaryfontsize{\color{ColorCoverLogo1} We solve hard IT problems.}}
};%
}%
%
\newcommand{\TNGPillar}[4]{%
% Card value and icon
\node[text width=(\cardwidth-2*\textpadding)*1cm,below right,inner sep=0, align=left] at (0.2*\cardwidth,#2*\cardheight)%
{%
\includegraphics[width=1cm]{#3}
};%
\node[text width=(\cardwidth-4*\textpadding)*1cm,below right,inner sep=0, align=left] at (0.4*\cardwidth,#1*\cardheight-0.03*\cardheight)%
{%
{\textfontsize{#4}}
};%
}%
%
\newcommand{\GithubTeaser}[4]{%
% Card value and icon
\node[text width=(\cardwidth-2*\textpadding)*1cm,below right,inner sep=0, align=left] at (0.55*\cardwidth,#1*\cardheight)%
{%
\includegraphics[width=2.8cm]{#2}
};%
\node[text width=(\cardwidth-2*\textpadding)*1cm,below right,inner sep=0, align=left] at (\textpadding+\bleed,#1*\cardheight-0.12*\cardheight)%
{%
\includegraphics[width=1.25cm]{img/tng/icon_github.pdf}
};%
\node[text width=(\cardwidth-4*\textpadding)*1cm,below right,inner sep=0, align=left] at (\textpadding+\bleed,#1*\cardheight+0.05*\cardheight)%
{%
{\textfontsize{#4}}
};%
\node[text width=(\cardwidth-4*\textpadding)*1cm,below right,inner sep=0, align=left] at (\textpadding+\bleed,#1*\cardheight-0.25*\cardheight)%
{%
{\small{#3}}
};%
}%
%
\begin{tikzpicture}%
\begin{scope}[xshift=0, yshift=0, local bounding box=scopeAinner]%
\clip [rounded corners=0] (0, 0) rectangle ++(\cardwidthPrint,\cardheightPrint);%
%
\Frame
\TNGLogo
\TNGMotto
\TNGPillar{0.68}{0.655}{img/tng/icon_coding.pdf}{Agile Software Development}
\TNGPillar{0.53}{0.505}{img/tng/icon_ai.pdf}{Artificial Intelligence}
\TNGPillar{0.37}{0.37}{img/tng/icon_devops.pdf}{DevOps \& Cloud}
\end{scope}%
\end{tikzpicture}\\%
%
\begin{tikzpicture}%
\begin{scope}[xshift=0, yshift=0, local bounding box=scopeAinner]%
\clip [rounded corners=0] (0, 0) rectangle ++(\cardwidthPrint,\cardheightPrint);%
%
\Frame
\TNGLogo
\GithubTeaser{0.92}{img/tng/qr-tng-cumulus.pdf}{github.com/TNG/cumulus}{Find it online!}
\draw (\textpadding+\bleed,0.57*\cardheight+\bleed) -- (\cardwidth-\textpadding+\bleed,0.57*\cardheight+\bleed);
\GithubTeaser{0.5}{img/tng/qr-tng-eop.pdf}{github.com/TNG/elevation-of-privilege}{Play it online!}
\end{scope}%
\end{tikzpicture}\\%
8 changes: 8 additions & 0 deletions tex/lib/logo_for_back.tex
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,13 @@
% SPDX-License-Identifier: Apache-2.0
%%
% Logo for the back
\newcommand{\TNGLogo}{%
\node[text width=(\cardwidth-2*\textpadding)*1cm,below right,inner sep=0, align=left] at (0.15*\cardwidth+\bleed,0.93*\cardheight+\bleed)%
{%
\includegraphics[width=.9\textwidth]{img/tng/tng_logo_white.pdf}
};%
}%
%
\newcommand{\OWASPLogo}{%
\node[text width=(\cardwidth-2*\textpadding)*1cm,below right,inner sep=0, align=left] at (0.15*\cardwidth+\bleed,0.18*\cardheight+\bleed)%
{%
Expand All @@ -11,6 +18,7 @@
}%
%
\newcommand{\Logo}{%
\TNGLogo
\OWASPLogo%
}%
%

0 comments on commit ba9d6cb

Please sign in to comment.