forked from microbit-foundation/cctd-ml-machine
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #59 from microbit-foundation/update-model-page
Update model page
- Loading branch information
Showing
7 changed files
with
42 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,32 @@ | ||
<!-- | ||
(c) 2023, Center for Computational Thinking and Design at Aarhus University and contributors | ||
SPDX-License-Identifier: MIT | ||
--> | ||
|
||
<script lang="ts"> | ||
import { t } from '../i18n'; | ||
import testModelImage from '../imgs/TestModel.svg'; | ||
import StandardButton from './StandardButton.svelte'; | ||
import TrainingButton from '../pages/training/TrainingButton.svelte'; | ||
import { Paths, navigate } from '../router/paths'; | ||
</script> | ||
|
||
<div class="flex flex-col flex-grow justify-center"> | ||
<p class="text-primarytext text-center text-3xl bold"> | ||
<div class="flex flex-col items-center"> | ||
<img src={testModelImage} width="300" class="mb-10" /> | ||
<h2 class="text-xl font-bold mb-3"> | ||
{$t('content.model.trainModelFirstHeading')} | ||
<br /> | ||
{$t('content.model.trainModelFirstBody')} | ||
</h2> | ||
<p class="mb-5 font-light"> | ||
{$t('content.model.trainModelBody1')} | ||
</p> | ||
<p class="mb-10 font-light"> | ||
{$t('content.model.trainModelBody2')} | ||
</p> | ||
<div class="flex gap-20"> | ||
<StandardButton onClick={() => navigate(Paths.DATA)}> | ||
{$t('content.model.addData')} | ||
</StandardButton> | ||
<TrainingButton type="secondary" action="navigate" /> | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters