-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* [DEV-41] add auto migration to envs (#26) * chore: updated .env.example * chore: added vscode extensions recommendations * chore: updated dependencies * chore: updated README * chore: updated dependencies * chore: moved tailwind import to js * chore: added tests to env variables * chore: added env vault config * chore: work on workflows * chore: updated bun lock * chore: updated dependencies * chore: force build step to bundle env * chore: force build step to bundle env * chore: updated dotenv-vault * feat: bumped vault version * chore: I give up on dotenv-vault * chore: removed vault from workflow * chore: updated envs to work on both states * [DEV-54] repository enhancements and utilities package (#29) * chore: upgraded dependencies * feat: added banner to readme * feat: added code of conduct * feat: added contributing guide * test: move md files to github dir * chore: renamed contributing to github standard * feat: added screenshot to readme * chore: updaded pr template * feat: added bug report issue template * feat: added base shared package * chore: moved api to js export * feat: finished api integration * chore: updated dependencies * chore: updated dependencies * feat: moved service and api to shared lib * chore: enhanced tests * feat: added tests * chore: added type tests to CICD * feat: added api tests * feat: added test type entry * chore: removed prisma ads * [DEV-12] Enhance profile creation page (#30) * chore: removed prisma ads * fix: 404 thrown on non localized pages * fix: missing textures on cards * feat: refactored profile form * feat: enhanced legal documents * feat: enhanced footer * chore: disabled prefetch * chore: enhanced app metadata * chore: enhanced app metadata * chore: enhanced app metadata * chore: enhanced app metadata * chore: enhanced not found page * chore: enhanced app metadata * fix: link inserting locale * chore: minor style fixes
- Loading branch information
1 parent
38d5004
commit 4904f65
Showing
30 changed files
with
516 additions
and
210 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
import { Link } from "@/lib/navigation"; | ||
import { cn } from "@repo/ds/utils"; | ||
import { env } from "@repo/env"; | ||
import { MailIcon } from "lucide-react"; | ||
import { useTranslations } from "next-intl"; | ||
import Image from "next/image"; | ||
|
||
|
@@ -14,42 +15,119 @@ export default function Footer(props: Props) { | |
return ( | ||
<footer | ||
className={cn( | ||
"w-full flex flex-col flex-wrap sm:flex-row text-center gap-4 justify-evenly items-center py-4 px-2", | ||
"w-full flex flex-col flex-wrap gap-4 justify-evenly items-center py-4 px-2", | ||
props.className, | ||
)} | ||
> | ||
<Link href="/" className="text-slate-900 text-base font-normal"> | ||
© {new Date().getFullYear()} {env.APP_NAME}. {t("rights")} | ||
</Link> | ||
<div className="flex flex-col md:flex-row text-center md:text-left container mx-auto gap-8"> | ||
<div className="flex flex-col w-full md:w-1/4"> | ||
<Link | ||
href="/" | ||
prefetch={false} | ||
className="flex justify-center md:justify-start text-xl gap-2 text-primary font-bold mb-4" | ||
aria-label="home" | ||
> | ||
<Image | ||
src="/images/logo/favicon.svg" | ||
alt="" | ||
width={16} | ||
height={16} | ||
/> | ||
|
||
<Link href="/"> | ||
<Image src="/images/logo/favicon.svg" alt="" width={40} height={40} /> | ||
</Link> | ||
{env.APP_NAME} | ||
</Link> | ||
|
||
<Link href="https://www.instagram.com/sharedway_org/" target="_blank"> | ||
<Image | ||
src="/images/brands/instagram.svg" | ||
alt="" | ||
width={40} | ||
height={40} | ||
/> | ||
</Link> | ||
<p>{t("description")}</p> | ||
</div> | ||
|
||
<div className="flex flex-col w-full md:w-1/4"> | ||
<h2 className="font-bold mb-4">Home</h2> | ||
|
||
<ul className="flex flex-col gap-2"> | ||
<li> | ||
<Link prefetch={false} href="/"> | ||
{t("landing")} | ||
</Link> | ||
</li> | ||
<li> | ||
<Link prefetch={false} href="/profiles"> | ||
{t("search")} | ||
</Link> | ||
</li> | ||
<li> | ||
<Link href="/profiles/new">{t("new")}</Link> | ||
</li> | ||
</ul> | ||
</div> | ||
|
||
<div className="flex flex-col w-full md:w-1/4"> | ||
<h2 className="font-bold mb-4">Legal</h2> | ||
|
||
<div className="flex gap-4"> | ||
<Image | ||
src="/images/screenshots/app_store.png" | ||
alt="" | ||
width={120} | ||
height={40} | ||
/> | ||
<Image | ||
src="/images/screenshots/play_store.png" | ||
alt="" | ||
width={120} | ||
height={40} | ||
className="opacity-50" | ||
/> | ||
<ul className="flex flex-col gap-2"> | ||
<li> | ||
<Link prefetch={false} href="/legal/usage"> | ||
{t("usage")} | ||
</Link> | ||
</li> | ||
<li> | ||
<Link prefetch={false} href="/legal/privacy"> | ||
{t("privacy")} | ||
</Link> | ||
</li> | ||
</ul> | ||
</div> | ||
|
||
<div className="flex flex-col w-full md:w-1/4 gap-2"> | ||
<h2 className="font-bold mb-2">{t("contact")}</h2> | ||
|
||
<Link | ||
prefetch={false} | ||
href="https://www.instagram.com/sharedway_org/" | ||
target="_blank" | ||
className="flex gap-2" | ||
aria-label="instagram" | ||
> | ||
<Image | ||
src="/images/brands/instagram.svg" | ||
alt="" | ||
width={16} | ||
height={16} | ||
/> | ||
</Link> | ||
|
||
<a | ||
href="mail:[email protected]" | ||
className="flex gap-2 items-center" | ||
> | ||
<MailIcon size={16} /> [email protected] | ||
</a> | ||
|
||
<div className="flex gap-2"> | ||
<Image | ||
src="/images/screenshots/app_store.png" | ||
alt="" | ||
width={136} | ||
height={40} | ||
/> | ||
<Image | ||
src="/images/screenshots/play_store.png" | ||
alt="" | ||
width={136} | ||
height={40} | ||
className="opacity-50" | ||
/> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
<Link | ||
href="/" | ||
prefetch={false} | ||
className="text-slate-900 text-base font-normal w-full text-center mt-4" | ||
> | ||
© {new Date().getFullYear()} {env.APP_NAME}. {t("rights")} | ||
</Link> | ||
</footer> | ||
); | ||
} |
Oops, something went wrong.