Skip to content

Commit d3faf9e

Browse files
committed
Add AutoSEO as sponsor
1 parent 053cef1 commit d3faf9e

File tree

3 files changed

+24
-0
lines changed

3 files changed

+24
-0
lines changed

public/sponsor.png

71.8 KB
Loading

src/App.svelte

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22
import AltText from './components/AltText.svelte'
33
</script>
44

5+
<section id="sponsor">
6+
<a class="sponsor-image" href="https://getautoseo.com/image-alt-text-generator" target="_blank">
7+
<img src="/sponsor.png" alt="AutoSEO Image Alt Text Generator">
8+
</a>
9+
</section>
10+
511
<main>
612
<div class="align-main">
713
<h1>Alt Text Generator</h1>

src/app.css

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,24 @@ body {
2828
text-align: center;
2929
}
3030

31+
@media screen and (min-width: 769px) {
32+
.sponsor-image {
33+
width: 40%;
34+
}
35+
}
36+
37+
@media screen and (max-width: 768px) and (min-width: 481px) {
38+
.sponsor-image {
39+
width: 65%;
40+
}
41+
}
42+
43+
@media screen and (max-width: 480px) {
44+
.sponsor-image {
45+
width: 100%;
46+
}
47+
}
48+
3149
main {
3250
display: flex;
3351
justify-content: center;

0 commit comments

Comments
 (0)