Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
Scenarioswebapp
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
TokaKaram
Scenarioswebapp
Commits
d941aa09
Commit
d941aa09
authored
Jan 11, 2026
by
TokaKaram
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
change title color
parent
f88ef1a8
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
captain-definition
captain-definition
+5
-5
QuizList.jsx
frontend/src/components/Quiz/QuizList.jsx
+1
-1
No files found.
captain-definition
View file @
d941aa09
{
"schemaVersion": 2,
"dockerfileLines": [
"FROM node:22-alpine",
"FROM node:22-alpine
AS build-step
",
"WORKDIR /app",
"COPY . .",
"RUN cd
backend && npm install --production
",
"
ENV PORT=5000
",
"
EXPOSE 5000
",
"
CMD [\"sh\", \"-c\", \"cd backend && node server.js\"]
"
"RUN cd
frontend && npm install && npm run build
",
"
FROM socialengine/nginx-spa:latest
",
"
COPY --from=build-step /app/frontend/dist /app
",
"
RUN chmod -R 777 /app
"
]
}
\ No newline at end of file
frontend/src/components/Quiz/QuizList.jsx
View file @
d941aa09
...
...
@@ -24,7 +24,7 @@ export default function QuizList() {
{
quizzes
.
map
(
quiz
=>
(
<
div
key=
{
quiz
.
id
}
className=
"bg-white rounded-xl shadow-lg overflow-hidden card-hover"
>
<
div
className=
"gradient-bg p-6"
>
<
h2
className=
"text-xl font-bold text-
white
"
>
{
quiz
.
title
}
</
h2
>
<
h2
className=
"text-xl font-bold text-
black
"
>
{
quiz
.
title
}
</
h2
>
</
div
>
<
div
className=
"p-6"
>
<
p
className=
"text-gray-600 mb-4"
>
{
quiz
.
description
}
</
p
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment