Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
163 changes: 0 additions & 163 deletions frontend/src/App.css

This file was deleted.

4 changes: 2 additions & 2 deletions frontend/src/App.tsx
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import { RouterProvider } from "react-router";
import "./App.css";
import "./index.css";
import router from "./router";

function App() {
return <RouterProvider router={router}></RouterProvider>
return <RouterProvider router={router}></RouterProvider>;
}

export default App;
160 changes: 116 additions & 44 deletions frontend/src/index.css
Original file line number Diff line number Diff line change
@@ -1,25 +1,14 @@
:root {
font-family: system-ui, Avenir, Helvetica, Arial, sans-serif;
line-height: 1.5;
font-weight: 400;
@import url("https://fonts.googleapis.com/css2?family=Funnel+Display:wght@300..800&display=swap");
@import "tailwindcss";
@import "tw-animate-css";

color-scheme: light dark;
color: rgba(255, 255, 255, 0.87);
background-color: #242424;

font-synthesis: none;
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
@custom-variant dark (&:is(.dark *));

a {
font-weight: 500;
color: #646cff;
text-decoration: inherit;
}
a:hover {
color: #535bf2;
:root {
font-family: "Funnel Display", sans-serif;
font-optical-sizing: auto;
font-weight: 400;
font-style: normal;
}

body {
Expand All @@ -30,30 +19,6 @@ body {
min-height: 100vh;
}

h1 {
font-size: 3.2em;
line-height: 1.1;
}

button {
border-radius: 8px;
border: 1px solid transparent;
padding: 0.6em 1.2em;
font-size: 1em;
font-weight: 500;
font-family: inherit;
background-color: #1a1a1a;
cursor: pointer;
transition: border-color 0.25s;
}
button:hover {
border-color: #646cff;
}
button:focus,
button:focus-visible {
outline: 4px auto -webkit-focus-ring-color;
}

@media (prefers-color-scheme: light) {
:root {
color: #213547;
Expand All @@ -66,3 +31,110 @@ button:focus-visible {
background-color: #f9f9f9;
}
}

@theme inline {
--radius-sm: calc(var(--radius) - 4px);
--radius-md: calc(var(--radius) - 2px);
--radius-lg: var(--radius);
--radius-xl: calc(var(--radius) + 4px);
--color-background: var(--background);
--color-foreground: var(--foreground);
--color-card: var(--card);
--color-card-foreground: var(--card-foreground);
--color-popover: var(--popover);
--color-popover-foreground: var(--popover-foreground);
--color-primary: var(--primary);
--color-primary-foreground: var(--primary-foreground);
--color-secondary: var(--secondary);
--color-secondary-foreground: var(--secondary-foreground);
--color-muted: var(--muted);
--color-muted-foreground: var(--muted-foreground);
--color-accent: var(--accent);
--color-accent-foreground: var(--accent-foreground);
--color-destructive: var(--destructive);
--color-border: var(--border);
--color-input: var(--input);
--color-ring: var(--ring);
--color-chart-1: var(--chart-1);
--color-chart-2: var(--chart-2);
--color-chart-3: var(--chart-3);
--color-chart-4: var(--chart-4);
--color-chart-5: var(--chart-5);
--color-sidebar: var(--sidebar);
--color-sidebar-foreground: var(--sidebar-foreground);
--color-sidebar-primary: var(--sidebar-primary);
--color-sidebar-primary-foreground: var(--sidebar-primary-foreground);
--color-sidebar-accent: var(--sidebar-accent);
--color-sidebar-accent-foreground: var(--sidebar-accent-foreground);
--color-sidebar-border: var(--sidebar-border);
--color-sidebar-ring: var(--sidebar-ring);
}

:root {
--radius: 0.625rem;
--background: oklch(0.145 0 0);
--foreground: oklch(1 0 0);
--card: oklch(1 0 0);
--card-foreground: oklch(0.145 0 0);
--popover: oklch(1 0 0);
--popover-foreground: oklch(0.145 0 0);
--primary: oklch(0.68 0.1806 299.64);
--primary-foreground: oklch(0.985 0 0);
--secondary: oklch(0.73 0.1806 312.46);
--secondary-foreground: oklch(0.205 0 0);
--muted: oklch(0.97 0 0);
--muted-foreground: oklch(0.556 0 0);
--accent: oklch(0.97 0 0);
--accent-foreground: oklch(0.205 0 0);
--destructive: oklch(0.577 0.245 27.325);
--border: oklch(0.922 0 0);
--input: oklch(0.922 0 0);
--ring: oklch(0.708 0 0);
--chart-1: oklch(0.646 0.222 41.116);
--chart-2: oklch(0.6 0.118 184.704);
--chart-3: oklch(0.398 0.07 227.392);
--chart-4: oklch(0.828 0.189 84.429);
--chart-5: oklch(0.769 0.188 70.08);
--sidebar: oklch(0.985 0 0);
--sidebar-foreground: oklch(0.145 0 0);
--sidebar-primary: oklch(0.205 0 0);
--sidebar-primary-foreground: oklch(0.985 0 0);
--sidebar-accent: oklch(0.97 0 0);
--sidebar-accent-foreground: oklch(0.205 0 0);
--sidebar-border: oklch(0.922 0 0);
--sidebar-ring: oklch(0.708 0 0);
}

.fluid-text-animation {
background: linear-gradient(
90deg,
var(--foreground) 5%,
var(--primary) 10%,
var(--background) 20%,
var(--foreground) 30%,
var(--foreground) 40%
);
background-size: 300% 100%;
background-clip: text;
-webkit-background-clip: text;
color: transparent;
animation: gradient-shift 15s linear infinite;
}

@keyframes gradient-shift {
0% {
background-position: 0% 50%;
}
100% {
background-position: 300% 50%;
}
}

@layer base {
* {
@apply border-border outline-ring/50;
}
body {
@apply bg-background text-foreground;
}
}
8 changes: 5 additions & 3 deletions frontend/src/layouts/DefaultLayout.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
import { Outlet } from "react-router";

export default function DefaultLayout() {
return <div>
<Outlet></Outlet>
</div>;
return (
<div>
<Outlet></Outlet>
</div>
);
}
29 changes: 28 additions & 1 deletion frontend/src/pages/landing-page/index.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,30 @@
import { Button } from "@/components/ui/button";
import { Link } from "react-router";

export default function LandingPage() {
return <h1>hello</h1>;
return (
<div className="w-full h-screen bg-radial-[at_5%_100%] from-background to-primary to-90% gap-10 flex flex-col justify-center items-center">
<div className="w-full flex flex-col justify-start items-center gap-8">
<h1 className="lg:text-[20rem] text-9xl text-center fluid-text-animation ">
WIP
</h1>
<h1 className="lg:text-3xl text-lg text-wrap text-center w-3/4 ">
Nasza Aplikacja jest bardzo fajna i na pewno będzie pomocna w
rozwiązywaniu twoich problemów psychicznych. Tak o bez kitu serio.{" "}
<span className="text-secondary/90">
Gdzie są dwa sosy czosnkowe?
</span>{" "}
Mówie 100% bez beki Gdzie są dwa sosy czosnkowe?
</h1>
</div>
<Link className="w-1/3 min-w-3xs h-1/12" to="/login">
<Button
className="w-full h-full lg:text-3xl bg-linear-to-l from-background/40 to-primary/60 hover:from-primary/80 hover:to-accent/80 hover:border-2 hover:border-primary hover:text-background rounded-4xl"
variant="outline"
>
Get Started
</Button>
</Link>
</div>
);
}
Loading