From 4d8e0902ba15d28cc530fb8894b374f466d39934 Mon Sep 17 00:00:00 2001 From: Yisroel Baum Date: Sat, 16 May 2026 21:49:32 +0300 Subject: [PATCH] add homepage hero and route --- frontend/rabbi_gerzi/index.html | 14 +- frontend/rabbi_gerzi/src/App.vue | 6 +- frontend/rabbi_gerzi/src/assets/global.css | 37 +++ frontend/rabbi_gerzi/src/main.ts | 1 + frontend/rabbi_gerzi/src/router/index.ts | 9 +- frontend/rabbi_gerzi/src/views/HomePage.vue | 237 ++++++++++++++++++++ 6 files changed, 296 insertions(+), 8 deletions(-) create mode 100644 frontend/rabbi_gerzi/src/assets/global.css create mode 100644 frontend/rabbi_gerzi/src/views/HomePage.vue diff --git a/frontend/rabbi_gerzi/index.html b/frontend/rabbi_gerzi/index.html index 9e5fc8f..bad0188 100644 --- a/frontend/rabbi_gerzi/index.html +++ b/frontend/rabbi_gerzi/index.html @@ -1,10 +1,20 @@ - + - Vite App + + Rabbi Gerzi + + +
diff --git a/frontend/rabbi_gerzi/src/App.vue b/frontend/rabbi_gerzi/src/App.vue index abfd315..3ed4b37 100644 --- a/frontend/rabbi_gerzi/src/App.vue +++ b/frontend/rabbi_gerzi/src/App.vue @@ -1,11 +1,7 @@ diff --git a/frontend/rabbi_gerzi/src/assets/global.css b/frontend/rabbi_gerzi/src/assets/global.css new file mode 100644 index 0000000..759e690 --- /dev/null +++ b/frontend/rabbi_gerzi/src/assets/global.css @@ -0,0 +1,37 @@ +:root { + --color-cream: #f4efe1; + --color-slate: #2b3f4e; + --color-slate-dark: #213240; + --color-olive: #5e6b4c; + --color-text: #1f1f1f; + --color-text-muted: #5a5a5a; + --color-white: #ffffff; + --color-border: #e6e1d2; + --font-serif: 'Merriweather', Georgia, serif; + --font-sans: 'Inter', system-ui, -apple-system, sans-serif; +} + +* { + box-sizing: border-box; +} + +html, +body { + margin: 0; + padding: 0; + font-family: var(--font-sans); + color: var(--color-text); + background: var(--color-white); + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; +} + +a { + color: inherit; + text-decoration: none; +} + +button { + font-family: inherit; + cursor: pointer; +} diff --git a/frontend/rabbi_gerzi/src/main.ts b/frontend/rabbi_gerzi/src/main.ts index fda1e6e..e460778 100644 --- a/frontend/rabbi_gerzi/src/main.ts +++ b/frontend/rabbi_gerzi/src/main.ts @@ -3,6 +3,7 @@ import { createPinia } from 'pinia' import App from './App.vue' import router from './router' +import './assets/global.css' const app = createApp(App) diff --git a/frontend/rabbi_gerzi/src/router/index.ts b/frontend/rabbi_gerzi/src/router/index.ts index e1eab52..9a5c8a6 100644 --- a/frontend/rabbi_gerzi/src/router/index.ts +++ b/frontend/rabbi_gerzi/src/router/index.ts @@ -1,8 +1,15 @@ import { createRouter, createWebHistory } from 'vue-router' +import HomePage from '@/views/HomePage.vue' const router = createRouter({ history: createWebHistory(import.meta.env.BASE_URL), - routes: [], + routes: [ + { + path: '/', + name: 'home', + component: HomePage, + }, + ], }) export default router diff --git a/frontend/rabbi_gerzi/src/views/HomePage.vue b/frontend/rabbi_gerzi/src/views/HomePage.vue new file mode 100644 index 0000000..e2e27d0 --- /dev/null +++ b/frontend/rabbi_gerzi/src/views/HomePage.vue @@ -0,0 +1,237 @@ + + + + +