Skip to content

Commit

Permalink
Updated Link, code link
Browse files Browse the repository at this point in the history
  • Loading branch information
Rohit19060 committed Jul 3, 2023
1 parent 1cd0937 commit 9ad3095
Show file tree
Hide file tree
Showing 2 changed files with 108 additions and 9 deletions.
102 changes: 101 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1,101 @@
# rohit19060.github.io
<p align="center">
<a href="https://github.com/Rohit19060/rohit19060.github.io" title="rohit19060.github.io">
<img src="https://kingtechnologies.in/assets/images/Logo.webp" width="80px" alt="rohit19060.github.io"/>
</a>
</p>
<h1 align="center">🌟 rohit19060.github.io 🌟</h1>
<p align="center"></p>

<p align="center">
<a href="https://github.com/Rohit19060/rohit19060.github.io/blob/master/LICENSE" title="License">
<img src="https://img.shields.io/github/license/Rohit19060/rohit19060.github.io?label=License&logo=Github&style=flat-square" alt="rohit19060.github.io License"/>
</a>
<a href="https://github.com/Rohit19060/rohit19060.github.io/fork" title="Forks">
<img src="https://img.shields.io/github/forks/Rohit19060/rohit19060.github.io?label=Forks&logo=Github&style=flat-square" alt="rohit19060.github.io Forks"/>
</a>
<a href="https://github.com/Rohit19060/rohit19060.github.io/stargazers" title="Stars">
<img src="https://img.shields.io/github/stars/Rohit19060/rohit19060.github.io?label=Stars&logo=Github&style=flat-square" alt="rohit19060.github.io Stars"/>
</a>
<a href="https://github.com/Rohit19060/rohit19060.github.io/issues" title="Issues">
<img src="https://img.shields.io/github/issues/Rohit19060/rohit19060.github.io?label=Issues&logo=Github&style=flat-square" alt="rohit19060.github.io Issues"/>
</a>
<a href="https://github.com/Rohit19060/rohit19060.github.io/pulls" title="Pull Requests">
<img src="https://img.shields.io/github/issues-pr/Rohit19060/rohit19060.github.io?label=Pull%20Requests&logo=Github&style=flat-square" alt="rohit19060.github.io Pull Requests"/>
</a>
<a href="https://github.com/Rohit19060/rohit19060.github.io" title="Repo Size">
<img src="https://img.shields.io/github/repo-size/Rohit19060/rohit19060.github.io?label=Repo%20Size&logo=Github&style=flat-square" alt="rohit19060.github.io Repo Size"/>
</a>
<a href="https://discord.gg/CJU4UNTaFt" title="Join Community">
<img src="https://img.shields.io/discord/737854816402800690?color=%236d82cb&label=Join%20Community&logo=discord&logoColor=%23FFFFFF&style=flat-square" alt="Join discord"/>
</a>
<a href="https://open.vscode.dev/Rohit19060/rohit19060.github.io" title="Open in VSCode">
<img src="https://img.shields.io/badge/Open%20in%20VSCode-%23007ACC?label=Code&logo=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA8AAAAPCAYAAAA71pVKAAAC00lEQVQYGX3BX2iVZRwH8O/ze//t/NkcRzdXmzZzLLYMmyVJUFQgzkQoqOsgAtNu6jK6kqjbIqOErrrTCBUUbBTYuZCMoDE0FZLp3DpnZ9s55313znmf/89TEV1JfT5s6uIG5LlvsPTdKViK8fCzr2H8wGEw1UIpNqgUYkRx38Bajqorb08ateWT62l+NrtxBSH+R0KAdhhbaelqp7X26MTTE9ix58UzG83u+7/l9Q9DEMHKHE4JoNiHf0UEKIvH1zh+lMZsC+ME3ZzDt4FiUtz75NE3viXvDYpbx44AHkjXwShAQIBx7PkGD37NtdsWBAzWGihtYD2QtXsQxkmienu+9MRzl3Yf++wylQaLulWHIXolU76qjI8DBmil0drkn/qocFkbCwsGrbQilXUUz3vo3/PS7PiJL38pPDL10eb68nllHQIiGGfxe231BI1MvlceHk2lyGG9h/UeoSzoZ0i507Kx8mYyMjHth3ZOiz9uIehs+F5x63xN0Tvh0Ni13dMz4Fw8ZJwHwPA30k0JsVF/26SNW7ybQQgBN/wY9OCOzsp89ZD44etro4NbkFQi5FwY4xmMB4wHSDY5XCc7bZr3pmy2CksRFO/CVMb7KzMH5yLbPXDv/CmkLQkqlENjPYwFjAUoSsTPNqRjtjwc5XcXbvZuXv3YxmWoTsrCkcl9Q299/pMqDR9fnDsDFoc14xms97Deg0yaxDpWkKwwl9XW9qulGx9Abr6qPQPP2jCSozJ7/IuuCz9p318aZFEC4wHjAdK9ZEaz3lGh9CxjcR4UBwDevmDT5Re0gxZSw0gBjEy+y7V72ToGbTwsi2JigYMz/hJjACP8I0xAqld1zTtPaa1aCgGMFHCMYB3ASgOwCBLCXxhjeEBYANP5dVe/vddysSh9ABcVgP4IPG8vNL7/6vUQ/8kDcR+YyFf04sIMje6q6t5msnrl6kmRpWf1/ev4E5Tbl9R3VUZRAAAAAElFTkSuQmCC&style=flat-square" alt="Open in VSCode"/>
</a>
<a href="https://github.dev/Rohit19060/rohit19060.github.io" title="Open in VSCode Web">
<img src="https://img.shields.io/badge/Open%20in%20VSCode%20Web-%23007ACC?label=Code&logo=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA8AAAAPCAYAAAA71pVKAAAC00lEQVQYGX3BX2iVZRwH8O/ze//t/NkcRzdXmzZzLLYMmyVJUFQgzkQoqOsgAtNu6jK6kqjbIqOErrrTCBUUbBTYuZCMoDE0FZLp3DpnZ9s55313znmf/89TEV1JfT5s6uIG5LlvsPTdKViK8fCzr2H8wGEw1UIpNqgUYkRx38Bajqorb08ateWT62l+NrtxBSH+R0KAdhhbaelqp7X26MTTE9ix58UzG83u+7/l9Q9DEMHKHE4JoNiHf0UEKIvH1zh+lMZsC+ME3ZzDt4FiUtz75NE3viXvDYpbx44AHkjXwShAQIBx7PkGD37NtdsWBAzWGihtYD2QtXsQxkmienu+9MRzl3Yf++wylQaLulWHIXolU76qjI8DBmil0drkn/qocFkbCwsGrbQilXUUz3vo3/PS7PiJL38pPDL10eb68nllHQIiGGfxe231BI1MvlceHk2lyGG9h/UeoSzoZ0i507Kx8mYyMjHth3ZOiz9uIehs+F5x63xN0Tvh0Ni13dMz4Fw8ZJwHwPA30k0JsVF/26SNW7ybQQgBN/wY9OCOzsp89ZD44etro4NbkFQi5FwY4xmMB4wHSDY5XCc7bZr3pmy2CksRFO/CVMb7KzMH5yLbPXDv/CmkLQkqlENjPYwFjAUoSsTPNqRjtjwc5XcXbvZuXv3YxmWoTsrCkcl9Q299/pMqDR9fnDsDFoc14xms97Deg0yaxDpWkKwwl9XW9qulGx9Abr6qPQPP2jCSozJ7/IuuCz9p318aZFEC4wHjAdK9ZEaz3lGh9CxjcR4UBwDevmDT5Re0gxZSw0gBjEy+y7V72ToGbTwsi2JigYMz/hJjACP8I0xAqld1zTtPaa1aCgGMFHCMYB3ASgOwCBLCXxhjeEBYANP5dVe/vddysSh9ABcVgP4IPG8vNL7/6vUQ/8kDcR+YyFf04sIMje6q6t5msnrl6kmRpWf1/ev4E5Tbl9R3VUZRAAAAAElFTkSuQmCC&style=flat-square" alt="Open in VSCode Web"/>
</a>
</p>
<!-- <p align="center"><img src="./assets/images/main.gif" alt="rohit19060.github.io"/></p> -->

<h2 align="center">🌐 Links 🌐</h2>
<p align="center">
<a href="https://github.com/Rohit19060/rohit19060.github.io" title="rohit19060.github.io">📂 Repo</a>
·
<a href="https://github.com/Rohit19060/rohit19060.github.io/issues/new/choose" title="🐛Report Bug/🎊Request Feature">🚀 Got Issue</a>
</p>

## 🚀 Features

## 🦋 Prerequisite

## 🛠️ Installation Steps

1. Clone the repository

```Bash
git clone https://github.com/Rohit19060/rohit19060.github.io.git
```

2. Install Dependencies

```Bash
npm i
```

3. Run the app

```Bash
npm dev
```

## ❗ Available Commands

## 👷 Built with

## 📂 Directory Structure

## 🧑🏻 Author

**Rohit Jain**

- 🌌 [Profile](https://github.com/Rohit19060 "Rohit Jain")

- 🏮
[Email](mailto:rohitjain19060@gmail.com?subject=Hi%20from%20rohitjain.github.io "Hi!")

- 🦁 [Website](https://kingtechnologies.in "Welcome")

<h2 align="center">🤝 Support</h2>

<p align="center">🎀 Contributions (<a href="https://guides.github.com/introduction/flow" title="GitHub flow">GitHub Flow</a>), 🔥 issues, and 🥮 feature requests are most welcome!</p>

<p align="center">💙 If you like this project, Give it a ⭐ and Share it with friends!</p>
<p align="center">💰 Donations Links</p>
<p align="center">
<a href="https://www.paypal.me/kingrohitJ" title="PayPal"><img src="https://kingtechnologies.in/assets/images/Paypal.png" alt="PayPal"/></a>
<a href="https://www.buymeacoffee.com/rohitjain" title="Buy me a Coffee"><img src="https://kingtechnologies.in/assets/images/Coffee.png" alt="Buy me a Coffee"/></a>
<a href="https://ko-fi.com/rohitjain" title="Ko-fi"><img src="https://kingtechnologies.in/assets/images/Kofi.png" alt="Ko-fi"/></a>
<a href="https://www.patreon.com/KingTechnologies" title="Patreon"><img src="https://kingtechnologies.in/assets/images/Patreon.png" alt="Patreon"/></a>
</p>

<p align="center">Made with Flutter & ❤️ in India</p>
15 changes: 7 additions & 8 deletions src/card.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,20 @@ import { Repo } from "./types";

export default function createCard(e: Repo): Element {
let card = document.createElement("a");
card.href = e.html_url;
card.href = e.homepage != null && e.homepage != "" && e.homepage != "null" &&
e.homepage != "undefined" && e.homepage.includes("https://")
? e.homepage
: e.html_url;
card.target = "_blank";
card.className = "card";
card.title = e.name;
card.innerHTML = `
<div>
<h3>${e.name}</h3>
<h5>${e.description == null ? "" : e.description}</h5>
</div>`;
if (
e.homepage != null && e.homepage != "" && e.homepage != "null" &&
e.homepage != "undefined" && e.homepage.includes("https://")
) {
card.innerHTML += `<div class="upper_card">
<a href="${e.homepage}" target="_blank" class="btn">Code</a>
card.innerHTML += `<div class="upper_card">
<a href="${e.html_url}" target="_blank" class="btn">Code</a>
</div>`;
}
return card;
}

0 comments on commit 9ad3095

Please sign in to comment.