Fix some console errors
This commit is contained in:
parent
e07cde3837
commit
d44bcbb80e
4 changed files with 21 additions and 5 deletions
|
|
@ -25,7 +25,6 @@ async function main() {
|
|||
client: 'Personal Project',
|
||||
role: 'Founder & Designer',
|
||||
projectType: 'work',
|
||||
featuredImage: '/images/projects/maitsu-cover.png',
|
||||
backgroundColor: '#FFF7EA',
|
||||
highlightColor: '#F77754',
|
||||
displayOrder: 1,
|
||||
|
|
@ -44,7 +43,6 @@ async function main() {
|
|||
client: 'Slack Technologies',
|
||||
role: 'Senior Product Designer',
|
||||
projectType: 'work',
|
||||
featuredImage: '/images/projects/slack-cover.png',
|
||||
backgroundColor: '#4a154b',
|
||||
highlightColor: '#611F69',
|
||||
displayOrder: 2,
|
||||
|
|
@ -63,7 +61,6 @@ async function main() {
|
|||
client: 'Figma Inc.',
|
||||
role: 'Product Designer',
|
||||
projectType: 'work',
|
||||
featuredImage: '/images/projects/figma-cover.png',
|
||||
backgroundColor: '#2c2c2c',
|
||||
highlightColor: '#0ACF83',
|
||||
displayOrder: 3,
|
||||
|
|
@ -82,7 +79,6 @@ async function main() {
|
|||
client: 'Pinterest',
|
||||
role: 'Product Designer #1',
|
||||
projectType: 'work',
|
||||
featuredImage: '/images/projects/pinterest-cover.png',
|
||||
backgroundColor: '#f7f7f7',
|
||||
highlightColor: '#CB1F27',
|
||||
displayOrder: 4,
|
||||
|
|
|
|||
|
|
@ -28,7 +28,7 @@ export const GET: RequestHandler = async ({ url }) => {
|
|||
return await enrichAlbumWithInfo(client, album)
|
||||
} catch (error) {
|
||||
if (error instanceof Error && error.message.includes('Album not found')) {
|
||||
console.warn(`Skipping album: ${album.name} (Album not found)`)
|
||||
console.debug(`Skipping album: ${album.name} (Album not found)`)
|
||||
return null // Skip the album
|
||||
}
|
||||
throw error // Re-throw if it's a different error
|
||||
|
|
|
|||
0
static/favicon.ico
Normal file
0
static/favicon.ico
Normal file
20
static/robots.txt
Normal file
20
static/robots.txt
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
# Allow Google
|
||||
User-agent: Googlebot
|
||||
Allow: /
|
||||
|
||||
# Block AI crawlers
|
||||
User-agent: GPTBot
|
||||
Disallow: /
|
||||
|
||||
User-agent: ChatGPT-User
|
||||
Disallow: /
|
||||
|
||||
User-agent: Claude-Web
|
||||
Disallow: /
|
||||
|
||||
User-agent: PerplexityBot
|
||||
Disallow: /
|
||||
|
||||
# Allow all other bots
|
||||
User-agent: *
|
||||
Allow: /
|
||||
Loading…
Reference in a new issue