diff --git a/README.md b/README.md index cf49c78..87f191d 100644 --- a/README.md +++ b/README.md @@ -125,6 +125,6 @@ ffmpeg -i input -vf scale=1920:-1 output.jpg ## Deploy > [!NOTE] -> Github will build build and deploy the website automatically on every push to the `main` branch. You don't need to do anything manually. +> Github will build and deploy the website automatically on every push to the `main` branch. You don't need to do anything manually. Deployment typically takes 2-5 minutes. You can check the progress in the [Actions tab](https://github.com/Lapikud/lapikud.github.io/actions). diff --git a/public/assets/LAP_logo_v3_transp.png b/public/assets/LAP_logo_v3_transp.png new file mode 100644 index 0000000..3ad7a84 Binary files /dev/null and b/public/assets/LAP_logo_v3_transp.png differ diff --git a/src/app.css b/src/app.css index 7c37dc4..05e01c2 100644 --- a/src/app.css +++ b/src/app.css @@ -6,10 +6,18 @@ :root { /* color tokens (light defaults) */ --orange: #f0941d; + --orange-light: #ffa940; + --orange-dark: #d67d0a; --black: #000000; --off-black: #0d0d0d; --white: #ffffff; --off-white: #fffdfa; + --gray-50: #fafafa; + --gray-100: #f5f5f5; + --gray-200: #e5e5e5; + --gray-300: #d4d4d4; + --gray-800: #262626; + --gray-900: #171717; /* layout tokens */ --site-padding: clamp(1rem, 2vw, 2rem); /* horizontal page padding */ @@ -30,8 +38,12 @@ --radius-sm: 6px; --radius-md: 10px; --radius-lg: 14px; + --radius-xl: 20px; --shadow-1: 0 1px 2px rgba(240, 148, 29, 0.2), 0 1px 3px rgba(240, 148, 29, 0.12); + --shadow-2: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1); + --shadow-3: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1); + --shadow-glow: 0 0 20px rgba(240, 148, 29, 0.3); /* breakpoints */ --bp-sm: 480px; @@ -72,6 +84,7 @@ html { -moz-osx-font-smoothing: grayscale; font-size: var(--fs-base); -webkit-text-size-adjust: 100%; + overflow-x: hidden; } body { margin: 0; @@ -81,7 +94,8 @@ body { min-height: 100vh; -webkit-tap-highlight-color: transparent; transition: background-color 160ms ease, color 160ms ease; - padding-top: 20px; + overflow-x: hidden; + font-size: var(--fs-lg); } /* Container pattern */ @@ -108,24 +122,6 @@ body { } } -/* Headings & paragraph scale */ -h1 { - font-size: clamp(1.5rem, 2.8vw, 2.25rem); - margin: 0 0 var(--space-3) 0; - line-height: 1.08; -} -h2 { - font-size: clamp(1.25rem, 2.1vw, 1.75rem); - margin: 0 0 var(--space-3) 0; -} -h3 { - font-size: var(--fs-lg); - margin: 0 0 var(--space-2) 0; -} -p { - margin: 0 0 var(--space-3) 0; - color: var(--color-text); -} /* Basic link & button defaults that components inherit */ a { diff --git a/src/components/Button.svelte b/src/components/Button.svelte index 21ce338..6b714f3 100644 --- a/src/components/Button.svelte +++ b/src/components/Button.svelte @@ -1,10 +1,17 @@ - diff --git a/src/components/FeatureCard.svelte b/src/components/FeatureCard.svelte new file mode 100644 index 0000000..502abd9 --- /dev/null +++ b/src/components/FeatureCard.svelte @@ -0,0 +1,146 @@ + + +{#if href} + + {#if icon} +
+ +
+ {/if} + {#if title} +

{title}

+ {/if} + {#if description} +

{description}

+ {/if} +
+ +
+
+{:else} +
+ {#if icon} +
+ +
+ {/if} + {#if title} +

{title}

+ {/if} + {#if description} +

{description}

+ {/if} +
+ +
+
+{/if} + + diff --git a/src/components/index.js b/src/components/index.js index af2a60f..8b4d356 100644 --- a/src/components/index.js +++ b/src/components/index.js @@ -3,6 +3,9 @@ export { default as Card } from './layout/Card.svelte' export { default as Stack } from './layout/Stack.svelte' export { default as Grid } from './layout/Grid.svelte' export { default as Center } from './layout/Center.svelte' +export { default as Section } from './layout/Section.svelte' +export { default as FullWidthBanner } from './layout/FullWidthBanner.svelte' export { default as Button } from './Button.svelte' export { default as Dropdown } from './Dropdown.svelte' +export { default as FeatureCard } from './FeatureCard.svelte' diff --git a/src/components/layout/Section.svelte b/src/components/layout/Section.svelte new file mode 100644 index 0000000..b0f7f4c --- /dev/null +++ b/src/components/layout/Section.svelte @@ -0,0 +1,84 @@ + + +
+
+ +
+
+ + diff --git a/src/layout/Navbar.svelte b/src/layout/Navbar.svelte index 1724a4a..f28231c 100644 --- a/src/layout/Navbar.svelte +++ b/src/layout/Navbar.svelte @@ -3,7 +3,7 @@ Button, Dropdown, Grid, - Center, + Section, } from "$components"; import { navigate, getPath, currentLang, text, switchLang } from "$lib"; @@ -18,50 +18,49 @@ import Trophy from "lucide-svelte/icons/trophy"; - - - - +
+ + + +
diff --git a/src/routes/Home.svelte b/src/routes/Home.svelte index d634f13..1adcf03 100644 --- a/src/routes/Home.svelte +++ b/src/routes/Home.svelte @@ -1,44 +1,207 @@ - - - -

Kes me oleme?

-

- Organisatsioon loodi 2002. aastal informaatika tudengite poolt, kelle - erialatunnuseks oli “LAP”. Targad mehed otsustasid, et järelikult on nad - “Lapikud”. -

- - -
+ +
+ +
+ MTÜ Lapikud +
+

+ MTÜ Lapikud on Tallinna Tehnikaülikooli Tarkvaraarendusklubi, mis ühendab endisi + ja praegusi IT huvilisi tudengeid. +

+
+
- - -

Mis on HELPDESK?

-

- HELPDESK on MTÜ Lapikute poolt pakutav arvutiabiteenus. Teenus on - suunatud tudengitele, õppejõududele ning kõikidele huvilistele ka - väljaspool Tallinna Tehnikaülikooli. Meie meeskond koosneb kogenud ja - nutikatest Tallinna Tehnikaülikooli IT-tudengitest. -

-
- -

Mis teenuseid osutame?

-

- Arvuti riistvara diagnostika ja remont Arvuti riistvara hooldus - Tarkvara diagnostika ja seadistamine Tarkvara paigaldamine Muu - elektroonika parandamine -

-
-
-
-
+
+ + +
+ Liitu meiega +
+
+ + +
+ Vaata teenuseid +
+
+ + +
+ Tehtud tööd +
+
+
+
+ + +
+ + +

Mida me loome

+

Meie põhieesmärgiks on Tallinna Tehnikaülikooli IT tudengitele erialase lisandväärtuse loomine. Kaasame tudengeid praktilistesse lahendustesse, kus saab ideid reaalselt ellu viia ja oma oskusi päriselt kasutada. Meie projektidest kasvavad välja huvitavad ja tarvilikud lõputööd, millel on selge praktiline väärtus.

+
+ +

Keda ja kuidas kaasame

+

Pakume nutikatele ja motiveeritud tudengitele võimalust saada meie juures esimene töökogemus ning arendada end meeskonnas töötades. Lapikud ei ole ainult IT-tudengite organisatsioon, kaasame projektidesse ka majandusteaduskonna tudengeid, et tehniliste lahenduste kõrval oleks esindatud ka äriline vaade.

+
+
+
+ + +
+
+

+ Koostööpartnerid +

+
+ + + {#each partners as partner} + {#if partner.url} + + {#if partner.image} + {partner.name} + {:else} + {partner.name} + {/if} + + {:else} +
+ {#if partner.image} + {partner.name} + {:else} + {partner.name} + {/if} +
+ {/if} + {/each} +
+
+ + + + +
+
+

+ EIS Projekt +

+

+ MTÜ Lapikud projekti "Mobiilne Droonituvastussüsteem" rahastatakse riigieelarvest + teadus- ja arendustegevuse rahastamise vahenditest 100 000 € ulatuses, eesmärgiga + luua füüsilised droonituvastusseadmed, mis tagavad kasutajale droonialase olukorra teadlikkuse. +

+

+ Projekti lõpptulemusena valmib kaks teineteisest eraldiseisvat seadet – + spektrianalüüsi ning Direct Remote Identification tööpõhimõttel toimivad seadmed. +

+
+
+ + +
+
+

+ Valmis liituma? +

+
+ + +
+
+
diff --git a/src/routes/index.js b/src/routes/index.js index cb35b5d..4906f38 100644 --- a/src/routes/index.js +++ b/src/routes/index.js @@ -2,9 +2,7 @@ // examples: '/page', '/page/:id' import Home from './Home.svelte' -import Test from './Test.svelte' export const routes = { '/': Home, - '/juhatus': Test, } \ No newline at end of file diff --git a/tailwind.config.js b/tailwind.config.js new file mode 100644 index 0000000..48596ad --- /dev/null +++ b/tailwind.config.js @@ -0,0 +1,42 @@ +/** @type {import('tailwindcss').Config} */ +export default { + content: [ + "./index.html", + "./src/**/*.{svelte,js,ts,jsx,tsx}", + ], + theme: { + extend: { + colors: { + orange: { + DEFAULT: '#f0941d', + light: '#ffa940', + dark: '#d67d0a', + 500: '#f0941d', + }, + gray: { + 50: '#fafafa', + 100: '#f5f5f5', + 200: '#e5e5e5', + 300: '#d4d4d4', + 800: '#262626', + 900: '#171717', + }, + }, + spacing: { + '0': '0px', + '1': '4px', + '2': '8px', + '3': '16px', + '4': '24px', + '5': '32px', + '6': '48px', + }, + maxWidth: { + '2xl': '700px', + '3xl': '800px', + '4xl': '900px', + }, + }, + }, + plugins: [], +}