diff --git a/index.html b/index.php similarity index 97% rename from index.html rename to index.php index 80b0de0da3acbb7b2e7c735bd36d350d7417f74a..e58c8bf7cc355ad0afa8a902f56c2eee7fe7d728 100644 --- a/index.html +++ b/index.php @@ -11,15 +11,15 @@ <section class="memory-game"> <div class="memory-card" data-framework="aurelia"> - <!-- <?php + <?php $text = 'Beispieltext'; - $style = 'background-color: #FFCCCB' + $style = 'background-color: #FFCCCB'; $svg = "<svg xmlns='http://www.w3.org/2000/svg' width='100' height='50'><text x='10' y='30'>$text</text></svg>"; $svgData = base64_encode($svg); $src = 'data:image/svg+xml;base64,$svgData'; $imgTag = "<img class='front-face' src='$src' alt='$text' style='$style'/>"; echo $imgTag; - ?> --> + ?> <img class="front-face" src="img/aurelia.svg" alt="Aurelia" style="background-color: #FFCCCB"/> <img class="back-face" src="img/js-badge.svg" alt="JS Badge" />