SA-201/ fix bags with frame

This commit is contained in:
––AsTroLog 2023-12-03 20:46:08 +00:00
parent 11daa4c9ef
commit 339980a31d
2 changed files with 21 additions and 4 deletions

View File

@ -96,7 +96,7 @@
<div class="buttons-row"> <div class="buttons-row">
<button class="exit-button button-animation" @onclick="(() => NavigateToMain())"></button> <button class="exit-button button-animation" @onclick="(() => NavigateToMain())"></button>
<button class="return-button button-animation" @onclick="(() => { LoadPreviousProduct(); })"></button> <button class="return-button button-animation" @onclick="(() => { LoadPreviousProduct(); })"></button>
<button class="more-button button-animation" @onclick="(() => LoadMoreProducts())"></button> <button class="more-button button-animation" @onclick="(() => NavigateToMain())"></button>
</div> </div>
</div> </div>
} }

View File

@ -30,25 +30,28 @@
</div> </div>
<div class="topic"> <div class="topic">
<div class="topic_one"> <div @onclick="() => ClickTopic(1)" class="topic_one">
<a class="button_topic_one"> <a class="button_topic_one">
Date Date
</a> </a>
</div> </div>
<div class="topic_two"> <div @onclick="() => ClickTopic(2)" class="topic_two">
<a class="button_topic_two"> <a class="button_topic_two">
🎃 Halloween gift 🎃 Halloween gift
</a> </a>
</div> </div>
<div class="topic_three">
<div @onclick="() => ClickTopic(3)" class="topic_three">
<a class="button_topic_three"> <a class="button_topic_three">
🎁 Birthday gift 🎁 Birthday gift
</a> </a>
</div> </div>
</div> </div>
</div> </div>
<div class="chat_input"> <div class="chat_input">
<input @bind="inputValue" @onkeydown="Enter" @oninput="InputChanged" class="input_messages" type="text" id="chatInput" <input @bind="inputValue" @onkeydown="Enter" @oninput="InputChanged" class="input_messages" type="text" id="chatInput"
placeholder="Describe what you are looking for...." autocomplete="off"> placeholder="Describe what you are looking for...." autocomplete="off">
@ -121,6 +124,20 @@
} }
public void ClickTopic(int input)
{
if (input == 1){
inputValue ="I need a present for a date";
}
if (input == 2){
inputValue ="I need a present for halloween";
}
if (input == 3){
inputValue ="I need a present for a birthday";
}
CreateNewChat();
}
private void InputChanged(ChangeEventArgs e) private void InputChanged(ChangeEventArgs e)
{ {
// Оновіть значення поля введення при кожному введенні тексту // Оновіть значення поля введення при кожному введенні тексту