This commit is contained in:
@@ -21,5 +21,4 @@ jobs:
|
||||
|
||||
- name: Build and restart containers
|
||||
run: |
|
||||
docker compose pull
|
||||
docker compose up -d --build
|
||||
docker compose up -d
|
||||
@@ -34,7 +34,7 @@ ENV NEXT_TELEMETRY_DISABLED=1
|
||||
RUN adduser --system --uid 1001 nextjs
|
||||
|
||||
COPY --from=builder /app/public ./public
|
||||
|
||||
COPY --from=builder /app/messages ./messages
|
||||
# Set the correct permission for prerender cache
|
||||
RUN mkdir .next
|
||||
RUN chown nextjs:bun .next
|
||||
|
||||
@@ -6,4 +6,10 @@ services:
|
||||
container_name: sranalysis
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "3005:3000"
|
||||
- "3005:3000"
|
||||
networks:
|
||||
- sranalysis-network
|
||||
|
||||
networks:
|
||||
sranalysis-network:
|
||||
driver: bridge
|
||||
|
||||
@@ -136,12 +136,15 @@ export default function ActionBar() {
|
||||
/>
|
||||
</div>
|
||||
<div className="grid grid-cols-1 justify-center gap-2 py-2 w-full">
|
||||
<div className="bg-local text-primary text-xs max-w-full">
|
||||
<div className="bg-local text-primary text-xs max-w-full">
|
||||
{`${transI18n("useSkill")}: ${transI18n(attackTypeToString(turn.skillType).toLowerCase())}`}
|
||||
</div>
|
||||
<div className="text-primary text-xs max-w-full">
|
||||
{`${transI18n("totalDamage")}: ${Number(turn.totalDamage).toLocaleString(undefined, { minimumFractionDigits: 1, maximumFractionDigits: 1 })}`}
|
||||
</div>
|
||||
<div className="text-primary text-xs max-w-full">
|
||||
{`${transI18n("actionValue")}: ${Number(turnHistory[turn.turnBattleId]?.actionValue || 0).toLocaleString(undefined, { minimumFractionDigits: 1, maximumFractionDigits: 1 })}`}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -374,7 +374,7 @@ export default function Header() {
|
||||
|
||||
{/* GitHub Link */}
|
||||
<Link
|
||||
className='hidden sm:block btn btn-ghost btn-sm btn-circle hover:bg-base-200 transition-all duration-200'
|
||||
className='hidden sm:flex btn btn-ghost btn-sm btn-circle bg-white/20 hover:bg-white/100 transition-all duration-200 items-center justify-center'
|
||||
href={"https://github.com/AzenKain/SR-Analysis"}
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
|
||||
Reference in New Issue
Block a user