Skip to content

Commit

Permalink
Changed the image and the text on the sign in page
Browse files Browse the repository at this point in the history
  • Loading branch information
crisnicandrei committed Jun 19, 2024
1 parent 770ae03 commit af25eb6
Show file tree
Hide file tree
Showing 6 changed files with 35 additions and 24 deletions.
16 changes: 10 additions & 6 deletions src/app/auth/components/auth/auth.component.html
Original file line number Diff line number Diff line change
@@ -1,15 +1,19 @@
<!-- @format -->
<div class="auth-container">
<div class="image">
<div class="testimony">
<p class="name">Li Wei</p>
<p class="location">Shenzhen Shi, China</p>
<p class="text">
Permanent.org has been a revelation for me. It's secure, easy to use,
and incredibly reliable. My works, my legacy, are safe here. I recommend
it to all in our field.
At Permanent, we celebrate our members’ hard work through our public
gallery and archive spotlights. Explore our public archive spotlights
and, when you’re ready, publish or share your own public archive!
</p>
<a
class="link"
href="https://permanent.org/blog/tag/public-archive-spotlight/"
>Start Exploring Now.</a
>
</div>
<img src="assets/img/placeholder_sign_in_image.png" />
<img src="assets/img/sign_in_image.png" />
</div>
<div class="auth">
<div class="permanent-logo">
Expand Down
15 changes: 3 additions & 12 deletions src/app/auth/components/auth/auth.component.scss
Original file line number Diff line number Diff line change
Expand Up @@ -86,21 +86,12 @@
font-size: 16px;
}

& > .name {
font-family: 'UsualRegular', sans-serif;
font-size: 32px;
font-weight: 350;
line-height: 48px;
letter-spacing: -0.02em;
text-align: left;
margin-bottom: 8px;
}

& > .location {
font-family: 'UsualRegular', sans-serif;
& > .link {
font-family: 'UsualItalic', sans-serif;
font-weight: 300;
line-height: 24px;
font-size: 18px;
margin-bottom: 32px;
color: black;
}
}
10 changes: 4 additions & 6 deletions src/app/auth/components/auth/auth.component.ts
Original file line number Diff line number Diff line change
@@ -1,15 +1,13 @@
/* @format */
import { Component, OnInit } from '@angular/core';

@Component({
selector: 'pr-auth',
templateUrl: './auth.component.html',
styleUrls: ['./auth.component.scss']
styleUrls: ['./auth.component.scss'],
})
export class AuthComponent implements OnInit {
constructor() {}

constructor() { }

ngOnInit() {
}

ngOnInit() {}
}
18 changes: 18 additions & 0 deletions src/app/auth/components/auth/auth.components.spec.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
/* @format */
import { Shallow } from "shallow-render";
import { AuthRoutingModule } from "@auth/auth.routes";
import { AuthComponent } from "./auth.component";

describe("AuthComponent", () => {
let shallow: Shallow<AuthComponent>;

beforeEach(async () => {
shallow = new Shallow(AuthComponent, AuthRoutingModule);
});

it("should create", async () => {
const { instance } = await shallow.render();

expect(instance).toBeTruthy();
});
});
Binary file removed src/assets/img/placeholder_sign_in_image.png
Binary file not shown.
Binary file added src/assets/img/sign_in_image.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit af25eb6

Please sign in to comment.