Skip to content

Commit dc131e8

Browse files
committed
first commit 🚀 🚀
1 parent 04abd91 commit dc131e8

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

100 files changed

+11566
-0
lines changed

.github/workflows/deploy.yml

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
name: Deploy to GitHub Pages
2+
3+
on:
4+
push:
5+
branches: [master]
6+
workflow_dispatch:
7+
8+
permissions:
9+
contents: read
10+
pages: write
11+
id-token: write
12+
13+
concurrency:
14+
group: "pages"
15+
cancel-in-progress: false
16+
17+
jobs:
18+
build:
19+
runs-on: ubuntu-latest
20+
steps:
21+
- name: Checkout
22+
uses: actions/checkout@v4
23+
24+
- name: Setup pnpm
25+
uses: pnpm/action-setup@v4
26+
with:
27+
version: 9
28+
29+
- name: Setup Node.js
30+
uses: actions/setup-node@v4
31+
with:
32+
node-version: "20"
33+
cache: "pnpm"
34+
35+
- name: Install dependencies
36+
run: pnpm install --frozen-lockfile
37+
38+
- name: Build
39+
run: pnpm build
40+
41+
- name: Setup Pages
42+
uses: actions/configure-pages@v5
43+
44+
- name: Upload artifact
45+
uses: actions/upload-pages-artifact@v3
46+
with:
47+
path: ./out
48+
49+
deploy:
50+
environment:
51+
name: github-pages
52+
url: ${{ steps.deployment.outputs.page_url }}
53+
runs-on: ubuntu-latest
54+
needs: build
55+
steps:
56+
- name: Deploy to GitHub Pages
57+
id: deployment
58+
uses: actions/deploy-pages@v4

.gitignore

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
node_modules
2+
.next
3+
out
4+
.env
5+
.env.local
6+
.env*.local
7+
*.log
8+
.DS_Store

app/globals.css

Lines changed: 157 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,157 @@
1+
@import "tailwindcss";
2+
@import "tw-animate-css";
3+
4+
@custom-variant dark (&:is(.dark *));
5+
6+
/* Light mode as default, dark mode when .dark class is applied */
7+
:root {
8+
--background: oklch(0.98 0.01 240);
9+
--foreground: oklch(0.15 0.01 240);
10+
--card: oklch(1 0 0);
11+
--card-foreground: oklch(0.15 0.01 240);
12+
--popover: oklch(1 0 0);
13+
--popover-foreground: oklch(0.15 0.01 240);
14+
/* Brand Orange #ee8e00 */
15+
--primary: oklch(0.68 0.18 65);
16+
--primary-foreground: oklch(0.98 0 0);
17+
--secondary: oklch(0.94 0.01 240);
18+
--secondary-foreground: oklch(0.15 0.01 240);
19+
--muted: oklch(0.94 0.01 240);
20+
--muted-foreground: oklch(0.45 0.01 240);
21+
/* Brand Green #00d600 */
22+
--accent: oklch(0.75 0.25 145);
23+
--accent-foreground: oklch(0.98 0 0);
24+
--destructive: oklch(0.577 0.245 27.325);
25+
--destructive-foreground: oklch(0.98 0 0);
26+
--border: oklch(0.88 0.01 240);
27+
--input: oklch(0.94 0.01 240);
28+
--ring: oklch(0.68 0.18 65);
29+
--chart-1: oklch(0.68 0.18 65);
30+
--chart-2: oklch(0.75 0.25 145);
31+
--chart-3: oklch(0.6 0.1 240);
32+
--chart-4: oklch(0.828 0.189 84.429);
33+
--chart-5: oklch(0.769 0.188 70.08);
34+
--radius: 0.625rem;
35+
--sidebar: oklch(0.96 0.01 240);
36+
--sidebar-foreground: oklch(0.15 0.01 240);
37+
--sidebar-primary: oklch(0.68 0.18 65);
38+
--sidebar-primary-foreground: oklch(0.98 0 0);
39+
--sidebar-accent: oklch(0.94 0.01 240);
40+
--sidebar-accent-foreground: oklch(0.15 0.01 240);
41+
--sidebar-border: oklch(0.88 0.01 240);
42+
--sidebar-ring: oklch(0.68 0.18 65);
43+
}
44+
45+
/* Dark mode variables */
46+
.dark {
47+
--background: oklch(0.12 0.01 240);
48+
--foreground: oklch(0.95 0 0);
49+
--card: oklch(0.16 0.01 240);
50+
--card-foreground: oklch(0.95 0 0);
51+
--popover: oklch(0.16 0.01 240);
52+
--popover-foreground: oklch(0.95 0 0);
53+
/* Brand Orange - brighter for dark mode */
54+
--primary: oklch(0.75 0.2 65);
55+
--primary-foreground: oklch(0.12 0.01 240);
56+
--secondary: oklch(0.22 0.01 240);
57+
--secondary-foreground: oklch(0.95 0 0);
58+
--muted: oklch(0.22 0.01 240);
59+
--muted-foreground: oklch(0.65 0 0);
60+
/* Brand Green - brighter for dark mode */
61+
--accent: oklch(0.7 0.25 145);
62+
--accent-foreground: oklch(0.12 0.01 240);
63+
--destructive: oklch(0.577 0.245 27.325);
64+
--destructive-foreground: oklch(0.98 0 0);
65+
--border: oklch(0.28 0.01 240);
66+
--input: oklch(0.22 0.01 240);
67+
--ring: oklch(0.75 0.2 65);
68+
--chart-1: oklch(0.75 0.2 65);
69+
--chart-2: oklch(0.7 0.25 145);
70+
--chart-3: oklch(0.6 0.1 240);
71+
--chart-4: oklch(0.828 0.189 84.429);
72+
--chart-5: oklch(0.769 0.188 70.08);
73+
--sidebar: oklch(0.14 0.01 240);
74+
--sidebar-foreground: oklch(0.95 0 0);
75+
--sidebar-primary: oklch(0.75 0.2 65);
76+
--sidebar-primary-foreground: oklch(0.12 0.01 240);
77+
--sidebar-accent: oklch(0.22 0.01 240);
78+
--sidebar-accent-foreground: oklch(0.95 0 0);
79+
--sidebar-border: oklch(0.28 0.01 240);
80+
--sidebar-ring: oklch(0.75 0.2 65);
81+
}
82+
83+
@theme inline {
84+
--font-sans: "Geist", "Geist Fallback";
85+
--font-mono: "Geist Mono", "Geist Mono Fallback";
86+
--color-background: var(--background);
87+
--color-foreground: var(--foreground);
88+
--color-card: var(--card);
89+
--color-card-foreground: var(--card-foreground);
90+
--color-popover: var(--popover);
91+
--color-popover-foreground: var(--popover-foreground);
92+
--color-primary: var(--primary);
93+
--color-primary-foreground: var(--primary-foreground);
94+
--color-secondary: var(--secondary);
95+
--color-secondary-foreground: var(--secondary-foreground);
96+
--color-muted: var(--muted);
97+
--color-muted-foreground: var(--muted-foreground);
98+
--color-accent: var(--accent);
99+
--color-accent-foreground: var(--accent-foreground);
100+
--color-destructive: var(--destructive);
101+
--color-destructive-foreground: var(--destructive-foreground);
102+
--color-border: var(--border);
103+
--color-input: var(--input);
104+
--color-ring: var(--ring);
105+
--color-chart-1: var(--chart-1);
106+
--color-chart-2: var(--chart-2);
107+
--color-chart-3: var(--chart-3);
108+
--color-chart-4: var(--chart-4);
109+
--color-chart-5: var(--chart-5);
110+
--radius-sm: calc(var(--radius) - 4px);
111+
--radius-md: calc(var(--radius) - 2px);
112+
--radius-lg: var(--radius);
113+
--radius-xl: calc(var(--radius) + 4px);
114+
--color-sidebar: var(--sidebar);
115+
--color-sidebar-foreground: var(--sidebar-foreground);
116+
--color-sidebar-primary: var(--sidebar-primary);
117+
--color-sidebar-primary-foreground: var(--sidebar-primary-foreground);
118+
--color-sidebar-accent: var(--sidebar-accent);
119+
--color-sidebar-accent-foreground: var(--sidebar-accent-foreground);
120+
--color-sidebar-border: var(--sidebar-border);
121+
--color-sidebar-ring: var(--sidebar-ring);
122+
123+
/* Custom animations for gallery */
124+
--animate-scroll: scroll 100s linear infinite;
125+
--animate-scroll-reverse: scroll-reverse 100s linear infinite;
126+
}
127+
128+
/* Keyframes for infinite scroll animations */
129+
@keyframes scroll {
130+
0% {
131+
transform: translateX(0%);
132+
}
133+
100% {
134+
transform: translateX(-50%);
135+
}
136+
}
137+
138+
@keyframes scroll-reverse {
139+
0% {
140+
transform: translateX(-50%);
141+
}
142+
100% {
143+
transform: translateX(0%);
144+
}
145+
}
146+
147+
@layer base {
148+
* {
149+
@apply border-border outline-ring/50;
150+
}
151+
body {
152+
@apply bg-background text-foreground;
153+
}
154+
html {
155+
scroll-behavior: smooth;
156+
}
157+
}

