Skip to content
This repository has been archived by the owner on Aug 7, 2024. It is now read-only.

Commit

Permalink
Merge branch 'main' into date-input
Browse files Browse the repository at this point in the history
  • Loading branch information
dan-mba authored Aug 3, 2023
2 parents a1c41fc + a12f231 commit 2d1472a
Show file tree
Hide file tree
Showing 37 changed files with 458 additions and 105 deletions.
19 changes: 8 additions & 11 deletions .github/config/labeler.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
version: 1
labels:
- label: "✍ chore: profile"
files:
- "data/*.json"
- label: "tests"
files:
- "tests/*"
- label: "storybook"
files:
- "stories/*"
'✍ chore: profile':
- 'data/**'

tests:
- 'tests/**'

storybook:
- 'stories/**'
22 changes: 16 additions & 6 deletions .github/workflows/labels.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,25 @@
name: Label PRs

on:
- pull_request
- pull_request_target

jobs:
build:
label:
permissions:
contents: read
pull-requests: write
runs-on: ubuntu-latest

steps:
- uses: srvaroa/labeler@master
- uses: actions/checkout@v3 # Uploads repository content to the runner to ensure config file available
with:
config_path: .github/config/labeler.yml
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
sparse-checkout: |
.github/config/labeler.yml
sparse-checkout-cone-mode: false
- uses: actions/labeler@v4
with:
configuration-path: .github/config/labeler.yml
repo-token: ${{ secrets.GITHUB_TOKEN }}
dot: true
sync-labels: true

24 changes: 12 additions & 12 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,45 +1,45 @@
# [1.167.0](https:/EddieHubCommunity/LinkFree/compare/v1.166.0...v1.167.0) (2023-08-01)
## [1.168.7](https:/EddieHubCommunity/LinkFree/compare/v1.168.6...v1.168.7) (2023-08-03)


### Features
### Bug Fixes

