Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
project_ss23_gameunity
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
Yusuf Akgül
project_ss23_gameunity
Commits
9fe220f7
Commit
9fe220f7
authored
1 year ago
by
Yusuf Akgül
Browse files
Options
Downloads
Patches
Plain Diff
small changes in env and ui
parent
354978f5
No related branches found
No related tags found
1 merge request
!34
Testing
Pipeline
#38856
passed
1 year ago
Stage: build
Stage: test
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.env.example
+9
-9
9 additions, 9 deletions
.env.example
components/gweets/components/gweet-actions.tsx
+1
-1
1 addition, 1 deletion
components/gweets/components/gweet-actions.tsx
components/gweets/components/gweet-options.tsx
+1
-1
1 addition, 1 deletion
components/gweets/components/gweet-options.tsx
with
11 additions
and
11 deletions
.env.example
+
9
−
9
View file @
9fe220f7
...
...
@@ -3,12 +3,12 @@
# Public App URL
NEXT_PUBLIC_APP_URL="http://localhost:3000"
# Database for connecting to Prisma
DATABASE_URL="
file:./dev.db
"
#
PostgreSQL
Database for connecting to Prisma
DATABASE_URL="
postgresql://janedoe:mypassword@localhost:5432/mydb?schema=sample
"
#
Database for connecting to Sup
abase for media
NEXT_PUBLIC_SUPABASE_URL="YOUR_SUPABASE_URL
"
NEXT_PUBLIC_SUPABASE_ANON_KEY="YOUR_SUPABASE_ANON_KEY
"
#
Uploadthing Object Dat
abase for media
storage
UPLOADTHING_SECRET="uploadthing_secret
"
UPLOADTHING_APP_ID="uploadthing_app_id
"
# URLs
TWITCH_AUTH_BASE_URL="https://id.twitch.tv/oauth2"
...
...
@@ -16,12 +16,12 @@ IGDB_BASE_URL="https://api.igdb.com/v4"
IGDB_IMG_BASE_URL="https://images.igdb.com/igdb/image/upload"
# For Twitch Auth to fetch access token
TWITCH_CLIENT_ID="
imdb
_client_id"
TWITCH_CLIENT_SECRET="
imdb_auth_id
"
TWITCH_CLIENT_ID="
twitch
_client_id"
TWITCH_CLIENT_SECRET="
twitch_client_secret
"
# For NextAuth
// use `openssl rand -base64 32` to generate a secret
# For NextAuth
NEXTAUTH_URL="http://localhost:3000"
NEXTAUTH_SECRET="secret"
NEXTAUTH_SECRET="
nextauth_
secret"
# For Github Auth
GITHUB_CLIENT_ID="github_client_id"
...
...
This diff is collapsed.
Click to expand it.
components/gweets/components/gweet-actions.tsx
+
1
−
1
View file @
9fe220f7
...
...
@@ -10,7 +10,7 @@ export const GweetActions = ({
gweet
:
IGweet
;
})
=>
{
return
(
<
div
className
=
"space-x-12 w-6
0
"
>
<
div
className
=
"space-x-12 w-6
4
"
>
<
CommentButton
gweet
=
{
gweet
}
/>
<
RegweetButton
gweet
=
{
gweet
}
/>
<
LikeButton
gweet
=
{
gweet
}
/>
...
...
This diff is collapsed.
Click to expand it.
components/gweets/components/gweet-options.tsx
+
1
−
1
View file @
9fe220f7
...
...
@@ -36,7 +36,7 @@ export const GweetOptions = ({ gweet }: { gweet: IGweet }) => {
}
}
const
url
=
getURL
(
`/status/
${
gweet
?.
id
}
`
);
const
url
=
getURL
(
`/
${
gweet
?.
author
.
username
}
/
status/
${
gweet
?.
id
}
`
);
return
(
<
DropdownMenu
open
=
{
dropdownOpen
}
onOpenChange
=
{
setDropdownOpen
}
>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment