Skip to content

Commit

Permalink
add tailwind css
Browse files Browse the repository at this point in the history
  • Loading branch information
cichy380 committed Jan 15, 2024
1 parent c16e8b7 commit cce2447
Show file tree
Hide file tree
Showing 5 changed files with 381 additions and 8 deletions.
17 changes: 10 additions & 7 deletions frontend/src/app/app.component.html
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
<button (click)="startRecording()" style="margin: 10px; background-color: lightgreen">Start Recording</button>
<button (click)="stopRecording()" style="margin: 10px; background-color: lightpink">Stop Recording</button>
<main class="p-6">
<button (click)="startRecording()" class="p-4 bg-green-200 mr-6">Start Recording</button>
<button (click)="stopRecording()" class="p-4 bg-red-200">Stop Recording</button>

<div *ngIf="isRecording" style="margin: 40px; display: flex; justify-content: center" >
<div style="width: 100px; height: 100px; border-radius: 50%; background-color: red;"></div>
</div>
<div *ngIf="isRecording" class="m-6 flex justify-center">
<div class="h-20 w-20 rounded-full bg-red-600"></div>
</div>

<p *ngIf="isConverting" style="opacity: 50%; ">loading...</p>
<p *ngIf="isConverting" class="opacity-50">loading...</p>

<p>{{ text }}</p>
<p>{{ text }}</p>

</main>
4 changes: 3 additions & 1 deletion frontend/src/styles.css
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
/* You can add global styles to this file, and also import other style files */
@tailwind base;
@tailwind components;
@tailwind utilities;
Loading

0 comments on commit cce2447

Please sign in to comment.