* admin users list inc repos ([#8439](https:/EddieHubCommunity/LinkFree/issues/8439)) ([aae68d9](https:/EddieHubCommunity/LinkFree/commit/aae68d92be0dbd09c31df93c83e926a1b7786919))
* milestone link icon and date [#8098](https:/EddieHubCommunity/LinkFree/issues/8098) ([#8420](https:/EddieHubCommunity/LinkFree/issues/8420)) ([21c9717](https:/EddieHubCommunity/LinkFree/commit/21c9717861542833a2fc6d7a2131937573918266))



# [1.166.0](https:/EddieHubCommunity/LinkFree/compare/v1.165.3...v1.166.0) (2023-08-01)
## [1.168.6](https:/EddieHubCommunity/LinkFree/compare/v1.168.5...v1.168.6) (2023-08-03)


### Features
### Bug Fixes

* GitHub repo to profile ([#8225](https:/EddieHubCommunity/LinkFree/issues/8225)) ([30bc65d](https:/EddieHubCommunity/LinkFree/commit/30bc65d3d075895e81ead930cbdca9e383a7f210))
* db connection ([#8477](https:/EddieHubCommunity/LinkFree/issues/8477)) ([a1af174](https:/EddieHubCommunity/LinkFree/commit/a1af174bbe8866f1121b073dc91d8d0556479de2))



## [1.165.3](https:/EddieHubCommunity/LinkFree/compare/v1.165.2...v1.165.3) (2023-08-01)
## [1.168.5](https:/EddieHubCommunity/LinkFree/compare/v1.168.4...v1.168.5) (2023-08-03)


### Bug Fixes

* gh action labeler ([#8430](https:/EddieHubCommunity/LinkFree/issues/8430)) ([83c939e](https:/EddieHubCommunity/LinkFree/commit/83c939e361790316b2ad26b1e079b8b87520ad5b))
* changelog latest features ([#8473](https:/EddieHubCommunity/LinkFree/issues/8473)) ([2a43b3a](https:/EddieHubCommunity/LinkFree/commit/2a43b3ac3b7c6dee0ac1a88d2f0919784954192c))



## [1.165.2](https:/EddieHubCommunity/LinkFree/compare/v1.165.1...v1.165.2) (2023-07-31)
## [1.168.4](https:/EddieHubCommunity/LinkFree/compare/v1.168.3...v1.168.4) (2023-08-03)


### Bug Fixes

* profile updated datetime on stats ([#8415](https:/EddieHubCommunity/LinkFree/issues/8415)) ([80b39c8](https:/EddieHubCommunity/LinkFree/commit/80b39c835e5d69a4d3dcd1d287b24fdf66890fc3))
* labeling PRs from forks ([#8469](https:/EddieHubCommunity/LinkFree/issues/8469)) ([26b4247](https:/EddieHubCommunity/LinkFree/commit/26b42478e7f9097fdaed37be18ed369c3a18e22e))



## [1.165.1](https:/EddieHubCommunity/LinkFree/compare/v1.165.0...v1.165.1) (2023-07-31)
## [1.168.3](https:/EddieHubCommunity/LinkFree/compare/v1.168.2...v1.168.3) (2023-08-02)


### Bug Fixes

* date format helper ([#8380](https:/EddieHubCommunity/LinkFree/issues/8380)) ([b70f3b1](https:/EddieHubCommunity/LinkFree/commit/b70f3b1b6164fe77bc6e8967646474fd17632d91))
* gh labeler action ([#8466](https:/EddieHubCommunity/LinkFree/issues/8466)) ([439fcc3](https:/EddieHubCommunity/LinkFree/commit/439fcc3a9a124acfeffa9598f52c4a40d7dac4ed))



2 changes: 1 addition & 1 deletion components/Tabs.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import Link from "@components/Link";
import { classNames } from "utils/functions/classNames";

export default function Tabs({ tabs, setTabs }) {
const classNames = (...classes) => classes.filter(Boolean).join(" ");
const changeTab = (e, value) => {
e.preventDefault();
setTabs(
Expand Down
2 changes: 1 addition & 1 deletion components/event/EventTabs.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import Link from "@components/Link";
import { classNames } from "utils/functions/classNames";

export function EventTabs({ tabs, eventType, setEventType }) {
const classNames = (...classes) => classes.filter(Boolean).join(" ");
const changeTab = (e, value) => {
e.preventDefault();
setEventType(value);
Expand Down
5 changes: 1 addition & 4 deletions components/form/Toggle.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
import { Switch } from "@headlessui/react";

function classNames(...classes) {
return classes.filter(Boolean).join(" ");
}
import { classNames } from "utils/functions/classNames";

export default function Toggle({ text1, text2, enabled = false, setEnabled }) {
let aria = {};
Expand Down
4 changes: 4 additions & 0 deletions components/layouts/DocsLayout.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,10 @@ export const navigation = [
name: "Testimonials with Forms",
href: "/docs/how-to-guides/testimonials-forms",
},
{
name: "GitHub Repos with Forms",
href: "/docs/how-to-guides/repos-forms",
},
],
},
{
Expand Down
4 changes: 2 additions & 2 deletions components/navbar/Navbar.js
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,8 @@ export default function Navbar() {
url: "/map",
},
{
name: "Docs",
url: "/docs",
name: "Repos",
url: "/repos",
},
];

Expand Down
5 changes: 1 addition & 4 deletions components/navbar/SideNav.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
import { Disclosure } from "@headlessui/react";
import ChevronRightIcon from "@heroicons/react/20/solid/ChevronRightIcon";
import EditOnGitHub from "@components/EditOnGithub";

function classNames(...classes) {
return classes.filter(Boolean).join(" ");
}
import { classNames } from "utils/functions/classNames";

export default function SideNav({ navigation }) {
return (
Expand Down
5 changes: 1 addition & 4 deletions components/navbar/SubNav.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
import Link from "@components/Link";
import Router, { useRouter } from "next/router";

function classNames(...classes) {
return classes.filter(Boolean).join(" ");
}
import { classNames } from "utils/functions/classNames";

export default function SubNav({ tabs }) {
const router = useRouter();
Expand Down
8 changes: 5 additions & 3 deletions components/user/UserMilestone.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,14 @@ export default function UserMilestone({ milestone, isGoal, manage }) {
<div className="flex-1 space-y-1">
<div className="flex items-center justify-between">
<h3
className={`text-sm font-medium flex gap-2 items-center ${
className={`text-sm font-medium ${
isGoal ? "opacity-70" : ""
}`}
>
<span>{milestone.title}</span>
</h3>
<p className={`text-sm flex gap-2 items-center ${colors}`}>
{date}
{milestone.url && (
<Link
href={milestone.url}
Expand All @@ -42,8 +45,7 @@ export default function UserMilestone({ milestone, isGoal, manage }) {
<FaExternalLinkAlt />
</Link>
)}
</h3>
<p className={`text-sm ${colors}`}>{date}</p>
</p>
</div>
<ReactMarkdown className={`text-sm ${colors}`}>
{milestone.description}
Expand Down
8 changes: 2 additions & 6 deletions components/user/UserRepos.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import FallbackImage from "@components/FallbackImage";
import Link from "@components/Link";
import ChevronRightIcon from "@heroicons/react/20/solid/ChevronRightIcon";
import StarIcon from "@heroicons/react/20/solid/StarIcon";
import dateFormat from "@services/utils/dateFormat";

export default function UserRepos({ repos }) {
return (
Expand All @@ -26,12 +27,7 @@ export default function UserRepos({ repos }) {
{repo.owner}/{repo.name}
</Link>{" "}
<span className="hidden md:inline">
(
{new Intl.DateTimeFormat("en-GB", {
dateStyle: "full",
timeStyle: "long",
}).format(new Date(repo.dates.pushedAt))}
)
({dateFormat({ format: "long", date: repo.dates.pushedAt })})
</span>
</p>
<p className="mt-1 flex text-xs leading-5 text-gray-500">
Expand Down
2 changes: 1 addition & 1 deletion config/app.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "1.167.0",
"version": "1.168.7",
"alerts": [],
"layouts": [
"classic",
Expand Down
72 changes: 72 additions & 0 deletions data/Aladdin4u.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
{
"name": "Taofeek Inaolaji",
"bio": "Full Stack Software Engineer | Open Source Enthusiast! | Blogger",
"tags": [
"Open Source",
"Javascript",
"Typescript",
"react",
"NextJS",
"DevOps"
],
"socials": [
{
"icon": "FaTwitter",
"url": "https://twitter.com/devaladdin"
},
{
"icon": "FaGithub",
"url": "https:/aladdin4u"
},
{
"icon": "FaLinkedin",
"url": "https://linkedin.com/in/aladdin4u"
},
{
"icon": "SiHashnode",
"url": "https://hashnode.com/@aladdin4u"
}
],
"links": [
{
"group": "Socials Primary",
"name": "Follow me on GitHub",
"url": "https:/aladdin4u",
"icon": "FaGithub"
},
{
"group": "Socials Primary",
"name": "Follow me on Twitter",
"url": "https://twitter.com/devaladdin",
"icon": "FaTwitter"
},
{
"group": "Socials Primary",
"name": "Follow me on LinkedIn",
"url": "https://linkedin.com/in/aladdin4u",
"icon": "FaLinkedin"
},
{
"group": "Content",
"name": "Follow and read my blog on Hashnode",
"url": "https://hashnode.com/@aladdin4u",
"icon": "SiHashnode"
},
{
"group": "Donate",
"name": "Buy me Coffee",
"url": "https://buymecoffee.com/devaladdin",
"icon": "FaRegMoneyBillAlt"
}
],
"milestones": [
{
"title": "Started Freelancing",
"date": "December 2021",
"icon": "FaDollarSign",
"color": "grey",
"description": "Started freelancing",
"url": "https://devaladdin.netlify.app/"
}
]
}
31 changes: 31 additions & 0 deletions data/Axorax.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{
"name": "Axorax",
"bio": "I like programming sometimes...",
"tags": [
"open source",
"javascript",
"python"
],
"socials": [
{
"icon": "FaTwitter",
"url": "https://twitter.com/axorax_"
},
{
"icon": "FaYoutube",
"url": "https://www.youtube.com/axorax"
}
],
"links": [
{
"name": "Github",
"url": "https:/Axorax",
"icon": "FaGithub"
},
{
"name": "Support me on Patreon!",
"url": "https://www.patreon.com/axorax",
"icon": "FaPatreon"
}
]
}
22 changes: 22 additions & 0 deletions data/AyushRay06.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"name": "Ayush Ray",
"bio": "DevOps| webdev| cloud| GDSC lead",
"tags": [
"Open Source",
"MERN",
"Kubernaties",
"AWS",
"Docker"
],
"socials": [{
"name": "Follow me on X",
"url": "https://twitter.com/Ayush_a_ray",
"icon": "FaTwitter"
},
{
"name": "Follow me on Instagram",
"url": "https://www.instagram.com/oyee_ayush/",
"icon": "FaInstagram"
}
]
}
18 changes: 9 additions & 9 deletions data/Quarkyy77.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"name": "Quarkyy77",
"bio": "Starting on a open source journey , would be updating bio soon...",
"links": [
{
"name": "Follow me onLinkedIn",
"url": "https://www.linkedin.com/in/tushar-kumar-xckecn",
"icon": "LinkedIn"
}
]
"name": "Quarkyy77",
"bio": "Starting on a open source journey , would be updating bio soon...",
"links": [
{
"name": "Follow me onLinkedIn",
"url": "https://www.linkedin.com/in/tushar-kumar-xckecn",
"icon": "LinkedIn"
}
]
}
Loading

0 comments on commit 2d1472a

Please sign in to comment.