Skip to content

Commit

Permalink
update example fullscreen
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasferreiralimax committed Oct 17, 2024
1 parent 6cf3d31 commit 6c7e3e6
Show file tree
Hide file tree
Showing 2 changed files with 56 additions and 4 deletions.
41 changes: 37 additions & 4 deletions src/app/examples/mode/mode.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ <h2 class="content-title">Mode</h2>
type="button"
(click)="openWindowExample('restrict')"
>
<span class="material-symbols-outlined"> &#xe897; </span> Restrict
<span class="material-symbols-outlined"> &#xe897; </span> Restrict
</button>
<up-window-angular
[isOpen]="isWindowOpenRestrict"
Expand All @@ -22,20 +22,53 @@ <h2 class="content-title">Mode</h2>
type="button"
(click)="openWindowExample('fullscreen')"
>
<span class="material-symbols-outlined"> &#xe5d0; </span> FullScreen
<span class="material-symbols-outlined"> &#xe5d0; </span> FullScreen
</button>
<up-window-angular
[isOpen]="isWindowOpenFullScreen"
title="Fullscreen Mode"
[fullScreen]="true"
>
Mode FullScreen content!
<p class="fullscreen-description">
Welcome to the Fullscreen Mode! This mode allows you to immerse yourself
in your content without distractions. Enjoy a wider view and enhance
your experience with more space for details and interactions.
</p>
<h2 class="fullscreen-subtitle">Key Features of Fullscreen Mode</h2>
<ul class="fullscreen-list">
<li>
<strong>Maximized View:</strong> Experience your application in a
larger context, perfect for presentations, graphics, or detailed data
analysis.
</li>
<li>
<strong>Improved Focus:</strong> Remove browser chrome and other
distractions, allowing you to concentrate fully on your task at hand.
</li>
<li>
<strong>Enhanced Interaction:</strong> Take advantage of additional
screen real estate for interactive elements, making navigation and
usage more intuitive.
</li>
<li>
<strong>Dynamic Content:</strong> Display rich media, videos, and
images without any interruptions, creating an engaging environment for
users.
</li>
</ul>
<h2 class="fullscreen-subtitle">How to Exit Fullscreen Mode</h2>
<p>
To exit fullscreen mode, simply click the <strong>Close</strong> button
below or press the <strong>Esc</strong> key on your keyboard. Enjoy your
expanded workspace!
</p>
</up-window-angular>
<button
class="button-modal-example"
type="button"
(click)="openWindowExample('blur')"
>
<span class="material-symbols-outlined"> &#xeb77; </span> Blur
<span class="material-symbols-outlined"> &#xeb77; </span> Blur
</button>
<up-window-angular
[isOpen]="isWindowOpenBlur"
Expand Down
19 changes: 19 additions & 0 deletions src/app/examples/mode/mode.component.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
.fullscreen-description {
font-size: 1.2rem;
margin-bottom: 20px;
}

.fullscreen-subtitle {
font-size: 1.5rem;
margin: 20px 0 10px;
}

.fullscreen-list {
list-style-type: disc;
margin-left: 20px;
margin-bottom: 20px;
}

.fullscreen-list li {
margin-bottom: 10px;
}

0 comments on commit 6c7e3e6

Please sign in to comment.