Skip to content

Commit 9a1c575

Browse files
committed
I make something base on nothing.
1 parent 30a140c commit 9a1c575

File tree

2 files changed

+6
-9
lines changed

2 files changed

+6
-9
lines changed

public/social/bg2.png

45.4 KB
Loading

src/components/SocialMediaSponsorCard.astro

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ const y = 650 - height / 2;
3232
3333
---
3434
<svg width="900" height="900" class="h-full w-full -z-10">
35-
<image href="/social/bg.png" width="900" height="900" />
35+
<image href="/social/bg2.png" width="900" height="900" />
3636
</svg>
3737
<svg width="900" height="900">
3838
<defs>
@@ -68,11 +68,6 @@ const y = 650 - height / 2;
6868
preserveAspectRatio="xMidYMid meet"
6969
/>
7070
</svg>
71-
<p
72-
class="box fit-text"
73-
>
74-
Thank you to our sponsor
75-
</p>
7671

7772
<p lang="en" class="box2 fit-text">
7873
{title}
@@ -87,12 +82,14 @@ Thank you to our sponsor
8782
font-size: 100px;
8883
color: rgb(239, 215, 123);
8984
padding: 1rem;
85+
opacity: 0;
9086
}
9187

9288
.box2 {
93-
94-
width: 420px;
95-
height: 200px;
89+
margin-top:250px;
90+
margin-left:200px;
91+
width: 440px;
92+
height: 100px;
9693
font-size: 70px;
9794
color:white;
9895
padding: 2rem;

0 commit comments

Comments
 (0)