understanding-astro-book icon indicating copy to clipboard operation
understanding-astro-book copied to clipboard

Capitalising component names

Open dofbi opened this issue 1 year ago • 0 comments

⚠️ Capitalising component names

---
import layout from "../layouts/mainLayout.astro";
<layout data-astro-cid-j7pv25f6="">
  <div class="profile" data-astro-cid-j7pv25f6="">
    <img src="https://i.imgur.com/JPGFE75.jpg" class="profile__picture" alt="Frau Katerina's headshot." width="100px" height="100px" data-astro-cid-j7pv25f6="">
    <div class="profile__details" data-astro-cid-j7pv25f6="">
      <h1 data-astro-cid-j7pv25f6="">Frau Katerina</h1>
      <h2 data-astro-cid-j7pv25f6="">VP of Engineering at Goooogle</h2>
      <p data-astro-cid-j7pv25f6="">
        Helping developers be excellent and succeed at building scalable products
      </p>
    </div>
  </div>
</layout>
---
import Layout from "../layouts/mainLayout.astro";
- <layout data-astro-cid-j7pv25f6="">
+ <main>
  <div class="profile" data-astro-cid-j7pv25f6="">
    <img src="https://i.imgur.com/JPGFE75.jpg" class="profile__picture" alt="Frau Katerina's headshot." width="100px" height="100px" data-astro-cid-j7pv25f6="">
  <div class="profile__details" data-astro-cid-j7pv25f6="">
    <h1 data-astro-cid-j7pv25f6="">Frau Katerina</h1>
    <h2 data-astro-cid-j7pv25f6="">VP of Engineering at Goooogle</h2>
    <p data-astro-cid-j7pv25f6="">
      Helping developers be excellent and succeed at building scalable products
    </p>
  </div>
  </div>
+ </main>
- </layout>

Is the difference in rendering due to Astro ?

Astro                    v3.5.3
Node                     v18.17.1
System                   Linux (x64)
Package Manager          pnpm
Output                   static
Adapter                  none
Integrations             none

dofbi avatar Nov 13 '23 23:11 dofbi