Skip to content

Commit

Permalink
Merge pull request #1310 from GW2Treasures/feature/demo-submit-buttom
Browse files Browse the repository at this point in the history
Use `SubmitButton` on demo landing page
  • Loading branch information
darthmaim authored Jan 15, 2025
2 parents 40ef68c + 6251b89 commit 5b0de2f
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions apps/demo/app/page.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Button } from '@gw2treasures/ui/components/Form/Button';
import { SubmitButton } from '@gw2treasures/ui/components/Form/Buttons/SubmitButton';
import { Checkbox } from '@gw2treasures/ui/components/Form/Checkbox';
import { Select } from '@gw2treasures/ui/components/Form/Select';
import { redirect } from 'next/navigation';
Expand Down Expand Up @@ -29,10 +29,7 @@ export default function HomePage() {
</Label>
</div>

<div style={{ '--icon-color': 'var(--color-brand)' }}>
<Button type="submit" icon="gw2me">Login with gw2.me</Button>
</div>

<SubmitButton icon="gw2me" iconColor="var(--color-brand)">Login with gw2.me</SubmitButton>
</form>
);
}
Expand Down

0 comments on commit 5b0de2f

Please sign in to comment.