Skip to content

Commit 885441e

Browse files
committed
pages: fixed type and add promotion
1 parent bb3b45d commit 885441e

9 files changed

Lines changed: 237 additions & 73 deletions

README.md

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -76,15 +76,16 @@ You can download the latest pre-compiled binaries for Windows and Linux from the
7676
{
7777
"name": "Warsaw",
7878
"region": "PL",
79-
"latitude": 52.23,
80-
"longitude": 21.01,
79+
"latitude": 52.231958,
80+
"longitude": 21.006725,
8181
"timezone": "Europe/Warsaw"
8282
}
8383
],
84-
"refreshInterval": 30,
84+
"refreshInterval": 10,
8585
"cornerPosition": "top-right",
86-
"customX": -819,
87-
"customY": 99,
86+
"monitorIndex": 0,
87+
"opacity": 25,
88+
"locale": "en-GB",
8889
"apiConfig": {
8990
"provider": "openweathermap",
9091
"apiKey": "YOUR_API_KEY"
@@ -94,14 +95,11 @@ You can download the latest pre-compiled binaries for Windows and Linux from the
9495

9596
### Windows Config location
9697

98+
#### Windows
9799
```powershell
98-
Get-Content "$env:APPDATA\WeatherWidget\WeatherWidget\config.json"
99-
or
100100
type "$env:APPDATA\WeatherWidget\WeatherWidget\config.json"
101101
```
102-
102+
#### Linux
103103
```bash
104104
cat $HOME/.config/WeatherWidget/WeatherWidget/config.json
105-
or
106-
more $HOME/.config/WeatherWidget/WeatherWidget/config.json
107105
```
48.9 KB
Loading
529 KB
Loading

docs/site/css/style.css

Lines changed: 81 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -898,3 +898,84 @@ img {
898898
opacity: 1;
899899
transform: translateY(0);
900900
}
901+
902+
/* --- Promo Section --- */
903+
.promo-section {
904+
position: relative;
905+
z-index: 1;
906+
padding: 100px 0;
907+
background: var(--color-bg-alt);
908+
border-top: 1px solid var(--color-border);
909+
border-bottom: 1px solid var(--color-border);
910+
}
911+
912+
.promo-content {
913+
display: flex;
914+
align-items: center;
915+
gap: 48px;
916+
margin-top: 40px;
917+
}
918+
919+
.promo-text {
920+
flex: 1;
921+
}
922+
923+
.promo-text p {
924+
font-size: 1.15rem;
925+
color: var(--color-text-muted);
926+
margin-bottom: 24px;
927+
line-height: 1.8;
928+
}
929+
930+
.promo-text strong {
931+
color: var(--color-primary);
932+
}
933+
934+
.promo-path {
935+
background: rgba(56, 189, 248, 0.05);
936+
border: 1px solid rgba(56, 189, 248, 0.1);
937+
border-radius: var(--radius-md);
938+
padding: 16px 20px;
939+
font-size: 0.95rem !important;
940+
color: var(--color-text) !important;
941+
margin-bottom: 24px;
942+
}
943+
944+
.promo-path code {
945+
display: inline-block;
946+
margin-top: 8px;
947+
color: var(--color-accent);
948+
font-family: monospace;
949+
}
950+
951+
.promo-small {
952+
font-size: 0.85rem !important;
953+
color: var(--color-text-dim) !important;
954+
line-height: 1.5;
955+
margin-bottom: 0 !important;
956+
}
957+
958+
.promo-image {
959+
flex: 1;
960+
position: relative;
961+
}
962+
963+
.promo-img {
964+
width: 100%;
965+
border-radius: var(--radius-lg);
966+
border: 1px solid var(--color-border);
967+
box-shadow: var(--shadow-lg), 0 0 40px rgba(167, 139, 250, 0.15);
968+
transition: transform var(--transition-smooth);
969+
}
970+
971+
.promo-img:hover {
972+
transform: scale(1.02);
973+
}
974+
975+
@media (max-width: 768px) {
976+
.promo-content {
977+
flex-direction: column-reverse;
978+
gap: 32px;
979+
}
980+
}
981+

docs/site/index.html

Lines changed: 69 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,20 @@
11
<!DOCTYPE html>
22
<html lang="en">
3+
34
<head>
45
<meta charset="UTF-8" />
56
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
67
<title>WeatherWidget — Desktop Weather Widget</title>
7-
<meta name="description" content="A compact, beautiful desktop weather widget for Windows and Linux. Monitor weather for multiple cities with a sleek transparent overlay." />
8+
<meta name="description"
9+
content="A compact, beautiful desktop weather widget for Windows and Linux. Monitor weather for multiple cities with a sleek transparent overlay." />
810
<link rel="icon" type="image/png" href="assets/icons/clear.png" />
911
<link rel="preconnect" href="https://fonts.googleapis.com" />
1012
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
11-
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap" rel="stylesheet" />
13+
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap"
14+
rel="stylesheet" />
1215
<link rel="stylesheet" href="css/style.css" />
1316
</head>
17+
1418
<body>
1519
<!-- Animated background particles -->
1620
<div class="bg-particles" aria-hidden="true">
@@ -39,10 +43,14 @@
3943
<li role="none"><a href="privacy.html" role="menuitem">Privacy</a></li>
4044
<li role="none"><a href="license.html" role="menuitem">License</a></li>
4145
<li role="none"><a href="terms.html" role="menuitem">Terms</a></li>
42-
<li role="none"><a href="https://github.com/gcclinux/WeatherWidget" class="nav-btn" role="menuitem" target="_blank" rel="noopener noreferrer">
43-
<svg width="18" height="18" viewBox="0 0 24 24" fill="currentColor" aria-hidden="true"><path d="M12 0C5.37 0 0 5.37 0 12c0 5.31 3.435 9.795 8.205 11.385.6.105.825-.255.825-.57 0-.285-.015-1.23-.015-2.235-3.015.555-3.795-.735-4.035-1.41-.135-.345-.72-1.41-1.23-1.695-.42-.225-1.02-.78-.015-.795.945-.015 1.62.87 1.845 1.23 1.08 1.815 2.805 1.305 3.495.99.105-.78.42-1.305.765-1.605-2.67-.3-5.46-1.335-5.46-5.925 0-1.305.465-2.385 1.23-3.225-.12-.3-.54-1.53.12-3.18 0 0 1.005-.315 3.3 1.23.96-.27 1.98-.405 3-.405s2.04.135 3 .405c2.295-1.56 3.3-1.23 3.3-1.23.66 1.65.24 2.88.12 3.18.765.84 1.23 1.905 1.23 3.225 0 4.605-2.805 5.625-5.475 5.925.435.375.81 1.095.81 2.22 0 1.605-.015 2.895-.015 3.3 0 .315.225.69.825.57A12.02 12.02 0 0024 12c0-6.63-5.37-12-12-12z"/></svg>
44-
GitHub
45-
</a></li>
46+
<li role="none"><a href="https://github.com/gcclinux/WeatherWidget" class="nav-btn" role="menuitem"
47+
target="_blank" rel="noopener noreferrer">
48+
<svg width="18" height="18" viewBox="0 0 24 24" fill="currentColor" aria-hidden="true">
49+
<path
50+
d="M12 0C5.37 0 0 5.37 0 12c0 5.31 3.435 9.795 8.205 11.385.6.105.825-.255.825-.57 0-.285-.015-1.23-.015-2.235-3.015.555-3.795-.735-4.035-1.41-.135-.345-.72-1.41-1.23-1.695-.42-.225-1.02-.78-.015-.795.945-.015 1.62.87 1.845 1.23 1.08 1.815 2.805 1.305 3.495.99.105-.78.42-1.305.765-1.605-2.67-.3-5.46-1.335-5.46-5.925 0-1.305.465-2.385 1.23-3.225-.12-.3-.54-1.53.12-3.18 0 0 1.005-.315 3.3 1.23.96-.27 1.98-.405 3-.405s2.04.135 3 .405c2.295-1.56 3.3-1.23 3.3-1.23.66 1.65.24 2.88.12 3.18.765.84 1.23 1.905 1.23 3.225 0 4.605-2.805 5.625-5.475 5.925.435.375.81 1.095.81 2.22 0 1.605-.015 2.895-.015 3.3 0 .315.225.69.825.57A12.02 12.02 0 0024 12c0-6.63-5.37-12-12-12z" />
51+
</svg>
52+
GitHub
53+
</a></li>
4654
</ul>
4755
</div>
4856
</nav>
@@ -61,11 +69,18 @@ <h1 class="hero-title">
6169
Monitor up to 5 cities at a glance with a beautiful, always-on-top overlay.
6270
</p>
6371
<div class="hero-actions">
64-
<a href="https://github.com/gcclinux/WeatherWidget/releases" class="btn btn-primary" target="_blank" rel="noopener noreferrer">
65-
<svg width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M21 15v4a2 2 0 01-2 2H5a2 2 0 01-2-2v-4"/><polyline points="7 10 12 15 17 10"/><line x1="12" y1="15" x2="12" y2="3"/></svg>
72+
<a href="https://github.com/gcclinux/WeatherWidget/releases" class="btn btn-primary" target="_blank"
73+
rel="noopener noreferrer">
74+
<svg width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"
75+
stroke-linecap="round" stroke-linejoin="round" aria-hidden="true">
76+
<path d="M21 15v4a2 2 0 01-2 2H5a2 2 0 01-2-2v-4" />
77+
<polyline points="7 10 12 15 17 10" />
78+
<line x1="12" y1="15" x2="12" y2="3" />
79+
</svg>
6680
Download Latest
6781
</a>
68-
<a href="https://github.com/gcclinux/WeatherWidget" class="btn btn-secondary" target="_blank" rel="noopener noreferrer">
82+
<a href="https://github.com/gcclinux/WeatherWidget" class="btn btn-secondary" target="_blank"
83+
rel="noopener noreferrer">
6984
View Source
7085
</a>
7186
</div>
@@ -97,12 +112,9 @@ <h2 class="section-title">See It in Action</h2>
97112
</div>
98113
<div class="screenshot-showcase">
99114
<div class="screenshot-glow" aria-hidden="true"></div>
100-
<img
101-
src="assets/images/win32-transparent-background.png"
102-
alt="EasyWidge weather widget showing multiple cities with transparent background on a Windows desktop"
103-
class="screenshot-img"
104-
loading="lazy"
105-
/>
115+
<img src="assets/images/win32-transparent-background.png"
116+
alt="EasyWeatherWidget a weather widget showing multiple cities with transparent background on a Windows desktop"
117+
class="screenshot-img" loading="lazy" />
106118
</div>
107119
</div>
108120
</section>
@@ -111,7 +123,7 @@ <h2 class="section-title">See It in Action</h2>
111123
<section class="features-section" id="features">
112124
<div class="container">
113125
<div class="section-header">
114-
<h2 class="section-title">Why EasyWidge?</h2>
126+
<h2 class="section-title">Why EasyWeatherWidget?</h2>
115127
<p class="section-subtitle">Built with care, designed for simplicity</p>
116128
</div>
117129
<div class="features-grid">
@@ -149,6 +161,35 @@ <h3>Privacy First</h3>
149161
</div>
150162
</section>
151163

164+
<!-- Promotion Section -->
165+
<section class="promo-section" id="promotion">
166+
<div class="container">
167+
<div class="section-header">
168+
<h2 class="section-title">Special Lifetime Promotion</h2>
169+
<p class="section-subtitle">Limited time offer for new Pro users</p>
170+
</div>
171+
<div class="promo-content">
172+
<div class="promo-text">
173+
<p>We are currently running a special promotion! The <strong>next 10 individuals</strong> who get the Pro API
174+
will have
175+
their monthly subscription automatically converted to a <strong>Lifetime License</strong>.</p>
176+
<p>This allows you to cancel your subscription after the first month and keep your Pro access for life!</p>
177+
<div class="promo-path">
178+
<strong>Where to find it:</strong><br>
179+
Available post-installation from the settings menu:
180+
<code>System Tray &rarr; WeatherWidget &rarr; Settings &rarr; Data Provider</code>
181+
</div>
182+
<p class="promo-small">The cancellation of the subscription is up to the individual. He/she/they will receive
183+
an email stating they now own a lifetime subscription.</p>
184+
</div>
185+
<div class="promo-image">
186+
<img src="assets/images/get_pro_api_settings.png" alt="WeatherWidget Settings - Get Pro API"
187+
class="promo-img" />
188+
</div>
189+
</div>
190+
</div>
191+
</section>
192+
152193
<!-- How It Works Section -->
153194
<section class="how-section" id="how">
154195
<div class="container">
@@ -186,10 +227,12 @@ <h3>Enjoy</h3>
186227
<h2>Ready to Try WeatherWidget?</h2>
187228
<p>Free, open source, and always will be. Download now or build from source.</p>
188229
<div class="cta-actions">
189-
<a href="https://github.com/gcclinux/WeatherWidget/releases" class="btn btn-primary btn-lg" target="_blank" rel="noopener noreferrer">
230+
<a href="https://github.com/gcclinux/WeatherWidget/releases" class="btn btn-primary btn-lg" target="_blank"
231+
rel="noopener noreferrer">
190232
Download for Free
191233
</a>
192-
<a href="https://github.com/gcclinux/WeatherWidget" class="btn btn-ghost btn-lg" target="_blank" rel="noopener noreferrer">
234+
<a href="https://github.com/gcclinux/WeatherWidget" class="btn btn-ghost btn-lg" target="_blank"
235+
rel="noopener noreferrer">
193236
Star on GitHub ⭐
194237
</a>
195238
</div>
@@ -225,9 +268,12 @@ <h4>Legal</h4>
225268
<div class="footer-links">
226269
<h4>Community</h4>
227270
<ul>
228-
<li><a href="https://github.com/gcclinux/WeatherWidget" target="_blank" rel="noopener noreferrer">GitHub</a></li>
229-
<li><a href="https://github.com/gcclinux/WeatherWidget/issues" target="_blank" rel="noopener noreferrer">Report a Bug</a></li>
230-
<li><a href="https://github.com/gcclinux/WeatherWidget/releases" target="_blank" rel="noopener noreferrer">Releases</a></li>
271+
<li><a href="https://github.com/gcclinux/WeatherWidget" target="_blank" rel="noopener noreferrer">GitHub</a>
272+
</li>
273+
<li><a href="https://github.com/gcclinux/WeatherWidget/issues" target="_blank"
274+
rel="noopener noreferrer">Report a Bug</a></li>
275+
<li><a href="https://github.com/gcclinux/WeatherWidget/releases" target="_blank"
276+
rel="noopener noreferrer">Releases</a></li>
231277
</ul>
232278
</div>
233279
</div>
@@ -239,4 +285,5 @@ <h4>Community</h4>
239285

240286
<script src="js/main.js"></script>
241287
</body>
242-
</html>
288+
289+
</html>

0 commit comments

Comments
 (0)