mirror of https://github.com/Lapikud/tipilan
parent
fd178012be
commit
b11715e332
17 changed files with 3954 additions and 2 deletions
@ -0,0 +1,175 @@ |
|||||||
|
# Created by https://www.toptal.com/developers/gitignore/api/nextjs,node |
||||||
|
# Edit at https://www.toptal.com/developers/gitignore?templates=nextjs,node |
||||||
|
|
||||||
|
### NextJS ### |
||||||
|
# dependencies |
||||||
|
/node_modules |
||||||
|
/.pnp |
||||||
|
.pnp.js |
||||||
|
|
||||||
|
# testing |
||||||
|
/coverage |
||||||
|
|
||||||
|
# next.js |
||||||
|
/.next/ |
||||||
|
/out/ |
||||||
|
|
||||||
|
# production |
||||||
|
/build |
||||||
|
|
||||||
|
# misc |
||||||
|
.DS_Store |
||||||
|
*.pem |
||||||
|
|
||||||
|
# debug |
||||||
|
npm-debug.log* |
||||||
|
yarn-debug.log* |
||||||
|
yarn-error.log* |
||||||
|
.pnpm-debug.log* |
||||||
|
|
||||||
|
# local env files |
||||||
|
.env*.local |
||||||
|
|
||||||
|
# vercel |
||||||
|
.vercel |
||||||
|
|
||||||
|
# typescript |
||||||
|
*.tsbuildinfo |
||||||
|
next-env.d.ts |
||||||
|
|
||||||
|
### Node ### |
||||||
|
# Logs |
||||||
|
logs |
||||||
|
*.log |
||||||
|
lerna-debug.log* |
||||||
|
|
||||||
|
# Diagnostic reports (https://nodejs.org/api/report.html) |
||||||
|
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json |
||||||
|
|
||||||
|
# Runtime data |
||||||
|
pids |
||||||
|
*.pid |
||||||
|
*.seed |
||||||
|
*.pid.lock |
||||||
|
|
||||||
|
# Directory for instrumented libs generated by jscoverage/JSCover |
||||||
|
lib-cov |
||||||
|
|
||||||
|
# Coverage directory used by tools like istanbul |
||||||
|
coverage |
||||||
|
*.lcov |
||||||
|
|
||||||
|
# nyc test coverage |
||||||
|
.nyc_output |
||||||
|
|
||||||
|
# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files) |
||||||
|
.grunt |
||||||
|
|
||||||
|
# Bower dependency directory (https://bower.io/) |
||||||
|
bower_components |
||||||
|
|
||||||
|
# node-waf configuration |
||||||
|
.lock-wscript |
||||||
|
|
||||||
|
# Compiled binary addons (https://nodejs.org/api/addons.html) |
||||||
|
build/Release |
||||||
|
|
||||||
|
# Dependency directories |
||||||
|
node_modules/ |
||||||
|
jspm_packages/ |
||||||
|
|
||||||
|
# Snowpack dependency directory (https://snowpack.dev/) |
||||||
|
web_modules/ |
||||||
|
|
||||||
|
# TypeScript cache |
||||||
|
|
||||||
|
# Optional npm cache directory |
||||||
|
.npm |
||||||
|
|
||||||
|
# Optional eslint cache |
||||||
|
.eslintcache |
||||||
|
|
||||||
|
# Optional stylelint cache |
||||||
|
.stylelintcache |
||||||
|
|
||||||
|
# Microbundle cache |
||||||
|
.rpt2_cache/ |
||||||
|
.rts2_cache_cjs/ |
||||||
|
.rts2_cache_es/ |
||||||
|
.rts2_cache_umd/ |
||||||
|
|
||||||
|
# Optional REPL history |
||||||
|
.node_repl_history |
||||||
|
|
||||||
|
# Output of 'npm pack' |
||||||
|
*.tgz |
||||||
|
|
||||||
|
# Yarn Integrity file |
||||||
|
.yarn-integrity |
||||||
|
|
||||||
|
# dotenv environment variable files |
||||||
|
.env |
||||||
|
.env.development.local |
||||||
|
.env.test.local |
||||||
|
.env.production.local |
||||||
|
.env.local |
||||||
|
|
||||||
|
# parcel-bundler cache (https://parceljs.org/) |
||||||
|
.cache |
||||||
|
.parcel-cache |
||||||
|
|
||||||
|
# Next.js build output |
||||||
|
.next |
||||||
|
out |
||||||
|
|
||||||
|
# Nuxt.js build / generate output |
||||||
|
.nuxt |
||||||
|
dist |
||||||
|
|
||||||
|
# Gatsby files |
||||||
|
.cache/ |
||||||
|
# Comment in the public line in if your project uses Gatsby and not Next.js |
||||||
|
# https://nextjs.org/blog/next-9-1#public-directory-support |
||||||
|
# public |
||||||
|
|
||||||
|
# vuepress build output |
||||||
|
.vuepress/dist |
||||||
|
|
||||||
|
# vuepress v2.x temp and cache directory |
||||||
|
.temp |
||||||
|
|
||||||
|
# Docusaurus cache and generated files |
||||||
|
.docusaurus |
||||||
|
|
||||||
|
# Serverless directories |
||||||
|
.serverless/ |
||||||
|
|
||||||
|
# FuseBox cache |
||||||
|
.fusebox/ |
||||||
|
|
||||||
|
# DynamoDB Local files |
||||||
|
.dynamodb/ |
||||||
|
|
||||||
|
# TernJS port file |
||||||
|
.tern-port |
||||||
|
|
||||||
|
# Stores VSCode versions used for testing VSCode extensions |
||||||
|
.vscode-test |
||||||
|
|
||||||
|
# yarn v2 |
||||||
|
.yarn/cache |
||||||
|
.yarn/unplugged |
||||||
|
.yarn/build-state.yml |
||||||
|
.yarn/install-state.gz |
||||||
|
.pnp.* |
||||||
|
|
||||||
|
### Node Patch ### |
||||||
|
# Serverless Webpack directories |
||||||
|
.webpack/ |
||||||
|
|
||||||
|
# Optional stylelint cache |
||||||
|
|
||||||
|
# SvelteKit build / generate output |
||||||
|
.svelte-kit |
||||||
|
|
||||||
|
# End of https://www.toptal.com/developers/gitignore/api/nextjs,node |
||||||
@ -1,2 +1,36 @@ |
|||||||
# tipilan-veebileht |
This is a [Next.js](https://nextjs.org) project bootstrapped with [`create-next-app`](https://nextjs.org/docs/app/api-reference/cli/create-next-app). |
||||||
A website for TipiLAN 2025 |
|
||||||
|
## Getting Started |
||||||
|
|
||||||
|
First, run the development server: |
||||||
|
|
||||||
|
```bash |
||||||
|
npm run dev |
||||||
|
# or |
||||||
|
yarn dev |
||||||
|
# or |
||||||
|
pnpm dev |
||||||
|
# or |
||||||
|
bun dev |
||||||
|
``` |
||||||
|
|
||||||
|
Open [http://localhost:3000](http://localhost:3000) with your browser to see the result. |
||||||
|
|
||||||
|
You can start editing the page by modifying `app/page.tsx`. The page auto-updates as you edit the file. |
||||||
|
|
||||||
|
This project uses [`next/font`](https://nextjs.org/docs/app/building-your-application/optimizing/fonts) to automatically optimize and load [Geist](https://vercel.com/font), a new font family for Vercel. |
||||||
|
|
||||||
|
## Learn More |
||||||
|
|
||||||
|
To learn more about Next.js, take a look at the following resources: |
||||||
|
|
||||||
|
- [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API. |
||||||
|
- [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial. |
||||||
|
|
||||||
|
You can check out [the Next.js GitHub repository](https://github.com/vercel/next.js) - your feedback and contributions are welcome! |
||||||
|
|
||||||
|
## Deploy on Vercel |
||||||
|
|
||||||
|
The easiest way to deploy your Next.js app is to use the [Vercel Platform](https://vercel.com/new?utm_medium=default-template&filter=next.js&utm_source=create-next-app&utm_campaign=create-next-app-readme) from the creators of Next.js. |
||||||
|
|
||||||
|
Check out our [Next.js deployment documentation](https://nextjs.org/docs/app/building-your-application/deploying) for more details. |
||||||
|
|||||||
@ -0,0 +1,16 @@ |
|||||||
|
import { dirname } from "path"; |
||||||
|
import { fileURLToPath } from "url"; |
||||||
|
import { FlatCompat } from "@eslint/eslintrc"; |
||||||
|
|
||||||
|
const __filename = fileURLToPath(import.meta.url); |
||||||
|
const __dirname = dirname(__filename); |
||||||
|
|
||||||
|
const compat = new FlatCompat({ |
||||||
|
baseDirectory: __dirname, |
||||||
|
}); |
||||||
|
|
||||||
|
const eslintConfig = [ |
||||||
|
...compat.extends("next/core-web-vitals", "next/typescript"), |
||||||
|
]; |
||||||
|
|
||||||
|
export default eslintConfig; |
||||||
@ -0,0 +1,7 @@ |
|||||||
|
import type { NextConfig } from "next"; |
||||||
|
|
||||||
|
const nextConfig: NextConfig = { |
||||||
|
/* config options here */ |
||||||
|
}; |
||||||
|
|
||||||
|
export default nextConfig; |
||||||
@ -0,0 +1,27 @@ |
|||||||
|
{ |
||||||
|
"name": "tipilan", |
||||||
|
"version": "0.1.0", |
||||||
|
"private": true, |
||||||
|
"scripts": { |
||||||
|
"dev": "next dev --turbopack", |
||||||
|
"build": "next build", |
||||||
|
"start": "next start", |
||||||
|
"lint": "next lint" |
||||||
|
}, |
||||||
|
"dependencies": { |
||||||
|
"react": "^19.0.0", |
||||||
|
"react-dom": "^19.0.0", |
||||||
|
"next": "15.3.0" |
||||||
|
}, |
||||||
|
"devDependencies": { |
||||||
|
"typescript": "^5", |
||||||
|
"@types/node": "^20", |
||||||
|
"@types/react": "^19", |
||||||
|
"@types/react-dom": "^19", |
||||||
|
"@tailwindcss/postcss": "^4", |
||||||
|
"tailwindcss": "^4", |
||||||
|
"eslint": "^9", |
||||||
|
"eslint-config-next": "15.3.0", |
||||||
|
"@eslint/eslintrc": "^3" |
||||||
|
} |
||||||
|
} |
||||||
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,5 @@ |
|||||||
|
const config = { |
||||||
|
plugins: ["@tailwindcss/postcss"], |
||||||
|
}; |
||||||
|
|
||||||
|
export default config; |
||||||
|
After Width: | Height: | Size: 391 B |
|
After Width: | Height: | Size: 1.0 KiB |
|
After Width: | Height: | Size: 1.3 KiB |
|
After Width: | Height: | Size: 128 B |
|
After Width: | Height: | Size: 385 B |
|
After Width: | Height: | Size: 25 KiB |
@ -0,0 +1,26 @@ |
|||||||
|
@import "tailwindcss"; |
||||||
|
|
||||||
|
:root { |
||||||
|
--background: #ffffff; |
||||||
|
--foreground: #171717; |
||||||
|
} |
||||||
|
|
||||||
|
@theme inline { |
||||||
|
--color-background: var(--background); |
||||||
|
--color-foreground: var(--foreground); |
||||||
|
--font-sans: var(--font-geist-sans); |
||||||
|
--font-mono: var(--font-geist-mono); |
||||||
|
} |
||||||
|
|
||||||
|
@media (prefers-color-scheme: dark) { |
||||||
|
:root { |
||||||
|
--background: #0a0a0a; |
||||||
|
--foreground: #ededed; |
||||||
|
} |
||||||
|
} |
||||||
|
|
||||||
|
body { |
||||||
|
background: var(--background); |
||||||
|
color: var(--foreground); |
||||||
|
font-family: Arial, Helvetica, sans-serif; |
||||||
|
} |
||||||
@ -0,0 +1,34 @@ |
|||||||
|
import type { Metadata } from "next"; |
||||||
|
import { Geist, Geist_Mono } from "next/font/google"; |
||||||
|
import "./globals.css"; |
||||||
|
|
||||||
|
const geistSans = Geist({ |
||||||
|
variable: "--font-geist-sans", |
||||||
|
subsets: ["latin"], |
||||||
|
}); |
||||||
|
|
||||||
|
const geistMono = Geist_Mono({ |
||||||
|
variable: "--font-geist-mono", |
||||||
|
subsets: ["latin"], |
||||||
|
}); |
||||||
|
|
||||||
|
export const metadata: Metadata = { |
||||||
|
title: "Tipilan", |
||||||
|
description: "", |
||||||
|
}; |
||||||
|
|
||||||
|
export default function RootLayout({ |
||||||
|
children, |
||||||
|
}: Readonly<{ |
||||||
|
children: React.ReactNode; |
||||||
|
}>) { |
||||||
|
return ( |
||||||
|
<html lang="en"> |
||||||
|
<body |
||||||
|
className={`${geistSans.variable} ${geistMono.variable} antialiased`} |
||||||
|
> |
||||||
|
{children} |
||||||
|
</body> |
||||||
|
</html> |
||||||
|
); |
||||||
|
} |
||||||
@ -0,0 +1,9 @@ |
|||||||
|
import Image from "next/image"; |
||||||
|
|
||||||
|
export default function Home() { |
||||||
|
return ( |
||||||
|
<div> |
||||||
|
<h1>Hello World</h1> |
||||||
|
</div> |
||||||
|
); |
||||||
|
} |
||||||
@ -0,0 +1,27 @@ |
|||||||
|
{ |
||||||
|
"compilerOptions": { |
||||||
|
"target": "ES2017", |
||||||
|
"lib": ["dom", "dom.iterable", "esnext"], |
||||||
|
"allowJs": true, |
||||||
|
"skipLibCheck": true, |
||||||
|
"strict": true, |
||||||
|
"noEmit": true, |
||||||
|
"esModuleInterop": true, |
||||||
|
"module": "esnext", |
||||||
|
"moduleResolution": "bundler", |
||||||
|
"resolveJsonModule": true, |
||||||
|
"isolatedModules": true, |
||||||
|
"jsx": "preserve", |
||||||
|
"incremental": true, |
||||||
|
"plugins": [ |
||||||
|
{ |
||||||
|
"name": "next" |
||||||
|
} |
||||||
|
], |
||||||
|
"paths": { |
||||||
|
"@/*": ["./src/*"] |
||||||
|
} |
||||||
|
}, |
||||||
|
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"], |
||||||
|
"exclude": ["node_modules"] |
||||||
|
} |
||||||
Loading…
Reference in new issue