Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate to wellup fyi #2

Merged
merged 2 commits into from
Sep 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions .idea/.gitignore

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 12 additions & 0 deletions .idea/gigachad-relay-nextjs.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/inspectionProfiles/Project_Default.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions .idea/modules.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/vcs.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1,914 changes: 957 additions & 957 deletions .pnp.cjs

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ RUN yarn --immutable

# Rebuild the source code only when needed
FROM base AS builder
ARG NEXT_PUBLIC_SIGN_S3_URL=https://api.gigachad.buzz/v1/tokens/sign-s3
ARG NEXT_PUBLIC_FRONTEND_URL=https://gigachad.buzz
ARG NEXT_PUBLIC_BACKEND_URL=https://api.gigachad.buzz
ARG NEXT_PUBLIC_SIGN_S3_URL=https://api.wellup.fyi/v1/tokens/sign-s3
ARG NEXT_PUBLIC_FRONTEND_URL=https://wellup.fyi
ARG NEXT_PUBLIC_BACKEND_URL=https://api.wellup.fyi
WORKDIR /app
COPY --from=deps /app/node_modules ./node_modules
COPY --from=deps /app/.yarnrc.yml ./.yarnrc.yml
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
## gigachad.buzz
## wellup.fyi

A Fitness tracking app built with NextJS, Relay and GO.

