ScottLogic / prompt-injection

Application which investigates defensive measures against prompt injection attacks on an LLM, with a focus on the exposure of external tools.
MIT License
11 stars 9 forks source link

Mode Selection Buttons updated #881

Closed dhinrichs-scottlogic closed 3 months ago

dhinrichs-scottlogic commented 3 months ago

Description

When you select between two levels (Level 1 vs Sandbox or Level 3 vs Sandbox), the button for the level that you are currently on is differently styled to the one that you are not on. This is not very clear, so now we want the two buttons to just look the same.

Also added on a tiny <div> to <nav> change onto this PR as discussed

Acceptance criteria

GIVEN a user is on a modal that lets you switch between two levels (Getting started & Congratulations) WHEN they look at the two level button options THEN they look the same

Additional: Level 1 2 3 Sandbox still behave as they did before but are now in a nav container element.

Screenshot before

Image

Screenshot expected outcome

Image

Checklist

Have you done the following?