This commit is contained in:
spitkov 2025-03-19 16:35:33 +01:00
commit 146910d967
18 changed files with 2440 additions and 0 deletions

23
.gitignore vendored Normal file
View file

@ -0,0 +1,23 @@
node_modules
# Output
.output
.vercel
.netlify
.wrangler
/.svelte-kit
/build
# OS
.DS_Store
Thumbs.db
# Env
.env
.env.*
!.env.example
!.env.test
# Vite
vite.config.js.timestamp-*
vite.config.ts.timestamp-*

1
.npmrc Normal file
View file

@ -0,0 +1 @@
engine-strict=true

38
README.md Normal file
View file

@ -0,0 +1,38 @@
# sv
Everything you need to build a Svelte project, powered by [`sv`](https://github.com/sveltejs/cli).
## Creating a project
If you're seeing this, you've probably already done this step. Congrats!
```bash
# create a new project in the current directory
npx sv create
# create a new project in my-app
npx sv create my-app
```
## Developing
Once you've created a project and installed dependencies with `npm install` (or `pnpm install` or `yarn`), start a development server:
```bash
npm run dev
# or start the server and open the app in a new browser tab
npm run dev -- --open
```
## Building
To create a production version of your app:
```bash
npm run build
```
You can preview the production build with `npm run preview`.
> To deploy your app, you may need to install an [adapter](https://svelte.dev/docs/kit/adapters) for your target environment.

2119
package-lock.json generated Normal file

File diff suppressed because it is too large Load diff

27
package.json Normal file
View file

@ -0,0 +1,27 @@
{
"name": "fundemental",
"private": true,
"version": "0.0.1",
"type": "module",
"scripts": {
"dev": "vite dev",
"build": "vite build",
"preview": "vite preview",
"prepare": "svelte-kit sync || echo ''",
"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch"
},
"devDependencies": {
"@sveltejs/adapter-auto": "^4.0.0",
"@sveltejs/kit": "^2.16.0",
"@sveltejs/vite-plugin-svelte": "^5.0.0",
"@tailwindcss/forms": "^0.5.9",
"@tailwindcss/typography": "^0.5.15",
"@tailwindcss/vite": "^4.0.0",
"svelte": "^5.0.0",
"svelte-check": "^4.0.0",
"tailwindcss": "^4.0.0",
"typescript": "^5.0.0",
"vite": "^6.0.0"
}
}

3
src/app.css Normal file
View file

@ -0,0 +1,3 @@
@import 'tailwindcss';
@plugin '@tailwindcss/forms';
@plugin '@tailwindcss/typography';

13
src/app.d.ts vendored Normal file
View file

@ -0,0 +1,13 @@
// See https://svelte.dev/docs/kit/types#app.d.ts
// for information about these interfaces
declare global {
namespace App {
// interface Error {}
// interface Locals {}
// interface PageData {}
// interface PageState {}
// interface Platform {}
}
}
export {};

12
src/app.html Normal file
View file

@ -0,0 +1,12 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<link rel="icon" href="%sveltekit.assets%/favicon.png" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
%sveltekit.head%
</head>
<body data-sveltekit-preload-data="hover">
<div style="display: contents">%sveltekit.body%</div>
</body>
</html>

1
src/lib/index.ts Normal file
View file

@ -0,0 +1 @@
// place files you want to import through the `$lib` alias in this folder.

51
src/routes/+layout.svelte Normal file
View file

@ -0,0 +1,51 @@
<script lang="ts">
import '../app.css';
</script>
<div class="min-h-screen bg-gray-900 text-gray-100">
<nav class="bg-gray-800/90 shadow-lg border-b border-amber-900/30 backdrop-blur-sm">
<div class="max-w-7xl mx-auto px-4">
<div class="flex justify-between items-center h-20">
<div class="flex-shrink-0">
<a href="/" class="text-2xl font-bold text-amber-100 font-serif hover:text-amber-200 transition-colors">
Mucsaröcsöge<span class="text-amber-500">.online</span>
</a>
</div>
<div class="flex items-center space-x-4">
<a href="/"
class="px-6 py-3 text-amber-100 rounded-lg font-medium transition-all
hover:bg-amber-700/50 hover:shadow-lg hover:shadow-amber-900/20
border border-amber-800/30 bg-gradient-to-b from-amber-900/40 to-amber-800/20">
Főoldal
</a>
<a href="/hirek"
class="px-6 py-3 text-amber-100 rounded-lg font-medium transition-all
hover:bg-amber-700/50 hover:shadow-lg hover:shadow-amber-900/20
border border-amber-800/30 bg-gradient-to-b from-amber-900/40 to-amber-800/20">
Hírek
</a>
<a href="/regisztracio"
class="px-6 py-3 text-amber-100 rounded-lg font-medium transition-all
hover:bg-amber-700/50 hover:shadow-lg hover:shadow-amber-900/20
border border-amber-800/30 bg-gradient-to-b from-amber-900/40 to-amber-800/20">
Regisztráció
</a>
</div>
</div>
</div>
</nav>
<div class="relative">
<main class="max-w-7xl mx-auto py-6 px-4 sm:px-6 lg:px-8 relative z-10">
<slot />
</main>
</div>
<footer class="bg-gray-800/90 mt-auto border-t border-amber-900/30 backdrop-blur-sm">
<div class="max-w-7xl mx-auto py-6 px-4 sm:px-6 lg:px-8">
<p class="text-center text-amber-200/60 text-sm">
xd
</p>
</div>
</footer>
</div>

71
src/routes/+page.svelte Normal file
View file

@ -0,0 +1,71 @@
<script>
import { onMount } from 'svelte';
</script>
<div class="space-y-6">
<!-- Hero Section -->
<section class="text-center py-8 px-4 bg-gray-800/70 rounded-xl border border-amber-900/30 backdrop-blur-sm">
<h1 class="text-4xl font-bold mb-4 font-serif text-amber-100">Üdvözöljük Mucsaröcsögén!</h1>
<p class="text-lg text-amber-100/80 max-w-3xl mx-auto leading-relaxed">
Mucsaröcsöge egy bájos, festői falu, amely a természet ölelésében fekszik. Itt minden a hagyományok, a közösség és a nyugalom jegyében telik. Fedezze fel falunk történelmét, kultúráját és a helyi közösség életét, miközben élvezi a festői tájat és a nyugodt, vidéki hangulatot!
</p>
</section>
<!-- Main Attractions -->
<section class="bg-gray-800/70 p-6 rounded-xl shadow-lg border border-amber-900/30 backdrop-blur-sm">
<h2 class="text-2xl font-semibold mb-4 font-serif text-amber-100">Főbb látnivalók:</h2>
<div class="grid md:grid-cols-3 gap-4">
<div class="bg-gray-700/50 p-4 rounded-lg border border-amber-800/30">
<h3 class="text-lg font-semibold mb-2 text-amber-200">Mucsi Templom</h3>
<p class="text-amber-100/80 text-sm">Egyedülálló építészeti remekmű, amely a középkorban épült.</p>
</div>
<div class="bg-gray-700/50 p-4 rounded-lg border border-amber-800/30">
<h3 class="text-lg font-semibold mb-2 text-amber-200">Kocsis Házak</h3>
<p class="text-amber-100/80 text-sm">A falu hagyományos építészeti stílusának megismerése.</p>
</div>
<div class="bg-gray-700/50 p-4 rounded-lg border border-amber-800/30">
<h3 class="text-lg font-semibold mb-2 text-amber-200">Röcsögei Zöldövezet</h3>
<p class="text-amber-100/80 text-sm">A természetkedvelők paradicsoma, a falu határában található csodálatos túraútvonalak.</p>
</div>
</div>
</section>
<!-- News and Events -->
<section class="bg-gray-800/70 p-6 rounded-xl shadow-lg border border-amber-900/30 backdrop-blur-sm">
<h2 class="text-2xl font-semibold mb-4 font-serif text-amber-100">Hírek és események</h2>
<p class="text-amber-100/80 text-sm">
Ne hagyja ki a legújabb híreinket és eseményeinket! Részletes információkat talál a falu rendezvényeiről, fesztiváljairól és egyéb programjairól.
</p>
</section>
<!-- Services -->
<section class="bg-gray-800/70 p-6 rounded-xl shadow-lg border border-amber-900/30 backdrop-blur-sm">
<h2 class="text-2xl font-semibold mb-4 font-serif text-amber-100">Szolgáltatások</h2>
<p class="text-amber-100/80 text-sm">
Mucsaröcsögén minden a kényelmét szolgálja: helyi boltok, vendéglők, közösségi terek és modern infrastruktúra várja a látogatókat és a helyi lakosokat.
</p>
</section>
<!-- Contact -->
<section class="bg-gray-800/70 p-6 rounded-xl shadow-lg border border-amber-900/30 backdrop-blur-sm">
<h2 class="text-2xl font-semibold mb-4 font-serif text-amber-100">Kapcsolat</h2>
<p class="text-amber-100/80 text-sm mb-4">
Kérdései vannak, vagy többet szeretne megtudni? Ne habozzon felvenni a kapcsolatot velünk!
</p>
<div class="flex flex-col md:flex-row items-center gap-6">
<div class="w-full md:w-1/2">
<h3 class="text-xl font-semibold mb-2 font-serif text-amber-200">Polgármester</h3>
<p class="text-amber-100/80 text-sm">
Mucsaröcsöge szeretett polgármestere, aki már 69 éve hivatalban van, igaz kicsit félénk
</p>
</div>
<div class="w-full md:w-1/2">
<div class="relative">
<img src="/polgarmester.png" alt="Polgármester" class="rounded-xl shadow-xl w-full max-w-md mx-auto border-4 border-amber-900/30" />
<div class="absolute inset-0 shadow-inner rounded-xl"></div>
</div>
</div>
</div>
</section>
</div>

View file

@ -0,0 +1,26 @@
<div class="max-w-4xl mx-auto">
<h1 class="text-4xl font-bold mb-8 font-serif text-amber-100">Hírek</h1>
<div class="space-y-6">
<article class="bg-gray-800/70 p-8 rounded-xl shadow-lg border border-amber-900/30 backdrop-blur-sm">
<div class="flex items-center gap-4 mb-4">
<div class="text-4xl text-amber-500">📰</div>
<h2 class="text-2xl font-semibold font-serif text-amber-200">Hamarosan új hírek...</h2>
</div>
<p class="text-amber-100/80 leading-relaxed">
A hírek oldal tartalma hamarosan frissül. Kérjük látogasson vissza később!
</p>
<div class="mt-4 flex gap-2 flex-wrap">
<span class="px-3 py-1 bg-amber-900/30 text-amber-200 text-sm rounded-full border border-amber-800/30">
Hírek
</span>
<span class="px-3 py-1 bg-amber-900/30 text-amber-200 text-sm rounded-full border border-amber-800/30">
Események
</span>
<span class="px-3 py-1 bg-amber-900/30 text-amber-200 text-sm rounded-full border border-amber-800/30">
Közösség
</span>
</div>
</article>
</div>
</div>

View file

@ -0,0 +1,11 @@
<div class="max-w-2xl mx-auto">
<h1 class="text-4xl font-bold mb-8 font-serif text-amber-100">Regisztráció</h1>
<div class="bg-gray-800/70 p-8 rounded-xl shadow-lg border border-amber-900/30 backdrop-blur-sm">
<iframe
src="https://docs.google.com/forms/d/e/1FAIpQLSee3obD0hE5b2C-RUJ9sDLT7OJ5cvrrfoieUSSbg8t21yQkNA/viewform?embedded=true"
class="w-full h-[600px] border-0"
title="Mucsaröcsöge Regisztráció"
></iframe>
</div>
</div>

BIN
static/favicon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

BIN
static/polgarmester.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 190 KiB

18
svelte.config.js Normal file
View file

@ -0,0 +1,18 @@
import adapter from '@sveltejs/adapter-auto';
import { vitePreprocess } from '@sveltejs/vite-plugin-svelte';
/** @type {import('@sveltejs/kit').Config} */
const config = {
// Consult https://svelte.dev/docs/kit/integrations
// for more information about preprocessors
preprocess: vitePreprocess(),
kit: {
// adapter-auto only supports some environments, see https://svelte.dev/docs/kit/adapter-auto for a list.
// If your environment is not supported, or you settled on a specific environment, switch out the adapter.
// See https://svelte.dev/docs/kit/adapters for more information about adapters.
adapter: adapter()
}
};
export default config;

19
tsconfig.json Normal file
View file

@ -0,0 +1,19 @@
{
"extends": "./.svelte-kit/tsconfig.json",
"compilerOptions": {
"allowJs": true,
"checkJs": true,
"esModuleInterop": true,
"forceConsistentCasingInFileNames": true,
"resolveJsonModule": true,
"skipLibCheck": true,
"sourceMap": true,
"strict": true,
"moduleResolution": "bundler"
}
// Path aliases are handled by https://svelte.dev/docs/kit/configuration#alias
// except $lib which is handled by https://svelte.dev/docs/kit/configuration#files
//
// If you want to overwrite includes/excludes, make sure to copy over the relevant includes/excludes
// from the referenced tsconfig.json - TypeScript does not merge them in
}

7
vite.config.ts Normal file
View file

@ -0,0 +1,7 @@
import tailwindcss from "@tailwindcss/vite";
import { sveltekit } from '@sveltejs/kit/vite';
import { defineConfig } from 'vite';
export default defineConfig({
plugins: [tailwindcss(), sveltekit()]
});