mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-08 10:28:00 +00:00
Fix the start guide redirect issue
This commit is contained in:
@@ -90,7 +90,7 @@ const INTEGRATION_OPTIONS = [
|
|||||||
name: 'Fly.io',
|
name: 'Fly.io',
|
||||||
slug: 'flyio',
|
slug: 'flyio',
|
||||||
image: 'Flyio.svg',
|
image: 'Flyio.svg',
|
||||||
isAvailable: true,
|
isAvailable: false,
|
||||||
type: 'pat',
|
type: 'pat',
|
||||||
clientId: '',
|
clientId: '',
|
||||||
docsLink: ''
|
docsLink: ''
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
import { useEffect, useState } from 'react';
|
import { useEffect, useState } from 'react';
|
||||||
import Link from 'next/link';
|
|
||||||
import { useRouter } from 'next/router';
|
import { useRouter } from 'next/router';
|
||||||
import { IconProp } from '@fortawesome/fontawesome-svg-core';
|
import { IconProp } from '@fortawesome/fontawesome-svg-core';
|
||||||
import { faSlack } from '@fortawesome/free-brands-svg-icons';
|
import { faSlack } from '@fortawesome/free-brands-svg-icons';
|
||||||
@@ -40,12 +39,11 @@ const learningItem = ({
|
|||||||
}: ItemProps): JSX.Element => {
|
}: ItemProps): JSX.Element => {
|
||||||
if (link) {
|
if (link) {
|
||||||
return (
|
return (
|
||||||
<Link href={link}>
|
|
||||||
<a
|
<a
|
||||||
target={`${link.includes('https') ? '_blank' : '_self'}`}
|
target={`${link.includes('https') ? '_blank' : '_self'}`}
|
||||||
rel="noopener noreferrer"
|
rel="noopener noreferrer"
|
||||||
className="w-full"
|
className="w-full"
|
||||||
href="#"
|
href={link}
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
onKeyDown={() => null}
|
onKeyDown={() => null}
|
||||||
@@ -80,7 +78,6 @@ const learningItem = ({
|
|||||||
{complete && <div className="absolute bottom-0 left-0 h-1 w-full bg-green" />}
|
{complete && <div className="absolute bottom-0 left-0 h-1 w-full bg-green" />}
|
||||||
</div>
|
</div>
|
||||||
</a>
|
</a>
|
||||||
</Link>
|
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
return (
|
return (
|
||||||
@@ -157,7 +154,7 @@ export default function Home() {
|
|||||||
icon: faHandPeace,
|
icon: faHandPeace,
|
||||||
time: '3 min',
|
time: '3 min',
|
||||||
userAction: 'intro_cta_clicked',
|
userAction: 'intro_cta_clicked',
|
||||||
link: 'https://www.youtube.com/watch?v=JS3OKYU2078'
|
link: 'https://www.youtube.com/watch?v=3F7FNYX94zA'
|
||||||
})}
|
})}
|
||||||
{learningItem({
|
{learningItem({
|
||||||
text: 'Add your secrets',
|
text: 'Add your secrets',
|
||||||
|
|||||||
Reference in New Issue
Block a user