app/layout.tsx

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
import type React from "react";
2+
import type { Metadata } from "next";
3+
import { Geist, Geist_Mono } from "next/font/google";
4+
import { Analytics } from "@vercel/analytics/next";
5+
import { Providers } from "@/components/theme-provider";
6+
import "./globals.css";
7+
8+
const _geist = Geist({ subsets: ["latin"] });
9+
const _geistMono = Geist_Mono({ subsets: ["latin"] });
10+
11+
// <CHANGE> Updated metadata for Linux User Group
12+
export const metadata: Metadata = {
13+
title: "VasLibre - Comunidad de Usuarios Linux",
14+
description:
15+
"Comunidad apasionada por el software libre, Linux y el código abierto. Únete a nosotros y forma parte del movimiento open source.",
16+
generator: "v0.app",
17+
icons: {
18+
icon: [
19+
{
20+
url: "/images/logovaslibre.svg",
21+
media: "(prefers-color-scheme: light)",
22+
},
23+
{
24+
url: "/images/logovaslibre.svg",
25+
media: "(prefers-color-scheme: dark)",
26+
},
27+
{
28+
url: "/images/logovaslibre.svg",
29+
type: "image/svg+xml",
30+
},
31+
],
32+
apple: "/images/logovaslibre.svg",
33+
},
34+
};
35+
36+
export default function RootLayout({
37+
children,
38+
}: Readonly<{
39+
children: React.ReactNode;
40+
}>) {
41+
return (
42+
<html lang="es" suppressHydrationWarning>
43+
<body className={`font-sans antialiased`}>
44+
<Providers>
45+
{children}
46+
<Analytics />
47+
</Providers>
48+
</body>
49+
</html>
50+
);
51+
}

app/page.tsx

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
import { HeroSection } from "@/components/hero-section"
2+
import { AboutSection } from "@/components/about-section"
3+
import { MembersSection } from "@/components/members-section"
4+
import { GallerySection } from "@/components/gallery-section"
5+
import { EventsSection } from "@/components/events-section"
6+
import { ContactSection } from "@/components/contact-section"
7+
import { Footer } from "@/components/footer"
8+
import { Navbar } from "@/components/navbar"
9+
10+
export default function Home() {
11+
return (
12+
<main className="min-h-screen">
13+
<Navbar />
14+
<HeroSection />
15+
<AboutSection />
16+
<MembersSection />
17+
<GallerySection />
18+
<EventsSection />
19+
<ContactSection />
20+
<Footer />
21+
</main>
22+
)
23+
}

components.json

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
{
2+
"$schema": "https://ui.shadcn.com/schema.json",
3+
"style": "new-york",
4+
"rsc": true,
5+
"tsx": true,
6+
"tailwind": {
7+
"config": "",
8+
"css": "app/globals.css",
9+
"baseColor": "neutral",
10+
"cssVariables": true,
11+
"prefix": ""
12+
},
13+
"aliases": {
14+
"components": "@/components",
15+
"utils": "@/lib/utils",
16+
"ui": "@/components/ui",
17+
"lib": "@/lib",
18+
"hooks": "@/hooks"
19+
},
20+
"iconLibrary": "lucide"
21+
}

0 commit comments

Comments
 (0)