aboutsummaryrefslogtreecommitdiffstats
path: root/src/app/styles/shared.ts
diff options
context:
space:
mode:
authorPinapelz <yukais@pinapelz.com>2026-04-15 23:45:04 -0700
committerPinapelz <yukais@pinapelz.com>2026-04-15 23:45:04 -0700
commit30d2ca8480caea1ce76cc1ec29d454e3a669c638 (patch)
treecf4e846151601d568d12f2ec7b1f4c003282325e /src/app/styles/shared.ts
parent6b168927b8995d428d243052e93713a2ab86cff9 (diff)
refactor: move styled components to their own style.ts file
Diffstat (limited to 'src/app/styles/shared.ts')
-rw-r--r--src/app/styles/shared.ts61
1 files changed, 61 insertions, 0 deletions
diff --git a/src/app/styles/shared.ts b/src/app/styles/shared.ts
new file mode 100644
index 0000000..ad815ea
--- /dev/null
+++ b/src/app/styles/shared.ts
@@ -0,0 +1,61 @@
+import styled from "styled-components";
+import Link from "next/link";
+
+export const Root = styled.div`
+ min-height: 100vh;
+ background-color: #f9f9f9;
+ color: #1a1a1a;
+ font-family: "Roboto", "Segoe UI", Arial, sans-serif;
+`;
+
+export const Navbar = styled.nav`
+ position: sticky;
+ top: 0;
+ z-index: 100;
+ display: flex;
+ align-items: center;
+ justify-content: space-between;
+ height: 56px;
+ padding: 0 20px;
+ background-color: #ffffffee;
+ backdrop-filter: blur(12px);
+ border-bottom: 1px solid #e5e5e5;
+`;
+
+export const Logo = styled(Link)`
+ font-size: 17px;
+ font-weight: 800;
+ letter-spacing: 0.3px;
+ color: #1a1a1a;
+ text-decoration: none;
+ display: flex;
+ align-items: center;
+ gap: 7px;
+ user-select: none;
+`;
+
+export const LogoIcon = styled.span`
+ display: inline-flex;
+ align-items: center;
+ justify-content: center;
+ background-color: #1a1a1a;
+ color: #fff;
+ border-radius: 6px;
+ width: 30px;
+ height: 22px;
+ font-size: 10px;
+`;
+
+export const NavLink = styled(Link)`
+ font-size: 13px;
+ font-weight: 500;
+ color: #606060;
+ text-decoration: none;
+ padding: 6px 10px;
+ border-radius: 8px;
+ transition: background-color 0.15s, color 0.15s;
+ &:hover {
+ background-color: #f0f0f0;
+ color: #1a1a1a;
+ }
+`;
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage