Skip to content

Commit 6834c3e

Browse files
authored
Merge pull request #145 from peterlianpi/peterpausianlian
🔥 build(profile): add peterpausianlian profile
2 parents 3c597db + 8f10f06 commit 6834c3e

7 files changed

Lines changed: 52 additions & 21 deletions

File tree

src/components/Contributors/Peter/components/About.jsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
/* eslint-disable @next/next/no-img-element */
21
"use-client";
32
import React from "react";
43

src/components/Contributors/Peter/components/Canvas.jsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
"use-client";
2-
import { useEffect } from "react";
3-
// import { unstable_enableLog } from "react-dom";
4-
// unstable_enableLog("react.dom");
2+
import React, { useEffect } from "react";
53

64
function Canvas() {
75
useEffect(() => {

src/components/Contributors/Peter/components/Footer.jsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
"use-client";
12
import React from "react";
23
import {
34
FaYoutube,

src/components/Contributors/Peter/components/Home.jsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
"use-client";
21
import React from "react";
32
import Canvas from "./Canvas";
43

src/components/Contributors/Peter/components/Loading.jsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
import React from "react";
2+
13
const Loading = () => {
24
return (
35
<div className="absolute top-0 left-0 flex flex-col justify-center gap-0 items-center w-full h-screen loader-bg lg-rounded">

src/components/Contributors/Peter/components/PageLayout.jsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
"use-client";
21
import React from "react";
32
import Home from "./Home";
43
import About from "./About";

src/styles/profiles/_peter.scss

Lines changed: 48 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,19 @@
11
.peter {
2+
border-radius: 5px;
3+
-webkit-border-radius: 5px;
4+
-moz-border-radius: 5px;
5+
-ms-border-radius: 5px;
6+
-o-border-radius: 5px;
27
.loader {
38
position: relative;
49
margin: auto;
510
box-sizing: border-box;
6-
width: 120px;
7-
height: 120px;
11+
width: 360px;
12+
height: 360px;
813
border-radius: 50%;
914
border: 4px solid rgba(255, 255, 255, 0.1);
1015
transform-origin: 50% 50%;
11-
transform: perspective(200px) rotateX(66deg);
16+
transform: perspective(900px) rotateX(66deg);
1217
animation: spinner-wiggle 1.2s infinite;
1318
}
1419

@@ -34,12 +39,39 @@
3439
}
3540

3641
.loaderText {
37-
font-size: 5rem;
42+
font-size: 11rem;
3843
margin-bottom: -100px;
3944
z-index: 99;
4045
animation: bounce 1.2s infinite;
4146
top: 0;
42-
left: 48%;
47+
left: 45%;
48+
}
49+
50+
// position: relative;
51+
52+
@media (min-width: 768px) {
53+
.loaderText {
54+
left: 47%;
55+
}
56+
}
57+
58+
@media (max-width: 550px) {
59+
.loaderText {
60+
font-size: 5rem;
61+
left: 45%;
62+
}
63+
.loader {
64+
width: 120px;
65+
height: 120px;
66+
transform: perspective(200px) rotateX(66deg);
67+
animation: spinner-wiggle 1.2s infinite;
68+
}
69+
}
70+
71+
@media (max-width: 400px) {
72+
.loaderText {
73+
left: 43%;
74+
}
4375
}
4476

4577
@keyframes spinner-spin {
@@ -66,8 +98,8 @@
6698
flex-direction: column;
6799
justify-content: center;
68100
align-items: center;
101+
gap: 30px;
69102
width: 100%;
70-
height: 150px;
71103
background-color: #282828;
72104
border-radius: 10px;
73105
border: 1px solid white;
@@ -77,10 +109,10 @@
77109
display: flex;
78110
justify-content: space-evenly;
79111
align-items: center;
80-
padding: 20px;
112+
padding: 5px;
81113
width: 50%;
82114
height: 50px;
83-
margin: 20px auto;
115+
margin: 0px auto;
84116
}
85117

86118
.socials__icons {
@@ -98,13 +130,15 @@
98130

99131
.copyright {
100132
color: #fafafa;
101-
font-size: 14px;
133+
font-size: 18px;
102134
font-weight: 500;
135+
padding-bottom: 25px;
103136
}
104137

105138
@media (max-width: 720px) {
106139
.footer {
107-
height: 100px;
140+
height: 150px;
141+
gap: 10px;
108142
}
109143

110144
.socials {
@@ -327,15 +361,15 @@
327361
font-family: montserrat, sans-serif;
328362
font-size: 14px;
329363
width: 100%;
330-
overflow-x: hidden;
364+
overflow: hidden;
365+
331366
background-color: #1a1a1a;
332-
padding: 30px auto;
333367
outline: 45px solid #1a1a1b;
334368
}
335369

336370
/* animation */
337371
.canvas-animation {
338-
width: 95%;
372+
width: 80%;
339373
height: 60%;
340374
position: fixed;
341375
top: 20%;
@@ -346,7 +380,6 @@
346380

347381
@media (max-width: 450px) {
348382
.canvas-animation {
349-
width: 90%;
350383
height: 45%;
351384
top: 25%;
352385
}
@@ -578,7 +611,7 @@
578611
.about__content {
579612
display: flex;
580613
justify-content: space-between;
581-
width: 100%;
614+
width: 95%;
582615
}
583616

584617
@media (max-width: 1300px) {

0 commit comments

Comments
 (0)