Skip to content

Commit 202679f

Browse files
committed
add public folder, adjust vercel.json dirDir
1 parent 2299e38 commit 202679f

10 files changed

Lines changed: 17 additions & 4 deletions

File tree

frontend/.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,6 @@ jspm_packages/
7373

7474
# Gatsby files
7575
.cache/
76-
public
7776

7877
# Storybook build outputs
7978
.out

frontend/public/placeholder.svg

Lines changed: 1 addition & 0 deletions
Loading

frontend/public/robots.txt

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
User-agent: Googlebot
2+
Allow: /
3+
4+
User-agent: Bingbot
5+
Allow: /
6+
7+
User-agent: Twitterbot
8+
Allow: /
9+
10+
User-agent: facebookexternalhit
11+
Allow: /
12+
13+
User-agent: *
14+
Allow: /

frontend/src/components/Header.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ import { motion } from "framer-motion";
44
import { Link } from "react-router-dom";
55
import { useEffect, useState } from "react";
66
import { useIsMobile } from "@/hooks/use-mobile";
7-
import iconImage from "@/assets/icon.png";
87

98
export const Header = () => {
109
const [starCount, setStarCount] = useState<number | null>(null);
@@ -28,7 +27,7 @@ export const Header = () => {
2827
<div className="flex items-center justify-between">
2928
<Link to="/" className="flex items-center gap-3">
3029
<div className="w-10 h-10 rounded-xl bg-white/5 flex items-center justify-center overflow-hidden">
31-
<img src={iconImage} alt="Programmify" className="w-8 h-8" />
30+
<img src="/icon.png" alt="Programmify" className="w-8 h-8" />
3231
</div>
3332
<div>
3433
<span className="text-xl font-semibold" style={{ color: '#ffffff' }}>Builder Lab</span>

vercel.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"src": "frontend/package.json",
66
"use": "@vercel/static-build",
77
"config": {
8-
"distDir": "frontend/dist"
8+
"distDir": "dist"
99
}
1010
}
1111
],

0 commit comments

Comments
 (0)