Skip to content

Commit f36dfd1

Browse files
committed
update style and links
1 parent 7b8d7ad commit f36dfd1

File tree

8 files changed

+88
-48
lines changed

8 files changed

+88
-48
lines changed

README.md

Lines changed: 26 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -4,28 +4,30 @@
44

55
<p>Weather at a Glance</p>
66

7-
87
<a href = "https://github.com/amit9838/mousam/releases"><img src="https://img.shields.io/github/v/release/amit9838/mousam?style=flat&label=Latest+Release&color=%234a92ff"></a>
98
<a href = "https://github.com/amit9838/mousam/discussions"><img alt="GitHub Discussions" src="https://img.shields.io/github/discussions/amit9838/mousam?logo=github&color=orange"></a>
9+
1010
</div>
1111
<div align="center">
1212
<img src="https://raw.githubusercontent.com/amit9838/mousam/master/screenshots/ss5-overcast.png?raw=true#gh-dark-mode-only">
1313
<img src="https://raw.githubusercontent.com/amit9838/mousam/master/screenshots/ss4-light_mode.png?raw=true#gh-light-mode-only">
1414
</div>
1515

1616
## Features
17-
* Displays real-time temperature, humidity, wind speed, UV index, pressure and more
18-
* Utilizes graphical representations, such as temperature , precipitation graphs and wind-speed with direction to provide an hourly forecast for the next 24 hours
19-
* Also shows tomorrow and 7-day forcasts
20-
* See conditions in metric or imperial systems
17+
18+
- Displays real-time temperature, humidity, wind speed, UV index, pressure and more
19+
- Utilizes graphical representations, such as temperature , precipitation graphs and wind-speed with direction to provide an hourly forecast for the next 24 hours
20+
- Also shows tomorrow and 7-day forcasts
21+
- See conditions in metric or imperial systems
2122

2223
## Installation
2324

2425
### **Flatpak:**
2526

2627
<a href='https://flathub.org/apps/io.github.amit9838.mousam'><img width='240' alt='Download on Flathub' src='https://dl.flathub.org/assets/badges/flathub-badge-en.png'/></a>
2728

28-
* Or you can use the terminal:
29+
- Or you can use the terminal:
30+
2931
```
3032
flatpak install flathub io.github.amit9838.mousam
3133
```
@@ -34,53 +36,59 @@ flatpak install flathub io.github.amit9838.mousam
3436

3537
<a href='https://snapcraft.io/mousam'><img width='240' alt='Download on SnapCraft' src='https://github.com/snapcore/snap-store-badges/blob/master/EN/%5BEN%5D-snap-store-black-uneditable.png?raw=true'/></a>
3638

37-
* Or you can use the terminal:
39+
- Or you can use the terminal:
3840

3941
```
4042
sudo snap install mousam
4143
```
44+
4245
### **Debian** (Unofficial)
46+
4347
<a href='https://github.com/amit9838/mousam/discussions/68'><img width='240' alt='Download on SnapCraft' src='https://www.m5hosting.com/wp-content/uploads/2021/07/debian-dedicated-server.jpg' style="border-radius:5px; padding:3px 8px; background-color:white;"></a>
4448

4549
Thanks to @hsbasu for maintaining Debian package
4650

4751
[Installation Instruction](https://github.com/amit9838/mousam/discussions/68)
4852

4953
## Build
54+
5055
### Dependances
51-
* python3-requests
52-
* build-essential
53-
* meson
54-
56+
57+
- python3-requests
58+
- build-essential
59+
- meson
60+
5561
### Build
62+
5663
```
5764
rm -rf builddir
5865
meson setup -Dprefix=$HOME/.local builddir
5966
meson compile -C builddir --verbose
6067
```
6168

6269
### Install
70+
6371
```
6472
meson install -C builddir
6573
```
74+
6675
### Run
76+
6777
```
6878
mousam
6979
```
7080

7181
## Contribution
82+
7283
Thanks to all the contributors have helped in the development project so that open-source community can enjoy best tools with best features.
73-
7484

7585
<a href="https://github.com/amit9838/mousam/graphs/contributors">
7686
<img src="https://contrib.rocks/image?repo=amit9838/mousam&columns=10"/>
7787
</a>
7888

79-
80-
81-
8289
## Credits
83-
- Thanks to [Open Meteo](https://open-meteo.com/) from providing weather data for free of cost.
90+
91+
- Thanks to [Open Meteo](https://open-meteo.com/) from providing weather data for free of cost.
8492

8593
- Thanks to [@basmilius](https://github.com/basmilius) for making beautiful weather icons.
8694

@@ -89,7 +97,8 @@ Thanks to all the contributors have helped in the development project so that op
8997
I hope you ❤️ <b>Mousam</b>, if you think it is worth supporting you can do so using below methods
9098
<br>
9199
<br>
92-
<a href="https://www.buymeacoffee.com/ami9838" target="_blank"><img src="https://cdn.buymeacoffee.com/buttons/v2/default-yellow.png" alt="Buy Me A Coffee" style="height: 60px !important;width: 217px !important;" >
100+
<a href="https://www.buymeacoffee.com/ami9838">
101+
<img src="https://img.buymeacoffee.com/button-api/?text=Buy me a coffee&emoji=☕&slug=ami9838&button_colour=FF5F5F&font_colour=ffffff&font_family=Comic&outline_colour=000000&coffee_colour=FFDD00" />
93102
</a>
94103
</div>
95104
<div align="center">

website/src/components/About.jsx

Lines changed: 11 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ export default function About() {
1010
<h2 className="mx-2 my-2 text-2xl ">About</h2>
1111
</div>
1212
<div className="col-span-1 border-r-[1px] border-slate-400 md:block hidden"></div>
13-
<div className="md:col-span-11 col-span-12 p-4 text-neutral-300 font-['ubuntu']">
13+
<div className="md:col-span-11 col-span-12 p-4 text-neutral-300 font-sans max-w-[90%]">
1414
<p>
1515
Mousam is a sleek desktop-weather application offering real-time
1616
weather updates and forecasts for the next{" "}
@@ -30,25 +30,23 @@ export default function About() {
3030
<code className={code_style}>Open-Meteo API</code> , ensuring accurate
3131
and timely information.
3232
</p>
33-
3433
<h4 className="text-neutral-200 mt-8 font-bold">About me</h4>
3534
<p className="my-1 ">
36-
Hello, I'm Amit. I began this project as part of my journey in
37-
learning Gtk with Python. It's exciting to see Mousam receiving
38-
positive responses, which is really motivating for me. Throughout this
39-
experience, I've gained valuable knowledge and continue to learn every
40-
day.
35+
I’m Amit, and I initiated this project as part of my ongoing
36+
exploration of Gtk with Python. It’s great to see Mousam’s success and
37+
positive feedback. It motivates me to keep working on the project.
4138
</p>
4239
<p>
43-
I admire the collaborative nature of open source, where people can
44-
freely interact, discuss cool ideas, and contribute to projects.
40+
I commend the collaborative spirit inherent in open source, where
41+
individuals can freely interact, exchange innovative ideas, and
42+
contribute to projects collectively.
4543
</p>
4644
<p>
47-
If you haven't already, consider starting your own open source project
48-
or contribute to existing projects it's a fantastic way to learn and
49-
grow.
50-
<br /> Happy coding!
45+
Let's build something amazing together! Join the open source community
46+
today. Whether you're starting your own project or contributing to an
47+
existing one, it's a fantastic way to learn and grow.
5148
</p>
49+
Let's code together!
5250

5351
{/* Developer Card */}
5452
<div className="max-w-[24rem] w-full bg-gray-700 hover:bg-gray-600 rounded-md flex items-center p-4 my-6">

website/src/components/Button.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
export default function Button({ children, myStyle, ...props }) {
2-
let styles = "hover:bg-primary px-4 py-2 rounded-full text-sm";
2+
let styles = "hover:bg-primary px-4 py-2 text-sm";
33
if (myStyle != null) {
4-
styles = myStyle;
4+
styles = styles+ " "+ myStyle;
55
}
66

77
return (

website/src/components/Footer.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ export default function Footer() {
22
return (
33
<section className="bg-primary text-neutral-200 h-[4rem] flex items-center md:px-20 px-4 md:text-md text-sm justify-between">
44
<p>© 2024 Mousam App. All rights reserved.</p>
5-
<a href="https://github.com/amit9838/mousam"><i className="fa-brands fa-github"></i></a>
5+
<a className="text-lg" href="https://github.com/amit9838/mousam"><i className="fa-brands fa-github"></i></a>
66
</section>
77
);
88
}

website/src/components/Hero.jsx

Lines changed: 38 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,17 +25,52 @@ export default function Hero() {
2525
<p className="text-sm md:text-neutral-300/80 text-neutral-300 mx-1 mt-4 max-w-[24rem]">
2626
30k+ downloads from flathub, snapstore and other stores.
2727
</p>
28-
<Button
28+
29+
{/* <Button
2930
onClick={() => {
3031
const element = document.getElementById("installation");
3132
element.scrollIntoView({
3233
behavior: "smooth",
3334
});
3435
}}
35-
myStyle="bg-gradient-to-r from-[#166EAE] to-[#7B8389] px-5 py-2 font-semibold rounded-full mt-20 text-white border-[1px] border-gray-400/70 hover:border-gray-300 "
36+
myStyle="bg-gradient-to-r from-[#166EAE] to-[#7B8389] px-5 py-2 font-semibold rounded-fullf mt-20 text-white border-[1px] border-gray-400/70 hover:border-gray-300 "
3637
>
3738
INSTALL
38-
</Button>
39+
</Button> */}
40+
<div className="grid grid-cols-[1fr_2fr_1fr] grid-rows-[1fr_2fr_1fr] h-20 w-40 gap-0 mt-20">
41+
{/* Top-left box */}
42+
<div className="border-r-[1px] border-b-[1px] border-gray-300"></div>
43+
{/* Top-center box */}
44+
<div className="border-b-[1px] border-gray-300"></div>
45+
{/* Top-right box */}
46+
<div className="border-l-[1px] border-b-[1px] border-gray-300"></div>
47+
48+
{/* Middle-left box */}
49+
<div className="border-r-[1px] border-gray-300"></div>
50+
{/* Center box (Button) */}
51+
<div className="flex items-center justify-center">
52+
<button
53+
onClick={() => {
54+
const element = document.getElementById("installation");
55+
element.scrollIntoView({
56+
behavior: "smooth",
57+
});
58+
}}
59+
className="bg-gradient-to-r from-[#166EAE] to-[#7B8389] px-5 py-2 font-semibold text-white hover:text-neutral-300"
60+
>
61+
INSTALL
62+
</button>
63+
</div>
64+
{/* Middle-right box */}
65+
<div className="border-l-[1px] border-gray-300"></div>
66+
67+
{/* Bottom-left box */}
68+
<div className="border-r-[1px] border-t-[1px] border-gray-300"></div>
69+
{/* Bottom-center box */}
70+
<div className="border-t-[1px] border-gray-300"></div>
71+
{/* Bottom-right box */}
72+
<div className="border-l-[1px] border-t-[1px] border-gray-300"></div>
73+
</div>
3974
</div>
4075
</div>
4176
</div>

website/src/components/Installation.jsx

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ export default function Installation() {
3030
</h2>
3131
</div>
3232
<div className="md:col-span-10 col-span-12 border-b-[1px] border-slate-400">
33+
3334
<h2 className="mx-2 mb-4 text-xl md:hidden block ">Installation</h2>
3435
<div className="flex items-center justify-center border-t-[1px] border-slate-400 md:hidden">
3536
{tabs.map((item) => {
@@ -51,14 +52,15 @@ export default function Installation() {
5152
})}
5253
</div>
5354
</div>
55+
5456
<div className="col-span-2 md:block hidden h-[30rem] border-r-[1px] border-slate-400">
5557
<div className="md:flex items-end flex-col hidden">
5658
{tabs.map((item) => {
5759
let myStyle =
58-
"bg-secondary hover:bg-gray-600 py-2 w-40 border-b-[1px]";
60+
"bg-secondary hover:bg-gray-600 py-2 w-40 border-b-[1px] border-slate-500";
5961
if (item.tab_name === activeTab) {
6062
myStyle =
61-
"bg-gray-500 hover:bg-gray-600 py-2 w-40 border-b-[1px]";
63+
"bg-gray-500 hover:bg-gray-600 py-2 w-40 border-b-[1px] border-slate-500";
6264
}
6365
return (
6466
<Button
@@ -72,7 +74,7 @@ export default function Installation() {
7274
})}
7375
</div>
7476
</div>
75-
<div className="md:col-span-10 col-span-12 m-6">
77+
<div className="md:col-span-10 col-span-12 m-6">
7678
{tabs.map((item) => {
7779
return (
7880
item.tab_name === activeTab && (

website/src/components/Navbar.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ export default function Navbar() {
2222
return (
2323
<li key={item}>
2424
<Button
25-
myStyle={null}
25+
myStyle="rounded-full"
2626
onClick={() => {
2727
const element = document.getElementById(item);
2828
element.scrollIntoView({
@@ -68,7 +68,7 @@ export default function Navbar() {
6868
return (
6969
<li key={item}>
7070
<Button
71-
myStyle={null}
71+
myStyle="rounded-full"
7272
onClick={() => {
7373
const element = document.getElementById(item);
7474
element.scrollIntoView({

website/src/components/Support.jsx

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,9 @@ export default function Support() {
1111
I hope you ❤️ Mousam , if you think it is worth supporting you can do
1212
so. Thanks!
1313
</p>
14-
<a href="https://www.buymeacoffee.com/ami9838" rel="nofollow">
15-
<img
16-
src="https://camo.githubusercontent.com/cace41b0afc90c68d0207e2bd809ee121f9ff4f72ac032e8ced972aee7adbb23/68747470733a2f2f63646e2e6275796d6561636f666665652e636f6d2f627574746f6e732f76322f64656661756c742d79656c6c6f772e706e67"
17-
alt="Buy Me A Coffee"
18-
className="w-[14rem] my-4"
19-
data-canonical-src="https://cdn.buymeacoffee.com/buttons/v2/default-yellow.png"
20-
/>
14+
15+
<a href="https://www.buymeacoffee.com/ami9838">
16+
<img className="mt-4" src="https://img.buymeacoffee.com/button-api/?text=Buy me a coffee&emoji=&slug=ami9838&button_colour=FF5F5F&font_colour=ffffff&font_family=Comic&outline_colour=000000&coffee_colour=FFDD00" />
2117
</a>
2218
</div>
2319
</section>

0 commit comments

Comments
 (0)