From f8ed0cfd88c30b8ab703b4330557cfa5ce0e12f7 Mon Sep 17 00:00:00 2001 From: Bamboooz Date: Sun, 24 Nov 2024 13:12:47 +0100 Subject: [PATCH] Improve font format, rollback moving postcss to typescript, a few minor changes --- .github/CONTRIBUTING.md | 4 ++-- .github/ISSUE_TEMPLATE/feature-request.yml | 2 ++ .vscode/extensions.json | 7 ++++++- README.md | 9 +++++---- postcss.config.ts => postcss.config.js | 0 public/admin.png | Bin 19448 -> 7605 bytes src/components/Commands/index.tsx | 4 +--- src/components/Games/index.tsx | 4 +--- src/components/Header.tsx | 2 +- src/fonts/Poppins-Medium.ttf | Bin 156520 -> 0 bytes src/fonts/Poppins-Medium.woff2 | Bin 0 -> 50488 bytes src/fonts/Poppins-Regular.ttf | Bin 158240 -> 0 bytes src/fonts/Poppins-Regular.woff2 | Bin 0 -> 51148 bytes src/styles.css | 6 +++--- tailwind.config.ts | 1 + 15 files changed, 22 insertions(+), 17 deletions(-) rename postcss.config.ts => postcss.config.js (100%) delete mode 100644 src/fonts/Poppins-Medium.ttf create mode 100644 src/fonts/Poppins-Medium.woff2 delete mode 100644 src/fonts/Poppins-Regular.ttf create mode 100644 src/fonts/Poppins-Regular.woff2 diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md index 1adf57e..222a2ac 100644 --- a/.github/CONTRIBUTING.md +++ b/.github/CONTRIBUTING.md @@ -5,10 +5,10 @@ Thank you for considering contributing to magnetar! We welcome contributions fro ## How to Contribute 1. Fork the repository. -2. Create a new branch (`git checkout -b feature/YourFeature`). +2. Create a new branch (`git checkout -b YourFeature`). 3. Make your changes. 4. Commit your changes (`git commit -m 'Add some feature'`). -5. Push to the branch (`git push origin feature/YourFeature`). +5. Push to the branch (`git push origin YourFeature`). 6. Open a pull request. ## Code of Conduct diff --git a/.github/ISSUE_TEMPLATE/feature-request.yml b/.github/ISSUE_TEMPLATE/feature-request.yml index 1e63e66..c19b2ad 100644 --- a/.github/ISSUE_TEMPLATE/feature-request.yml +++ b/.github/ISSUE_TEMPLATE/feature-request.yml @@ -22,6 +22,8 @@ body: attributes: label: Describe alternatives you've considered description: Have you considered any alternative solutions or workarounds? + validations: + required: true - type: textarea attributes: label: Additional context diff --git a/.vscode/extensions.json b/.vscode/extensions.json index 24d7cc6..eb4170d 100644 --- a/.vscode/extensions.json +++ b/.vscode/extensions.json @@ -1,3 +1,8 @@ { - "recommendations": ["tauri-apps.tauri-vscode", "rust-lang.rust-analyzer"] + "recommendations": [ + "tauri-apps.tauri-vscode", + "rust-lang.rust-analyzer", + "bradlc.vscode-tailwindcss", + "yoavbls.pretty-ts-errors" + ] } diff --git a/README.md b/README.md index f41a1b7..e086c0e 100644 --- a/README.md +++ b/README.md @@ -3,10 +3,11 @@

magnetar

Your ultimate Windows toolbox

