Merge pull request #51 from ravixalgorithm/main
feat: embed Peerlist badge in README, Login, Sign-up, and Dashboard
This commit is contained in:
commit
10e8c1a261
|
|
@ -2,6 +2,13 @@
|
||||||
Checkout new amazing projects also, <a href="github.com/open-dev-society/openreadme" target="_blank">OpenReadme </a> is live
|
Checkout new amazing projects also, <a href="github.com/open-dev-society/openreadme" target="_blank">OpenReadme </a> is live
|
||||||
</div>
|
</div>
|
||||||
<a href="https://hellogithub.com/repository/Open-Dev-Society/OpenStock" target="_blank"><img src="https://abroad.hellogithub.com/v1/widgets/recommend.svg?rid=5c4337a9e2dd4a8ba8aba87a88f04b8b&claim_uid=07HezcXv9puSGKQ&theme=neutral" alt="Featured|HelloGitHub" style="width: 250px; height: 54px;" width="250" height="54" /></a>
|
<a href="https://hellogithub.com/repository/Open-Dev-Society/OpenStock" target="_blank"><img src="https://abroad.hellogithub.com/v1/widgets/recommend.svg?rid=5c4337a9e2dd4a8ba8aba87a88f04b8b&claim_uid=07HezcXv9puSGKQ&theme=neutral" alt="Featured|HelloGitHub" style="width: 250px; height: 54px;" width="250" height="54" /></a>
|
||||||
|
<a href="https://peerlist.io/ravixalgorithm/project/openstock" target="_blank" rel="noreferrer">
|
||||||
|
<img
|
||||||
|
src="https://peerlist.io/api/v1/projects/embed/PRJH8OED7MBL9MGB9HRMKAKLM66KNN?showUpvote=true&theme=light"
|
||||||
|
alt="OpenStock"
|
||||||
|
style="width: auto; height: 54px;"
|
||||||
|
/>
|
||||||
|
</a>
|
||||||
<div align="center">
|
<div align="center">
|
||||||
<br />
|
<br />
|
||||||
<a href="#" target="_blank">
|
<a href="#" target="_blank">
|
||||||
|
|
|
||||||
|
|
@ -4,10 +4,10 @@ import { useForm } from 'react-hook-form';
|
||||||
import { Button } from '@/components/ui/button';
|
import { Button } from '@/components/ui/button';
|
||||||
import InputField from '@/components/forms/InputField';
|
import InputField from '@/components/forms/InputField';
|
||||||
import FooterLink from '@/components/forms/FooterLink';
|
import FooterLink from '@/components/forms/FooterLink';
|
||||||
import {signInWithEmail, signUpWithEmail} from "@/lib/actions/auth.actions";
|
import { signInWithEmail, signUpWithEmail } from "@/lib/actions/auth.actions";
|
||||||
import {toast} from "sonner";
|
import { toast } from "sonner";
|
||||||
import {signInEmail} from "better-auth/api";
|
import { signInEmail } from "better-auth/api";
|
||||||
import {useRouter} from "next/navigation";
|
import { useRouter } from "next/navigation";
|
||||||
import OpenDevSocietyBranding from "@/components/OpenDevSocietyBranding";
|
import OpenDevSocietyBranding from "@/components/OpenDevSocietyBranding";
|
||||||
import React from "react";
|
import React from "react";
|
||||||
|
|
||||||
|
|
@ -78,7 +78,16 @@ const SignIn = () => {
|
||||||
</Button>
|
</Button>
|
||||||
|
|
||||||
<FooterLink text="Don't have an account?" linkText="Create an account" href="/sign-up" />
|
<FooterLink text="Don't have an account?" linkText="Create an account" href="/sign-up" />
|
||||||
<OpenDevSocietyBranding outerClassName="mt-10 flex justify-center"/>
|
<OpenDevSocietyBranding outerClassName="mt-10 flex justify-center" />
|
||||||
|
<div className="mt-5 flex justify-center">
|
||||||
|
<a href="https://peerlist.io/ravixalgorithm/project/openstock" target="_blank" rel="noreferrer">
|
||||||
|
<img
|
||||||
|
src="https://peerlist.io/api/v1/projects/embed/PRJH8OED7MBL9MGB9HRMKAKLM66KNN?showUpvote=true&theme=light"
|
||||||
|
alt="OpenStock"
|
||||||
|
style={{ width: 'auto', height: '72px' }}
|
||||||
|
/>
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
</form>
|
</form>
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
|
|
|
||||||
|
|
@ -1,15 +1,15 @@
|
||||||
'use client';
|
'use client';
|
||||||
|
|
||||||
import {useForm} from "react-hook-form";
|
import { useForm } from "react-hook-form";
|
||||||
import {Button} from "@/components/ui/button";
|
import { Button } from "@/components/ui/button";
|
||||||
import InputField from "@/components/forms/InputField";
|
import InputField from "@/components/forms/InputField";
|
||||||
import SelectField from "@/components/forms/SelectField";
|
import SelectField from "@/components/forms/SelectField";
|
||||||
import {INVESTMENT_GOALS, PREFERRED_INDUSTRIES, RISK_TOLERANCE_OPTIONS} from "@/lib/constants";
|
import { INVESTMENT_GOALS, PREFERRED_INDUSTRIES, RISK_TOLERANCE_OPTIONS } from "@/lib/constants";
|
||||||
import {CountrySelectField} from "@/components/forms/CountrySelectField";
|
import { CountrySelectField } from "@/components/forms/CountrySelectField";
|
||||||
import FooterLink from "@/components/forms/FooterLink";
|
import FooterLink from "@/components/forms/FooterLink";
|
||||||
import {signUpWithEmail} from "@/lib/actions/auth.actions";
|
import { signUpWithEmail } from "@/lib/actions/auth.actions";
|
||||||
import {useRouter} from "next/navigation";
|
import { useRouter } from "next/navigation";
|
||||||
import {toast} from "sonner";
|
import { toast } from "sonner";
|
||||||
import OpenDevSocietyBranding from "@/components/OpenDevSocietyBranding";
|
import OpenDevSocietyBranding from "@/components/OpenDevSocietyBranding";
|
||||||
import React from "react";
|
import React from "react";
|
||||||
|
|
||||||
|
|
@ -31,7 +31,7 @@ const SignUp = () => {
|
||||||
preferredIndustry: 'Technology'
|
preferredIndustry: 'Technology'
|
||||||
},
|
},
|
||||||
mode: 'onBlur'
|
mode: 'onBlur'
|
||||||
}, );
|
},);
|
||||||
|
|
||||||
const onSubmit = async (data: SignUpFormData) => {
|
const onSubmit = async (data: SignUpFormData) => {
|
||||||
try {
|
try {
|
||||||
|
|
@ -134,7 +134,16 @@ const SignUp = () => {
|
||||||
|
|
||||||
<FooterLink text="Already have an account?" linkText="Sign in" href="/sign-in" />
|
<FooterLink text="Already have an account?" linkText="Sign in" href="/sign-in" />
|
||||||
|
|
||||||
<OpenDevSocietyBranding outerClassName="mt-10 flex justify-center"/>
|
<OpenDevSocietyBranding outerClassName="mt-10 flex justify-center" />
|
||||||
|
<div className="mt-5 flex justify-center">
|
||||||
|
<a href="https://peerlist.io/ravixalgorithm/project/openstock" target="_blank" rel="noreferrer">
|
||||||
|
<img
|
||||||
|
src="https://peerlist.io/api/v1/projects/embed/PRJH8OED7MBL9MGB9HRMKAKLM66KNN?showUpvote=true&theme=light"
|
||||||
|
alt="OpenStock"
|
||||||
|
style={{ width: 'auto', height: '72px' }}
|
||||||
|
/>
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
</form>
|
</form>
|
||||||
</>
|
</>
|
||||||
)
|
)
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,6 @@ import {
|
||||||
MARKET_OVERVIEW_WIDGET_CONFIG,
|
MARKET_OVERVIEW_WIDGET_CONFIG,
|
||||||
TOP_STORIES_WIDGET_CONFIG
|
TOP_STORIES_WIDGET_CONFIG
|
||||||
} from "@/lib/constants";
|
} from "@/lib/constants";
|
||||||
import {sendDailyNewsSummary} from "@/lib/inngest/functions";
|
|
||||||
|
|
||||||
const Home = () => {
|
const Home = () => {
|
||||||
const scriptUrl = `https://s3.tradingview.com/external-embedding/embed-widget-`;
|
const scriptUrl = `https://s3.tradingview.com/external-embedding/embed-widget-`;
|
||||||
|
|
@ -48,6 +47,16 @@ const Home = () => {
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</section>
|
</section>
|
||||||
|
<div className="w-full flex flex-col items-center justify-center mt-8 gap-4">
|
||||||
|
<h2 className="text-xl font-semibold text-gray-200">Upvote us on Peerlist 🚀</h2>
|
||||||
|
<a href="https://peerlist.io/ravixalgorithm/project/openstock" target="_blank" rel="noreferrer">
|
||||||
|
<img
|
||||||
|
src="https://peerlist.io/api/v1/projects/embed/PRJH8OED7MBL9MGB9HRMKAKLM66KNN?showUpvote=true&theme=light"
|
||||||
|
alt="OpenStock"
|
||||||
|
style={{ width: "auto", height: "72px" }}
|
||||||
|
/>
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue