Skip to content

Commit

Permalink
Change web link to OWASP site
Browse files Browse the repository at this point in the history
  • Loading branch information
ChristophNiehoff committed Sep 4, 2024
1 parent aa5a788 commit b78d6e5
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions tex/additional_cards.tex
Original file line number Diff line number Diff line change
Expand Up @@ -29,15 +29,15 @@
};%
}%
%
\newcommand{\GithubTeaser}[4]{%
\newcommand{\Teaser}[5]{%
% 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}
\includegraphics[width=1.25cm]{#5}
};%
\node[text width=(\cardwidth-4*\textpadding)*1cm,below right,inner sep=0, align=left] at (\textpadding+\bleed,#1*\cardheight+0.05*\cardheight)%
{%
Expand All @@ -49,6 +49,14 @@
};%
}%
%
\newcommand{\GithubTeaser}[4]{%
\Teaser{#1}{#2}{#3}{#4}{img/tng/icon_github.pdf}
}%
%
\newcommand{\OWASPTeaser}[4]{%
\Teaser{#1}{#2}{#3}{#4}{img/tng/icon_owasp.pdf}
}%
%
\begin{tikzpicture}%
\begin{scope}[xshift=0, yshift=0, local bounding box=scopeAinner]%
\clip [rounded corners=0] (0, 0) rectangle ++(\cardwidthPrint,\cardheightPrint);%
Expand All @@ -68,7 +76,7 @@
%
\Frame
\TNGLogo
\GithubTeaser{0.92}{img/tng/qr-tng-cumulus.pdf}{github.com/TNG/cumulus}{Find it online!}
\OWASPTeaser{0.92}{img/tng/qr-owasp-cumulus.pdf}{owasp.org/www-project-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}%
Expand Down
Binary file added tex/img/tng/icon_owasp.pdf
Binary file not shown.
Binary file added tex/img/tng/qr-owasp-cumulus.pdf
Binary file not shown.

0 comments on commit b78d6e5

Please sign in to comment.