mirror of
https://github.com/Polaris-Entertainment/bytefy.git
synced 2026-07-08 00:25:09 +00:00
Fix frontpage and pin functionality (#11)
Co-authored-by: Myx <info@azaaxin.com>
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
<app-dual-textarea
|
||||
title="base64 to text"
|
||||
title="Base64 to Text"
|
||||
topPlaceholder="Enter base64 here..."
|
||||
bottomPlaceholder="Text will appear here..."
|
||||
[topValue]="convertedBase64"
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
<app-file-converter
|
||||
title="Image converter"
|
||||
method="post"
|
||||
privacyText="This tool requires internet access to convert images. The images are processed on the servers and are not stored on any disk."
|
||||
[isPreview]="false"
|
||||
[fileTypeSelector]="true"
|
||||
[processedFiles]="processedFiles"
|
||||
@@ -13,5 +14,5 @@
|
||||
(fileSelected)="onFileSelected($event)"
|
||||
(selectedFormat)="onFormatSelected($event)"
|
||||
(upload)="onUploadClicked()"
|
||||
>
|
||||
>
|
||||
</app-file-converter>
|
||||
@@ -8,12 +8,20 @@ import { CommonModule } from '@angular/common';
|
||||
import { FileConverterComponent } from "../../../app/shared/upload/file-converter.component";
|
||||
import { Format, ProcessedFile } from '../../../app/models/conversion.model';
|
||||
import { HttpHeaders } from '@angular/common/http';
|
||||
import { CardModule } from 'primeng/card';
|
||||
|
||||
@Component({
|
||||
selector: 'app-image-converter',
|
||||
templateUrl: 'image-converter.component.html',
|
||||
styleUrls: ['image-converter.component.scss'],
|
||||
imports: [DropdownModule, AutoCompleteModule, FormsModule, CommonModule, FileConverterComponent]
|
||||
imports: [
|
||||
DropdownModule,
|
||||
AutoCompleteModule,
|
||||
FormsModule,
|
||||
CommonModule,
|
||||
FileConverterComponent,
|
||||
CardModule
|
||||
]
|
||||
})
|
||||
export class ImageConverterComponent implements OnInit, OnDestroy {
|
||||
constructor(private ImageService: ImageService) { }
|
||||
@@ -65,7 +73,6 @@ export class ImageConverterComponent implements OnInit, OnDestroy {
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
onFormatSelected(format: string) {
|
||||
this.selectedFormat = format;
|
||||
|
||||
Reference in New Issue
Block a user