diff --git a/Dockerfile b/Dockerfile deleted file mode 100644 index 9713eda..0000000 --- a/Dockerfile +++ /dev/null @@ -1,11 +0,0 @@ -FROM node:20.10.0 - -WORKDIR /app -COPY . . - -RUN npm install --force -RUN npm run build - -EXPOSE 6080 - -CMD ["npm", "run", "start"] diff --git a/components/Footer.jsx b/components/Footer.jsx index 4a08441..4a1a721 100644 --- a/components/Footer.jsx +++ b/components/Footer.jsx @@ -13,6 +13,7 @@ export function Footer() { {t('navigation.features')} {t('navigation.download')} {t('navigation.community')} + {t('navigation.join')} {t('navigation.blog')} {t('navigation.team')} {t('footer.privacyPolicy')} diff --git a/components/Navbar.jsx b/components/Navbar.jsx index bbce7ba..623854c 100644 --- a/components/Navbar.jsx +++ b/components/Navbar.jsx @@ -9,12 +9,10 @@ export function Navbar() { return (
-
+ Parch Logo - - {t('home.title')} - -
+ {t('home.title')} +
{category.links.map(link => ( - +
{link.text[lang]} diff --git a/pages/features.jsx b/pages/features.jsx index bdff942..fd149b5 100644 --- a/pages/features.jsx +++ b/pages/features.jsx @@ -15,7 +15,7 @@ export default function Features() {
{ features.map(({ title, desc, icon: Icon }) => ( - +

{title[lang]}

diff --git a/pages/join.jsx b/pages/join.jsx new file mode 100644 index 0000000..0066341 --- /dev/null +++ b/pages/join.jsx @@ -0,0 +1,67 @@ +import { Card, CardContent, CardHeader, CardTitle } from "@/components/ui/card" +import { useTranslation } from "@/utils/translation" +import { Users, Book, MessageCircle, Code, ArrowLeftCircle, ArrowRightCircle } from 'lucide-react' +import { Button } from "@/components/ui/button" +import Link from "next/link" +import { SiBluesky, SiDiscord, SiMastodon, SiTelegram, SiX } from "@icons-pack/react-simple-icons"; + +const JoinCard = ({ icon: Icon, caption, link, text, url, arrow: Arrow }) => ( + + +
+ + + {caption} + + +
+
+ {text} +
+) + +export default function Join() { + const { t, lang } = useTranslation(); + + const arrow = lang == 'fa' ? ArrowLeftCircle : ArrowRightCircle + + return ( +
+
+

{t('join.title')}

+
+ + + + +
+
+
+ ) +} diff --git a/pages/team.jsx b/pages/team.jsx index be3d216..dd77de8 100644 --- a/pages/team.jsx +++ b/pages/team.jsx @@ -17,7 +17,7 @@ export default function Team() {
{team.map(member => ( - +