- [![License](https://img.shields.io/github/license/Bamboooz/magnetar)](https://github.com/Bamboooz/magnetar/blob/main/LICENSE) - [![GitHub stars](https://img.shields.io/github/stars/Bamboooz/magnetar)](https://github.com/Bamboooz/magnetar/stargazers) - [![GitHub issues](https://img.shields.io/github/issues/Bamboooz/magnetar)](https://github.com/Bamboooz/magnetar/issues) - [![GitHub release](https://img.shields.io/github/v/release/Bamboooz/magnetar)](https://github.com/Bamboooz/magnetar/releases) +[![License](https://img.shields.io/github/license/Bamboooz/magnetar)](https://github.com/Bamboooz/magnetar/blob/main/LICENSE) +[![GitHub stars](https://img.shields.io/github/stars/Bamboooz/magnetar)](https://github.com/Bamboooz/magnetar/stargazers) +[![GitHub issues](https://img.shields.io/github/issues/Bamboooz/magnetar)](https://github.com/Bamboooz/magnetar/issues) +[![GitHub release](https://img.shields.io/github/v/release/Bamboooz/magnetar)](https://github.com/Bamboooz/magnetar/releases) +
diff --git a/postcss.config.ts b/postcss.config.js similarity index 100% rename from postcss.config.ts rename to postcss.config.js diff --git a/public/admin.png b/public/admin.png index 4f2600c3e8b3c4bb1967798cc488f1a2aa30914a..1ac8db2fc6d378e4863bbb259b4c5c0861336b97 100644 GIT binary patch delta 29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+FmQxMy7MQ4bcXs|1A)yQSA>vhzY`VM$g`8;It|^a64evs%thJR7 zg>-L{Kt7gf#crsF^;sPJ(Z>J)5TCoC|5sq9qYbt9LLgZqK( zkZ>m#4;l8u_806R7Y7;kn_@Z;9WN!gvy1v|AGpzNU1R&(ZuU|R>~gXM(m_x(0s`&_ z0|g=6J$#`-GVDKrq3H9gVL^7#PZK{k8Fn)reUOr;4;&;aASwU>s|2|O2(!x)fTVpK z9HEBFs=q=Y(U&sp&VGJgP(i`Kz(9dO5dlvhCqW@8DJemSu%NIo7;ORe4fgPZ1%W+$ zIj%5%0a1qg+WWY8`MG#{fUZDccAoxzGVJW=dCs4ITa8T&|Mf4whtZ>Cq4elCu`r|Un0yPCNY z^dIJE_up{;!}?eCg6znvY@y9`bfC(f_WoA^YADOFUj+bl@U(Yvfc`v{5|t1W7KXvW za3L``SX9`-0W2lyC=9j}hKNhR9VH~}#YKLm;1?(j4_`l+hdulX3Oyp=g2sWt9mPb1 zV3J@-VPOfdsDro^SW*gtgn;ctBOl1Xg%oU!mipC4e-+gEe8oz@`1zrJbjEkJ>6y4 zufhUdx&CZ(kn}IX)V9?(%aA1p3*%P?-HMEWWS+xWi8- zwBIjN_RcU5Cpdbc|Jotq&>Qi9fXCz=t_!%?H~?PU=g^KsE8EY&Q2U+|DOT>ZGr!$ zPXgVp#%OV(l29?oulkT6X~C<_>t6+x7W}_T{)@rC?RMzI{4$2#M$x;n;BVXVuNk}Q zlKYf5GzSA^&au{}IdI z=KqIT{+R!YHhwj-8g8G60ayN5BQZ_fj|a1po*suU;5{yoYpX16)519TnVdTt*Uz OFv}M`Y+QGj7 diff --git a/src/components/Commands/index.tsx b/src/components/Commands/index.tsx index 4f84e47..26b8076 100644 --- a/src/components/Commands/index.tsx +++ b/src/components/Commands/index.tsx @@ -41,9 +41,7 @@ export default function Commands({ page, search }: HomeProps) { )) ) : (
-

- No commands found -

+

No commands found

)} diff --git a/src/components/Games/index.tsx b/src/components/Games/index.tsx index 5f95bf1..b146cee 100644 --- a/src/components/Games/index.tsx +++ b/src/components/Games/index.tsx @@ -66,9 +66,7 @@ export default function Games({ page, search }: GamesProps) { ) : (
-

- No games found -

+

No games found

)} diff --git a/src/components/Header.tsx b/src/components/Header.tsx index 0b827b8..0378ad2 100644 --- a/src/components/Header.tsx +++ b/src/components/Header.tsx @@ -9,7 +9,7 @@ interface HeaderProps { export default function Header({ setPage }: HeaderProps) { return ( -
+