-
Notifications
You must be signed in to change notification settings - Fork 0
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 #53 from Potits-chats/LMST2-54-Formulaire-signaler…
…-un-bug Add bug report
- Loading branch information
Showing
6 changed files
with
71 additions
and
0 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
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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<!-- bug-report.component.html --> | ||
<div class="iframe-container"> | ||
<iframe scrolling="no" data-tally-src="https://tally.so/embed/woBOee" width="100%" height="100%" frameborder="0" marginheight="0" marginwidth="0" title="Signaler un bug" style="width: 100%; height: 100%; border: none; scrollbar-width: none!important;"></iframe> | ||
</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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
/* bug-report.component.css */ | ||
.iframe-container { | ||
position: relative; | ||
width: 100%; | ||
height: 100vh; /* Utilisez 100vh pour occuper toute la hauteur de la fenêtre */ | ||
overflow: hidden; | ||
} | ||
|
||
.iframe-container iframe { | ||
position: absolute; | ||
top: 0; | ||
right: 0; | ||
bottom: 0; | ||
left: 0; | ||
width: 100%; | ||
height: 100%; | ||
border: none; | ||
} | ||
|
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 |
---|---|---|
@@ -0,0 +1,21 @@ | ||
import { ComponentFixture, TestBed } from '@angular/core/testing'; | ||
|
||
import { BugComponent } from './bug.component'; | ||
|
||
describe('BugComponent', () => { | ||
let component: BugComponent; | ||
let fixture: ComponentFixture<BugComponent>; | ||
|
||
beforeEach(() => { | ||
TestBed.configureTestingModule({ | ||
declarations: [BugComponent] | ||
}); | ||
fixture = TestBed.createComponent(BugComponent); | ||
component = fixture.componentInstance; | ||
fixture.detectChanges(); | ||
}); | ||
|
||
it('should create', () => { | ||
expect(component).toBeTruthy(); | ||
}); | ||
}); |
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 |
---|---|---|
@@ -0,0 +1,18 @@ | ||
import { AfterViewInit, Component } from '@angular/core'; | ||
|
||
@Component({ | ||
selector: 'app-bug', | ||
templateUrl: './bug.component.html', | ||
styleUrls: ['./bug.component.scss'] | ||
}) | ||
export class BugComponent implements AfterViewInit { | ||
|
||
constructor() { } | ||
|
||
ngAfterViewInit(): void { | ||
const script = document.createElement('script'); | ||
script.src = 'https://tally.so/widgets/embed.js'; | ||
script.async = true; | ||
document.body.appendChild(script); | ||
} | ||
} |
291d42e
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
potits-front – ./
potits-front-marion-sgrs-projects.vercel.app
www.potits-chats.com
potits-front-git-main-marion-sgrs-projects.vercel.app
potits-chats.vercel.app
potits-chats.com