Skip to content

Commit

Permalink
Set empty layout
Browse files Browse the repository at this point in the history
  • Loading branch information
miladsoft committed Sep 13, 2024
1 parent 988ff05 commit 2ecd740
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 85 deletions.
58 changes: 2 additions & 56 deletions src/app/components/auth/sign-in/sign-in.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,17 +25,6 @@
</a>
</div>

<!-- Alert -->
<angor-alert
class="mt-8"
[appearance]="'outline'"
[showIcon]="false"
[type]="'info'"
>
You are browsing <strong>Angor Demo</strong>. Click on the "Sign
in" button to access the Demo and Documentation.
</angor-alert>

<!-- Alert -->
@if (showAlert) {
<angor-alert
Expand Down Expand Up @@ -101,24 +90,6 @@
<mat-error> Password is required </mat-error>
</mat-form-field>

<!-- Actions -->
<div
class="mt-1.5 inline-flex w-full items-center justify-between"
>
<mat-checkbox
class="-ml-2"
[color]="'primary'"
[formControlName]="'rememberMe'"
>
Remember me
</mat-checkbox>
<a
class="text-md font-medium text-primary-500 hover:underline"
[routerLink]="['/forgot-password']"
>Forgot password?
</a>
</div>

<!-- Submit button -->
<button
class="angor-mat-button-large mt-6 w-full"
Expand Down Expand Up @@ -196,36 +167,11 @@
<!-- Content -->
<div class="relative z-10 w-full max-w-2xl">
<div class="text-7xl font-bold leading-none text-gray-100">
<div>Welcome to</div>
<!-- <div>Welcome to</div> -->
<div>Angor Hub</div>
</div>
<div class="mt-6 text-lg leading-6 tracking-tight text-gray-400">
Angor helps developers to build organized and well coded
dashboards full of beautiful and rich modules. Join us and start
building your application today.
</div>
<div class="mt-8 flex items-center">
<div class="flex flex-0 items-center -space-x-1.5">
<img
class="h-10 w-10 flex-0 rounded-full object-cover ring-4 ring-gray-800 ring-offset-1 ring-offset-gray-800"
src="images/avatars/female-18.jpg"
/>
<img
class="h-10 w-10 flex-0 rounded-full object-cover ring-4 ring-gray-800 ring-offset-1 ring-offset-gray-800"
src="images/avatars/female-11.jpg"
/>
<img
class="h-10 w-10 flex-0 rounded-full object-cover ring-4 ring-gray-800 ring-offset-1 ring-offset-gray-800"
src="images/avatars/male-09.jpg"
/>
<img
class="h-10 w-10 flex-0 rounded-full object-cover ring-4 ring-gray-800 ring-offset-1 ring-offset-gray-800"
src="images/avatars/male-16.jpg"
/>
</div>
<div class="ml-4 font-medium tracking-tight text-gray-400">
More than 17k people joined us, it's your turn
</div>
Angor Hub is a Nostr client that is customized around the Angor protocol, a decentralized crowdfunding platform.
</div>
</div>
</div>
Expand Down
31 changes: 3 additions & 28 deletions src/app/components/auth/sign-up/sign-up.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -179,36 +179,11 @@
<!-- Content -->
<div class="relative z-10 w-full max-w-2xl">
<div class="text-7xl font-bold leading-none text-gray-100">
<div>Welcome to</div>
<div>our community</div>
<!-- <div>Welcome to</div> -->
<div>Angor Hub</div>
</div>
<div class="mt-6 text-lg leading-6 tracking-tight text-gray-400">
Angor helps developers to build organized and well coded
dashboards full of beautiful and rich modules. Join us and start
building your application today.
</div>
<div class="mt-8 flex items-center">
<div class="flex flex-0 items-center -space-x-1.5">
<img
class="h-10 w-10 flex-0 rounded-full object-cover ring-4 ring-gray-800 ring-offset-1 ring-offset-gray-800"
src="images/avatars/female-18.jpg"
/>
<img
class="h-10 w-10 flex-0 rounded-full object-cover ring-4 ring-gray-800 ring-offset-1 ring-offset-gray-800"
src="images/avatars/female-11.jpg"
/>
<img
class="h-10 w-10 flex-0 rounded-full object-cover ring-4 ring-gray-800 ring-offset-1 ring-offset-gray-800"
src="images/avatars/male-09.jpg"
/>
<img
class="h-10 w-10 flex-0 rounded-full object-cover ring-4 ring-gray-800 ring-offset-1 ring-offset-gray-800"
src="images/avatars/male-16.jpg"
/>
</div>
<div class="ml-4 font-medium tracking-tight text-gray-400">
More than 17k people joined us, it's your turn
</div>
Angor Hub is a Nostr client that is customized around the Angor protocol, a decentralized crowdfunding platform.
</div>
</div>
</div>
Expand Down
6 changes: 5 additions & 1 deletion src/app/layout/layout.component.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
<!-- Modern -->
@if (layout === 'empty') {
<empty-layout></empty-layout>
}

<!-- Modern -->
@if (layout === 'modern') {
<modern-layout></modern-layout>
}
Expand Down

0 comments on commit 2ecd740

Please sign in to comment.