Skip to content

Commit

Permalink
Correct dist path
Browse files Browse the repository at this point in the history
  • Loading branch information
henriquecf committed Nov 28, 2024
1 parent e71aa57 commit 9fa3683
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
6 changes: 3 additions & 3 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>EuRuKo 2025 | Portugal</title>
<link href="dist/output.css" rel="stylesheet">
<link href="output.css" rel="stylesheet">
</head>
<body class="flex h-full flex-col bg-euruko-purple">
<header class="relative isolate z-50">
Expand All @@ -20,7 +20,7 @@
<div class="flex items-center gap-x-12">
<div class="flex lg:flex-1">
<a href="#" class="-m-1.5 p-1.5 flex items-center gap-x-4">
<img src="dist/images/logo.svg" alt="EuRuKo 2025 Logo" class="h-18 w-auto">
<img src="images/logo.svg" alt="EuRuKo 2025 Logo" class="h-18 w-auto">
<span class="text-3xl font-semibold text-white">EuRuKo</span>
</a>
</div>
Expand Down Expand Up @@ -119,7 +119,7 @@ <h2 class="text-3xl font-bold tracking-tight text-white sm:text-4xl">Become a Sp
<div class="xl:grid xl:grid-cols-3 xl:gap-8">
<!-- Logo and Description -->
<div class="space-y-8">
<img src="dist/images/logo.svg" alt="EuRuKo 2025 Logo" class="h-12 w-auto">
<img src="images/logo.svg" alt="EuRuKo 2025 Logo" class="h-12 w-auto">
<p class="text-sm leading-6 text-gray-300">
The European Ruby Conference<br>
September 18-19, 2025<br>
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"scripts": {
"build": "tailwindcss -i ./src/input.css -o ./dist/output.css && cp index.html dist/ && mkdir -p dist/images && cp -r src/images/* dist/images/",
"watch": "tailwindcss -i ./src/input.css -o ./dist/output.css --watch",
"serve": "python3 -m http.server",
"serve": "cd dist && python3 -m http.server",
"start": "./scripts/start.sh",
"stop": "./scripts/stop.sh"
},
Expand Down
4 changes: 4 additions & 0 deletions scripts/start.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
#!/bin/bash

# Initial build
echo "Running initial build..."
npm run build

# Start Tailwind watcher in the background
echo "Starting Tailwind watcher..."
npm run watch &
Expand Down

0 comments on commit 9fa3683

Please sign in to comment.