This is a frontend codebase of gigachad.buzz for the backend codebase you can visit this [link](https://github.com/sahidrahman404/gigachad-api)
This is a frontend codebase of wellup.fyi for the backend codebase you can visit this [link](https://github.com/sahidrahman404/gigachad-api)
4 changes: 2 additions & 2 deletions src/components/Exercises/AddExerciseForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -171,10 +171,10 @@ function AddExerciseForm({
className="grid grid-cols-4 gap-x-1 gap-y-2"
>
<Head>
<title>Add Exercise - Gigachad</title>
<title>Add Exercise - Wellup</title>
<meta
property="og:title"
content="Add Exercise - Gigachad"
content="Add Exercise - Wellup"
key="title"
/>
</Head>
Expand Down
4 changes: 2 additions & 2 deletions src/components/Exercises/EditExerciseForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -162,10 +162,10 @@ function EditExerciseForm({
className="grid grid-cols-4 gap-x-1 gap-y-2"
>
<Head>
<title>Edit Exercise - Gigachad</title>
<title>Edit Exercise - Wellup</title>
<meta
property="og:title"
content="Edit Exercise - Gigachad"
content="Edit Exercise - Wellup"
key="title"
/>
</Head>
Expand Down
4 changes: 2 additions & 2 deletions src/components/Exercises/Exercise.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,10 @@ function Exercise({ queryRef }: ExerciseProps) {
return (
<div className="space-y-4">
<Head>
<title>{data.name} - Gigachad</title>
<title>{data.name} - Wellup</title>
<meta
property="og:title"
content={`${data.name} - Gigachad`}
content={`${data.name} - Wellup`}
key="title"
/>
</Head>
Expand Down
4 changes: 2 additions & 2 deletions src/components/Exercises/Exercises.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -119,10 +119,10 @@ function Exercises({ queryRef, className }: ExercisesProps) {
<ExercisesData.Provider value={query.viewer}>
<div className="space-y-4">
<Head>
<title>Exercises - Gigachad</title>
<title>Exercises - Wellup</title>
<meta
property="og:title"
content="Exercises - Gigachad"
content="Exercises - Wellup"
key="title"
/>
</Head>
Expand Down
4 changes: 2 additions & 2 deletions src/components/Exercises/ExercisesEmptyState.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ function ExercisesEmptyState({
return (
<div>
<Head>
<title>Exercises - Gigachad</title>
<meta property="og:title" content="Exercises - Gigachad" key="title" />
<title>Exercises - Wellup</title>
<meta property="og:title" content="Exercises - Wellup" key="title" />
</Head>
{SlotExercisesFilterSort}
<div className="flex flex-col items-center gap-y-4 mt-10">
Expand Down
2 changes: 1 addition & 1 deletion src/components/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ function Header() {
href="/"
className="hidden w-10 h-10 md:flex items-center space-x-2"
>
<span className="font-bold">Gigachad</span>
<span className="font-bold">Wellup</span>
</Logo>
<MobileNav />
</div>
Expand Down
4 changes: 2 additions & 2 deletions src/components/Logs/Log.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,10 @@ function Log({ queryRef }: { queryRef: LogFragment$key }) {
return (
<div className="space-y-3">
<Head>
<title>{data.name} - Gigachad</title>
<title>{data.name} - Wellup</title>
<meta
property="og:title"
content={`${data.name} - Gigachad`}
content={`${data.name} - Wellup`}
key="title"
/>
</Head>
Expand Down
4 changes: 2 additions & 2 deletions src/components/Logs/Logs.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@ function Logs({ queryRef }: { queryRef: LogsFragment$key }) {
return (
<div className="space-y-4">
<Head>
<title>Logs - Gigachad</title>
<meta property="og:title" content="Logs - Gigachad" key="title" />
<title>Logs - Wellup</title>
<meta property="og:title" content="Logs - Wellup" key="title" />
</Head>
{data.workouts.edges?.map((log) => {
if (log?.node) {
Expand Down
4 changes: 2 additions & 2 deletions src/components/Logs/LogsEmptyState.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ function LogsEmptyState() {
return (
<div>
<Head>
<title>Logs - Gigachad</title>
<meta property="og:title" content="Logs - Gigachad" key="title" />
<title>Logs - Wellup</title>
<meta property="og:title" content="Logs - Wellup" key="title" />
</Head>
<div className="flex flex-col items-center gap-y-4 mt-10">
<Notebook size={48} strokeWidth={1} />
Expand Down
2 changes: 1 addition & 1 deletion src/components/MobileNav.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ function MobileNav() {
</SheetTrigger>
<SheetContent side="left" className="pr-0 space-y-4">
<Logo href="/" className="w-10 h-10 flex items-center space-x-2">
<span className="font-bold">Gigachad</span>
<span className="font-bold">Wellup</span>
</Logo>
<div className="flex flex-col space-y-3">
{sidebarConfig.map((sc) => {
Expand Down
4 changes: 2 additions & 2 deletions src/components/Routines/AddRoutineForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -121,10 +121,10 @@ function AddRoutineForm({ queryRef }: AddRoutineFormProps) {
return (
<Form {...form}>
<Head>
<title>Add Routine - Gigachad</title>
<title>Add Routine - Wellup</title>
<meta
property="og:title"
content="Add Routine - Gigachad"
content="Add Routine - Wellup"
key="title"
/>
</Head>
Expand Down
4 changes: 2 additions & 2 deletions src/components/Routines/EditRoutineForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -136,10 +136,10 @@ function EditRoutineForm({ queryRef, routineQueryRef }: EditRoutineFormProps) {
className="grid grid-cols-4 gap-y-3"
>
<Head>
<title>Edit Routine - Gigachad</title>
<title>Edit Routine - Wellup</title>
<meta
property="og:title"
content="Edit Routine - Gigachad"
content="Edit Routine - Wellup"
key="title"
/>
</Head>
Expand Down
4 changes: 2 additions & 2 deletions src/components/Routines/Routines.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,8 @@ function Routines({ queryRef }: RoutinesProps) {
<RoutinesData.Provider value={queryRef}>
<div className="space-y-4">
<Head>
<title>Routines - Gigachad</title>
<meta property="og:title" content="Routines - Gigachad" key="title" />
<title>Routines - Wellup</title>
<meta property="og:title" content="Routines - Wellup" key="title" />
</Head>
<LinkButton href={"/dashboard/routines/add"}>New Routine</LinkButton>
{data.routines.edges?.map((routine) => {
Expand Down
4 changes: 2 additions & 2 deletions src/components/Routines/RoutinesEmptyState.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ function RoutinesEmptyState({ queryRef }: RoutinesEmptyStateProps) {
return (
<div>
<Head>
<title>Routines - Gigachad</title>
<meta property="og:title" content="Routines - Gigachad" key="title" />
<title>Routines - Wellup</title>
<meta property="og:title" content="Routines - Wellup" key="title" />
</Head>
<div className="flex flex-col items-center gap-y-4 mt-10">
<FolderPlus size={48} strokeWidth={1} />
Expand Down
4 changes: 2 additions & 2 deletions src/components/Workouts/FinishWorkoutForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -184,10 +184,10 @@ function FinishWorkoutForm() {
className="grid grid-cols-4 gap-y-3"
>
<Head>
<title>{workoutContext.name} - Gigachad</title>
<title>{workoutContext.name} - Wellup</title>
<meta
property="og:title"
content={`${workoutContext.name} - Gigachad`}
content={`${workoutContext.name} - Wellup`}
key="title"
/>
</Head>
Expand Down
4 changes: 2 additions & 2 deletions src/components/Workouts/StartWorkoutForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -118,10 +118,10 @@ function StartWorkoutForm({ queryRef, unit }: StartWorkoutFormProps) {
className="grid grid-cols-4 gap-y-3"
>
<Head>
<title>{data.name} - Gigachad</title>
<title>{data.name} - Wellup</title>
<meta
property="og:title"
content={`${data.name} - Gigachad`}
content={`${data.name} - Wellup`}
key="title"
/>
</Head>
Expand Down
4 changes: 2 additions & 2 deletions src/components/auth/ForgotPasswordForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -78,10 +78,10 @@ export default function ForgotPasswordForm() {
return (
<div className="mx-auto w-full max-w-sm lg:w-96">
<Head>
<title>Forgot Password - Gigachad</title>
<title>Forgot Password - Wellup</title>
<meta
property="og:title"
content="Forgot Password - Gigachad"
content="Forgot Password - Wellup"
key="title"
/>
</Head>
Expand Down
4 changes: 2 additions & 2 deletions src/components/auth/ResendTokenForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -78,10 +78,10 @@ export default function ResendTokenForm() {
return (
<div className="mx-auto w-full max-w-sm lg:w-96">
<Head>
<title>Resend Token - Gigachad</title>
<title>Resend Token - Wellup</title>
<meta
property="og:title"
content="Resend Token - Gigachad"
content="Resend Token - Wellup"
key="title"
/>
</Head>
Expand Down
4 changes: 2 additions & 2 deletions src/components/auth/ResetPasswordForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -92,10 +92,10 @@ export default function ResetPasswordForm() {
return (
<div className="mx-auto w-full max-w-sm lg:w-96">
<Head>
<title>Reset Password - Gigachad</title>
<title>Reset Password - Wellup</title>
<meta
property="og:title"
content="Reset Password - Gigachad"
content="Reset Password - Wellup"
key="title"
/>
</Head>
Expand Down
4 changes: 2 additions & 2 deletions src/components/auth/SigninForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,8 @@ export default function SigninFrom() {
return (
<div className="mx-auto w-full max-w-sm lg:w-96">
<Head>
<title>Sign In - Gigachad</title>
<meta property="og:title" content="Sign In - Gigachad" key="title" />
<title>Sign In - Wellup</title>
<meta property="og:title" content="Sign In - Wellup" key="title" />
</Head>
<div>
<Logo href="/" />
Expand Down
4 changes: 2 additions & 2 deletions src/components/auth/SignupForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,8 @@ export default function SignupForm() {
return (
<div className="mx-auto w-full max-w-sm lg:w-96">
<Head>
<title>Sign Up - Gigachad</title>
<meta property="og:title" content="Sign Up - Gigachad" key="title" />
<title>Sign Up - Wellup</title>
<meta property="og:title" content="Sign Up - Wellup" key="title" />
</Head>
<div>
<Logo href="/" />
Expand Down
8 changes: 4 additions & 4 deletions src/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,17 +16,17 @@ function MarketingPage({ preloadedQuery }: RelayProps<{}, session_Query>) {
return (
<div className="max-w-[85rem] mx-auto px-4 sm:px-6 lg:px-8 mt-8">
<Head>
<title>Gigachad</title>
<meta property="og:title" content="Gigachad" key="title" />
<title>Wellup</title>
<meta property="og:title" content="Wellup" key="title" />
</Head>
<div className="grid md:grid-cols-2 gap-4 md:gap-8 xl:gap-20 md:items-center">
<div>
<Logo href="/" />
<h1 className="mt-8 block text-3xl font-bold text-secondary-foreground sm:text-4xl lg:text-6xl lg:leading-tight">
Lets get healthy with <span className="text-primary">Gigachad</span>
Lets get healthy with <span className="text-primary">Wellup</span>
</h1>
<p className="mt-3 text-lg text-muted-foreground">
Say goodbye to generic workout plans! With Gigachad you can easily
Say goodbye to generic workout plans! With Wellup you can easily
create personalized workout programs tailored to your specific needs
and fitness level.
</p>
Expand Down