|
7 | 7 | <link rel="icon" href="data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 128 128%22><text y=%221.2em%22 font-size=%2296%22>👋</text></svg>">
|
8 | 8 | <style>
|
9 | 9 | :root {
|
10 |
| - --hue: <?= random_int(0, 360) ?>; |
| 10 | + --hue: <?php echo random_int(0, 360); ?>; |
11 | 11 | --light-color: hsl(var(--hue), 20%, 95%);
|
12 | 12 | --dark-color: hsl(var(--hue), 20%, 45%);
|
13 | 13 | }
|
|
111 | 111 | <header>
|
112 | 112 | <div class="wrapper">
|
113 | 113 | <section class="logo">
|
114 |
| - <?= renderSymfonyLogoSvg() ?> |
| 114 | + <?php echo renderSymfonyLogoSvg(); ?> |
115 | 115 | <h1>
|
116 | 116 | <small>Welcome to</small>
|
117 |
| - <span translate="no" class="notranslate">Symfony</span> <?= explode('.', $version, 2)[0] ?> |
| 117 | + <span translate="no" class="notranslate">Symfony</span> <?php echo explode('.', $version, 2)[0]; ?> |
118 | 118 | </h1>
|
119 | 119 | </section>
|
120 | 120 |
|
121 | 121 | <section class="info">
|
122 | 122 | <ul>
|
123 | 123 | <li>
|
124 |
| - <?= renderBoxIconSvg() ?> |
125 |
| - <span>You are using Symfony <strong><?= $version ?></strong> version</span> |
| 124 | + <?php echo renderBoxIconSvg(); ?> |
| 125 | + <span>You are using Symfony <strong><?php echo $version; ?></strong> version</span> |
126 | 126 | </li>
|
127 | 127 |
|
128 | 128 | <li>
|
129 |
| - <?= renderFolderIconSvg() ?> |
130 |
| - <span>Your application is ready at: <code translate="no" class="notranslate project_dir_path"><?= $projectDir ?></code></span> |
| 129 | + <?php echo renderFolderIconSvg(); ?> |
| 130 | + <span>Your application is ready at: <code translate="no" class="notranslate project_dir_path"><?php echo $projectDir; ?></code></span> |
131 | 131 | </li>
|
132 | 132 |
|
133 | 133 | <li>
|
134 |
| - <?= renderInfoIconSvg() ?> |
135 |
| - <span>You are seeing this page because the homepage URL is not configured and <a target="_blank" href="https://symfony.com/doc/<?= $docVersion ?>/debug-mode">debug mode</a> is enabled.</span> |
| 134 | + <?php echo renderInfoIconSvg(); ?> |
| 135 | + <span>You are seeing this page because the homepage URL is not configured and <a target="_blank" href="https://symfony.com/doc/<?php echo $docVersion; ?>/debug-mode">debug mode</a> is enabled.</span> |
136 | 136 | </li>
|
137 | 137 | </ul>
|
138 | 138 |
|
139 | 139 | <p class="next-step">
|
140 | 140 | <strong>Next Step</strong>
|
141 |
| - <?= renderNextStepIconSvg() ?> |
| 141 | + <?php echo renderNextStepIconSvg(); ?> |
142 | 142 | <span>
|
143 |
| - <a href="https://symfony.com/doc/<?= $docVersion ?>/page_creation.html">Create your first page</a> |
| 143 | + <a href="https://symfony.com/doc/<?php echo $docVersion; ?>/page_creation.html">Create your first page</a> |
144 | 144 | to replace this placeholder page.
|
145 | 145 | </span>
|
146 | 146 | </p>
|
147 | 147 | </section>
|
148 | 148 | </div>
|
149 | 149 |
|
150 | 150 | <section class="waves">
|
151 |
| - <?= renderWavesSvg() ?> |
| 151 | + <?php echo renderWavesSvg(); ?> |
152 | 152 | </section>
|
153 | 153 | </header>
|
154 | 154 |
|
|
157 | 157 | <article>
|
158 | 158 | <section>
|
159 | 159 | <h2>
|
160 |
| - <span><?= renderLearnIconSvg() ?></span> |
| 160 | + <span><?php echo renderLearnIconSvg(); ?></span> |
161 | 161 | Learn
|
162 | 162 | </h2>
|
163 | 163 | <ul>
|
164 | 164 | <li>
|
165 |
| - <a target="_blank" href="https://symfony.com/doc/<?=
E864
$docVersion ?>">Read Symfony Docs</a> |
| 165 | + <a target="_blank" href="https://symfony.com/doc/<?php echo $docVersion; ?>">Read Symfony Docs</a> |
166 | 166 | </li>
|
167 | 167 | <li>
|
168 | 168 | <a target="_blank" href="https://symfonycasts.com/screencast/symfony">Watch Symfony Screencast</a>
|
|
175 | 175 |
|
176 | 176 | <section>
|
177 | 177 | <h2>
|
178 |
| - <span><?= renderCommunityIconSvg() ?></span> |
| 178 | + <span><?php echo renderCommunityIconSvg(); ?></span> |
179 | 179 | Community & Support
|
180 | 180 | </h2>
|
181 | 181 | <ul>
|
|
193 | 193 |
|
194 | 194 | <section>
|
195 | 195 | <h2>
|
196 |
| - <span><?= renderUpdatesIconSvg() ?></span> |
| 196 | + <span><?php echo renderUpdatesIconSvg(); ?></span> |
197 | 197 | Stay Updated
|
198 | 198 | </h2>
|
199 | 199 | <ul>
|
@@ -353,6 +353,6 @@ function renderWavesSvg()
|
353 | 353 | </svg>
|
354 | 354 | SVG;
|
355 | 355 | }
|
356 |
| - ?> |
| 356 | + ?> |
357 | 357 | </body>
|
358 | 358 | </html>
|
0 commit comments