Skip to content

Commit

Permalink
Removed superfluous cards
Browse files Browse the repository at this point in the history
  • Loading branch information
ChristophNiehoff committed Jun 26, 2023
1 parent a95732d commit ec416e1
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 78 deletions.
71 changes: 1 addition & 70 deletions tex/additional_cards.tex
Original file line number Diff line number Diff line change
Expand Up @@ -3,73 +3,4 @@
% SPDX-License-Identifier: Apache-2.0
%
%
\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}\\%
% empty
8 changes: 0 additions & 8 deletions tex/lib/logo_for_back.tex
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,6 @@
% 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 @@ -18,7 +11,6 @@
}%
%
\newcommand{\Logo}{%
\TNGLogo%
\OWASPLogo%
}%
%
3 changes: 3 additions & 0 deletions utils/sync_mirror_repo.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,10 @@ MAIN_BRANCH="main"

FILES_NOT_IN_SYNC=(
"readme.md"
"tex/additional_cards.tex"
"tex/lib/logo.tex"
"tex/lib/logo_for_back.tex"
"tex/additional_cards.tex"
"tex/img/cover_logo.pdf"
"docs/img/cards.svg"
)
Expand Down

0 comments on commit ec416e1

Please sign in to comment.