Skip to content

Commit e8a5bd7

Browse files
Merge pull request #28 from 4human-org/14-login-page-login-separator
14 login page login separator
2 parents c8590d7 + eae985c commit e8a5bd7

File tree

4 files changed

+104
-0
lines changed

4 files changed

+104
-0
lines changed
+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
"use client";
2+
3+
export default function LoginSeparator() {
4+
return (
5+
<div className="between m-auto mx-20 flex flex-col">
6+
<div className="relative left-[50%] m-[-1.5px] h-[110px] w-px border-l-[1px] bg-[#aaa]"></div>
7+
<div className="m-0 h-[60px] w-[60px] rounded-full border-[1px] border-[#aaa] p-0 text-center leading-[60px]">
8+
<span>OR</span>
9+
</div>
10+
<div className="relative left-[50%] m-[-1.5px] mt-0 h-[110px] w-px border-l-[1px] bg-[#aaa]"></div>
11+
</div>
12+
);
13+
}

package-lock.json

+86
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+2
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@
2727
"@types/react": "18.2.61",
2828
"autoprefixer": "^10.0.1",
2929
"postcss": "^8",
30+
"prettier": "^3.2.5",
31+
"prettier-plugin-tailwindcss": "^0.5.11",
3032
"tailwindcss": "^3.3.0",
3133
"typescript": "5.3.3"
3234
}

prettier.config.js

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
module.exports = {
2+
plugins: ["prettier-plugin-tailwindcss"],
3+
};

0 commit comments

Comments
 (0)