Skip to content

Commit

Permalink
fix:pattern resolution (#15)
Browse files Browse the repository at this point in the history
  • Loading branch information
RazvanBalota authored Jan 26, 2024
1 parent 20b8b5a commit ceb3b5d
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 8 deletions.
Binary file added public/bg_header.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed public/bg_header.jpg
Binary file not shown.
18 changes: 10 additions & 8 deletions src/components/Pattern.astro
Original file line number Diff line number Diff line change
@@ -1,15 +1,17 @@
<div class="bg-gray-50 hidden lg:block lg:absolute lg:top-0 lg:right-0 lg:w-1/2 relative">
<svg
<div
class="bg-gray-50 hidden lg:block lg:absolute lg:top-0 lg:right-0 lg:w-1/2 relative"
>
<svg
class="absolute top-0 left-0 hidden h-48 w-fulltranslate-x-1/2 transform fill-white lg:block"
viewBox="0 0 100 100"
preserveAspectRatio="none"
aria-hidden="true"
>
<polygon points="0,0 100,50 50,100 0,100"></polygon>
</svg>
<img
class="aspect-[3/2] object-cover lg:aspect-auto lg:h-48 lg:w-full"
src="/bg_header.jpg"
alt=""
/>
</div>
<img
class="aspect-[3/2] object-cover lg:aspect-auto lg:h-48 lg:w-full"
src="/bg_header.jpeg"
alt=""
/>
</div>

0 comments on commit ceb3b5d

Please sign in to comment.