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

Commit

Permalink
Merge branch 'EddieHubCommunity:main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
anirudhp26 authored Nov 10, 2023
2 parents 81785a0 + 8b69061 commit eac640c
Show file tree
Hide file tree
Showing 45 changed files with 2,759 additions and 2,080 deletions.
4 changes: 4 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,7 @@ STRIPE_SECRET_KEY=""
STRIPE_PREMIUM_PRICING_ID=""
STRIPE_WEBHOOK_SECRET=""
NEXT_PUBLIC_PREMIUM_SUPPORT_URL=""

VERCEL_PROJECT_ID=""
VERCEL_TEAM_ID=""
VERCEL_AUTH_TOKEN=""
4 changes: 2 additions & 2 deletions .github/ISSUE_TEMPLATE/bug.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ body:
- type: textarea
id: extrainfo
attributes:
label: If you want to work on this issue...
description: Please explain how you would technically resolve this feature (for example the code changes you would make)
label: If "yes" to above, please explain how you would technically implement this
description: For example reference any existing code
validations:
required: false
- type: markdown
Expand Down
4 changes: 2 additions & 2 deletions .github/ISSUE_TEMPLATE/feature_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ body:
- type: textarea
id: extrainfo
attributes:
label: If you want to work on this issue...
description: Please explain how you would technically implement this feature (for example reference any existing code)
label: If "yes" to above, please explain how you would technically implement this
description: For example reference any existing code
validations:
required: false
- type: markdown
Expand Down
66 changes: 0 additions & 66 deletions .github/workflows/publish-ghcr.yml

This file was deleted.

43 changes: 0 additions & 43 deletions .github/workflows/vercel-pr-preview.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/vercel-preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
workflow_dispatch:
push:
branches:
- feat-middleware
- feat-custom-domain

jobs:
deploy:
Expand Down
24 changes: 12 additions & 12 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,45 +1,45 @@
# [2.84.0](https://github.com/EddieHubCommunity/BioDrop/compare/v2.83.19...v2.84.0) (2023-11-01)
## [2.85.4](https://github.com/EddieHubCommunity/BioDrop/compare/v2.85.3...v2.85.4) (2023-11-10)


### Features
### Bug Fixes

* admin list not enabled proiles ([#9709](https://github.com/EddieHubCommunity/BioDrop/issues/9709)) ([24bf515](https://github.com/EddieHubCommunity/BioDrop/commit/24bf5151222058841067311fa138c60dcd52ef05))
* markdown mdx dependencies by major version ([#9753](https://github.com/EddieHubCommunity/BioDrop/issues/9753)) ([697e547](https://github.com/EddieHubCommunity/BioDrop/commit/697e547e80df8721e3c24d116186d06d84795c25))



## [2.83.19](https://github.com/EddieHubCommunity/BioDrop/compare/v2.83.18...v2.83.19) (2023-11-01)
## [2.85.3](https://github.com/EddieHubCommunity/BioDrop/compare/v2.85.2...v2.85.3) (2023-11-10)


### Bug Fixes

* update dependencies ([#9639](https://github.com/EddieHubCommunity/BioDrop/issues/9639)) ([7518764](https://github.com/EddieHubCommunity/BioDrop/commit/7518764aa41133e8c5c959e7c5551b1a7dc881d9))
* profile settings domain ([#9758](https://github.com/EddieHubCommunity/BioDrop/issues/9758)) ([17d43e6](https://github.com/EddieHubCommunity/BioDrop/commit/17d43e6fb0095d96599e47f99e3a82a7b1840e9f))



## [2.83.18](https://github.com/EddieHubCommunity/BioDrop/compare/v2.83.17...v2.83.18) (2023-10-31)
## [2.85.2](https://github.com/EddieHubCommunity/BioDrop/compare/v2.85.1...v2.85.2) (2023-11-08)


### Bug Fixes

* typo in footer ([#9685](https://github.com/EddieHubCommunity/BioDrop/issues/9685)) ([e7541b4](https://github.com/EddieHubCommunity/BioDrop/commit/e7541b4fa61f943cdf0f8e33ba73ec7ac1d6bc1f))
* check custom domain first ([#9747](https://github.com/EddieHubCommunity/BioDrop/issues/9747)) ([2ce09be](https://github.com/EddieHubCommunity/BioDrop/commit/2ce09be20aca037b40549719a76cdc5d612574e7))



## [2.83.17](https://github.com/EddieHubCommunity/BioDrop/compare/v2.83.16...v2.83.17) (2023-10-31)
## [2.85.1](https://github.com/EddieHubCommunity/BioDrop/compare/v2.85.0...v2.85.1) (2023-11-08)


### Bug Fixes

* double border on input field in icons page ([#9663](https://github.com/EddieHubCommunity/BioDrop/issues/9663)) ([4f88584](https://github.com/EddieHubCommunity/BioDrop/commit/4f88584e72837e7daae9de66d2fe12b2f3fcacf0))
* heading strucuture fails WCAG 2.2AA ([#9631](https://github.com/EddieHubCommunity/BioDrop/issues/9631)) ([#9719](https://github.com/EddieHubCommunity/BioDrop/issues/9719)) ([ba6ea4f](https://github.com/EddieHubCommunity/BioDrop/commit/ba6ea4f0b2676ef72eb1abb907f55a6d3d5f750d)), closes [#9581](https://github.com/EddieHubCommunity/BioDrop/issues/9581) [#9581](https://github.com/EddieHubCommunity/BioDrop/issues/9581)



## [2.83.16](https://github.com/EddieHubCommunity/BioDrop/compare/v2.83.15...v2.83.16) (2023-10-30)
# [2.85.0](https://github.com/EddieHubCommunity/BioDrop/compare/v2.84.5...v2.85.0) (2023-11-08)


### Bug Fixes
### Features

* icon alignment issue in tabs ([#9681](https://github.com/EddieHubCommunity/BioDrop/issues/9681)) ([41a40f9](https://github.com/EddieHubCommunity/BioDrop/commit/41a40f9ad0ff9baeee286bd0a5d68291d983c39c))
* custom domain ([#9436](https://github.com/EddieHubCommunity/BioDrop/issues/9436)) ([5418e2b](https://github.com/EddieHubCommunity/BioDrop/commit/5418e2ba9489d8d3143d4601a6535f511fd36546))



21 changes: 11 additions & 10 deletions components/Button.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,22 @@ import Link from "./Link";

export default function Button({
primary = false,
disable,
disabled = false,
className,
overrideClassNames = false,
children,
...restProps
}) {
let defaultClassName =
"w-full inline-flex items-center flex-1 justify-center rounded-md border-2 border-primary-high dark:border-white hover:border-transparent px-5 py-3 text-base font-medium first-letter:bg-white transition duration-400 ease-in-out";
!disable
? (defaultClassName += primary
let defaultClassName = classNames(
"w-full inline-flex items-center flex-1 justify-center rounded-md border-2 border-primary-high dark:border-white hover:border-transparent px-5 py-3 text-base font-medium first-letter:bg-white transition duration-400 ease-in-out",
!disabled
? primary
? " text-primary-medium bg-secondary-medium hover:bg-tertiary-medium"
: " text-secondary-high dark:text-secondary-high-high hover:text-white dark:hover:text-white dark:bg-primary-low hover:bg-secondary-medium dark:hover:bg-secondary-medium")
: (defaultClassName += disable
? " border-2 border-red border shadow-sm bg-primary-low text-primary-medium cursor-not-allowed "
: " cursor-pointer");
: " text-secondary-high dark:text-secondary-high-high hover:text-white dark:hover:text-white dark:bg-primary-low hover:bg-secondary-medium dark:hover:bg-secondary-medium"
: disabled
? " border-2 border-red border shadow-sm bg-primary-low text-primary-medium cursor-not-allowed "
: " cursor-pointer",
);

const link = (
<Link
Expand All @@ -36,7 +37,7 @@ export default function Button({
className={
overrideClassNames ? className : classNames(defaultClassName, className)
}
disabled={disable}
disabled={disabled}
{...restProps}
>
{children}
Expand Down
4 changes: 2 additions & 2 deletions components/DataList.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ export default function DataList({ title, subtitle, data }) {
return (
<div>
<div className="px-4 sm:px-0">
<h3 className="text-base font-semibold leading-7 text-primary-high dark:text-primary-low">
<h2 className="text-base font-semibold leading-7 text-primary-high dark:text-primary-low">
{title}
</h3>
</h2>
<p className="mt-1 max-w-2xl text-sm leading-6 text-primary-high dark:text-primary-low">
{subtitle}
</p>
Expand Down
2 changes: 1 addition & 1 deletion components/Markdown.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { ReactMarkdown } from "react-markdown/lib/react-markdown";
import ReactMarkdown from "react-markdown";
import Link from "@components/Link";
import { classNames } from "@services/utils/classNames";

Expand Down
1 change: 1 addition & 0 deletions components/form/Input.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ const Input = forwardRef(
id={name}
name={name}
value={value}
disabled={disabled}
onKeyDown={handleKeydown}
{...restProps}
/>
Expand Down
13 changes: 13 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: "GitHub Repos with Forms",
href: "/docs/how-to-guides/repos-forms",
},
{
name: "Premium Features",
href: "/docs/how-to-guides/premium",
},
],
},
{
Expand Down Expand Up @@ -100,6 +104,15 @@ export const navigation = [
{ name: "Hacktoberfest", href: "/docs/contributing/hacktoberfest" },
],
},
{
name: "Premium",
// icon: ChartPieIcon,
children: [
{ name: "Auto", href: "/docs/premium/auto" },
{ name: "Customisation", href: "/docs/premium/customisation" },
{ name: "Custom Domain", href: "/docs/premium/domain" },
],
},
{
name: "Other",
// icon: ChartPieIcon,
Expand Down
2 changes: 1 addition & 1 deletion components/layouts/MultiLayout.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export default function MultiLayout({ settings, children }) {
<Navbar />
</>
)}
<main id="main" className="flex-1 dark:bg-dark-2 dark:z-10">
<main id="main" className="flex-1 dark:bg-dark-2 dark:z-40">
{children}
</main>
{(!settings ||
Expand Down
2 changes: 1 addition & 1 deletion components/navbar/Navbar.js
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ export default function Navbar() {
isOpen
? "transform translate-y-0 opacity-100"
: "transform -translate-y-96 opacity-0",
"md:hidden z-20 absolute t-0 bg-primary-medium transition-all duration-700 ease-in-out w-full",
"md:hidden dark:z-50 z-20 absolute t-0 bg-primary-medium transition-all duration-700 ease-in-out w-full",
)}
id="mobile-menu"
>
Expand Down
4 changes: 2 additions & 2 deletions components/user/UserHorizontal.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ export default function UserHorizontal({ profile, input }) {
/>
<div className="flex-1 wrap">
<div className="flex items-center space-x-3">
<h3 className="text-xl font-medium text-gray-900">
<h2 className="text-xl font-medium text-gray-900">
{profile.username}
</h3>
</h2>
</div>
<Markdown
disallowedElements={["a"]}
Expand Down
4 changes: 2 additions & 2 deletions components/user/UserLinks.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ export default function UserLinks({ BASE_URL, links, username }) {
key={name}
>
<div className="-ml-2 -mt-2 flex flex-wrap items-baseline">
<h3 className="ml-2 mt-2 text-lg font-medium leading-6 dark:text-primary-low text-primary-high">
<h2 className="ml-2 mt-2 text-lg font-medium leading-6 dark:text-primary-low text-primary-high">
{name}
</h3>
</h2>
<p className="ml-2 mt-1 truncate text-sm dark:text-primary-low-high text-primary-medium">
({buckets[name].length})
</p>
Expand Down
4 changes: 2 additions & 2 deletions components/user/UserMilestone.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,14 +36,14 @@ export default function UserMilestone({ milestone, isGoal, manage }) {
)}
<div className="flex-1 space-y-1">
<div className="flex items-center justify-between">
<h3
<h2
className={classNames(
isGoal && "opacity-70",
"text-sm font-medium",
)}
>
<span>{milestone.title}</span>
</h3>
</h2>
<p className={`text-sm flex gap-2 items-center ${colors}`}>
{date}
{milestone.url && (
Expand Down
4 changes: 2 additions & 2 deletions components/user/UserTestimonials.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ export default function UserTestimonials({ testimonials, BASE_URL }) {
/>
</div>
<div className="flex-1 p-6 sm:hidden">
<h3 className="font-medium dark:text-primary-medium-low text-primary-high">
<h2 className="font-medium dark:text-primary-medium-low text-primary-high">
{testimonial.title}
</h3>
</h2>
<Link
href={`${BASE_URL}/${testimonial.username}`}
target="_blank"
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": "2.84.0",
"version": "2.85.4",
"alerts": [],
"layouts": [
"classic",
Expand Down
3 changes: 3 additions & 0 deletions config/schemas/serverSchema.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ const envSchema = z.object({
NEXT_PUBLIC_VERCEL_ENV: z.string().optional(),
STRIPE_SECRET_KEY: z.string().optional(),
STRIPE_WEBHOOK_SECRET: z.string().optional(),
VERCEL_PROJECT_ID: z.string().optional(),
VERCEL_TEAM_ID: z.string().optional(),
VERCEL_AUTH_TOKEN: z.string().optional(),
});

const serverEnv = envSchema.safeParse(process.env);
Expand Down
Loading

0 comments on commit eac640c

Please sign in to comment.