// ตลาดลำปาง.jsx
import React from 'react';
const markets = [
{
name: 'กาดกองต้า',
location: 'ตัวเมืองลำปาง',
shops: [
{ name: 'ร้านลำปางเซรามิก', item: 'เซรามิกลายไก่' },
{ name: 'ขนมคุณยาย', item: 'ขนมพื้นเมือง' },
{ name: 'ผ้าทอไทลื้อ', item: 'ผ้าฝ้ายทอมือ' },
],
},
{
name: 'ตลาดอัศวิน',
location: 'อำเภอเมือง',
shops: [
{ name: 'ลำปางฟาร์ม', item: 'ผักปลอดสาร' },
{ name: 'ก๋วยเตี๋ยวป้าแดง', item: 'ก๋วยเตี๋ยวต้มยำ' },
],
},
{
name: 'ตลาดแม่เมาะ',
location: 'อำเภอแม่เมาะ',
shops: [
{ name: 'ร้านถ่านไม้ไผ่', item: 'ถ่านไม้ไผ่อัดแท่ง' },
{ name: 'กาแฟเหมืองเก่า', item: 'กาแฟดริปร้อน' },
],
},
];
export default function ตลาดลำปาง() {
return (
<div className="p-4 bg-yellow-50 min-h-screen">
<h1 className="text-3xl font-bold mb-4 text-center text-orange-800">ตลาดน่าเดินในลำปาง</h1>
<div className="grid md:grid-cols-2 gap-4">
{markets.map((market) => (
<div
key={market
.name
} className
="bg-white rounded-2xl shadow-md p-4"> <h2 className="text-xl font-semibold text-teal-700">{market.name}</h2>
<p className="text-sm text-gray-500">ที่ตั้ง: {market.location}</p>
<ul className="mt-2 list-disc list-inside">
{market.shops.map((shop) => (
<span className="font-medium">{shop.name}</span> — {shop.item}
</li>
))}
</ul>
</div>
))}
</div>
</div>
);
}
Ly8g4LiV4Lil4Liy4LiU4Lil4Liz4Lib4Liy4LiHLmpzeAppbXBvcnQgUmVhY3QgZnJvbSAncmVhY3QnOwoKY29uc3QgbWFya2V0cyA9IFsKICB7CiAgICBuYW1lOiAn4LiB4Liy4LiU4LiB4Lit4LiH4LiV4LmJ4LiyJywKICAgIGxvY2F0aW9uOiAn4LiV4Lix4Lin4LmA4Lih4Li34Lit4LiH4Lil4Liz4Lib4Liy4LiHJywKICAgIHNob3BzOiBbCiAgICAgIHsgbmFtZTogJ+C4o+C5ieC4suC4meC4peC4s+C4m+C4suC4h+C5gOC4i+C4o+C4suC4oeC4tOC4gScsIGl0ZW06ICfguYDguIvguKPguLLguKHguLTguIHguKXguLLguKLguYTguIHguYgnIH0sCiAgICAgIHsgbmFtZTogJ+C4guC4meC4oeC4hOC4uOC4k+C4ouC4suC4oicsIGl0ZW06ICfguILguJnguKHguJ7guLfguYnguJnguYDguKHguLfguK3guIcnIH0sCiAgICAgIHsgbmFtZTogJ+C4nOC5ieC4suC4l+C4reC5hOC4l+C4peC4t+C5ieC4rScsIGl0ZW06ICfguJzguYnguLLguJ3guYnguLLguKLguJfguK3guKHguLfguK0nIH0sCiAgICBdLAogIH0sCiAgewogICAgbmFtZTogJ+C4leC4peC4suC4lOC4reC4seC4qOC4p+C4tOC4mScsCiAgICBsb2NhdGlvbjogJ+C4reC4s+C5gOC4oOC4reC5gOC4oeC4t+C4reC4hycsCiAgICBzaG9wczogWwogICAgICB7IG5hbWU6ICfguKXguLPguJvguLLguIfguJ/guLLguKPguYzguKEnLCBpdGVtOiAn4Lic4Lix4LiB4Lib4Lil4Lit4LiU4Liq4Liy4LijJyB9LAogICAgICB7IG5hbWU6ICfguIHguYvguKfguKLguYDguJXguLXguYvguKLguKfguJvguYnguLLguYHguJTguIcnLCBpdGVtOiAn4LiB4LmL4Lin4Lii4LmA4LiV4Li14LmL4Lii4Lin4LiV4LmJ4Lih4Lii4LizJyB9LAogICAgXSwKICB9LAogIHsKICAgIG5hbWU6ICfguJXguKXguLLguJTguYHguKHguYjguYDguKHguLLguLAnLAogICAgbG9jYXRpb246ICfguK3guLPguYDguKDguK3guYHguKHguYjguYDguKHguLLguLAnLAogICAgc2hvcHM6IFsKICAgICAgeyBuYW1lOiAn4Lij4LmJ4Liy4LiZ4LiW4LmI4Liy4LiZ4LmE4Lih4LmJ4LmE4Lic4LmIJywgaXRlbTogJ+C4luC5iOC4suC4meC5hOC4oeC5ie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ChzaG9wKSA9PiAoCiAgICAgICAgICAgICAgICA8bGkga2V5PXtzaG9wLm5hbWV9PgogICAgICAgICAgICAgICAgICA8c3BhbiBjbGFzc05hbWU9ImZvbnQtbWVkaXVtIj57c2hvcC5uYW1lfTwvc3Bhbj4g4oCUIHtzaG9wLml0ZW19CiAgICAgICAgICAgICAgICA8L2xpPgogICAgICAgICAgICAgICkpfQogICAgICAgICAgICA8L3VsPgogICAgICAgICAgPC9kaXY+CiAgICAgICAgKSl9CiAgICAgIDwvZGl2PgogICAgPC9kaXY+CiAgKTsKfQ==
Ly8g4LiV4Lil4Liy4LiU4Lil4Liz4Lib4Liy4LiHLmpzeAppbXBvcnQgUmVhY3QgZnJvbSAncmVhY3QnOwoKY29uc3QgbWFya2V0cyA9IFsKICB7CiAgICBuYW1lOiAn4LiB4Liy4LiU4LiB4Lit4LiH4LiV4LmJ4LiyJywKICAgIGxvY2F0aW9uOiAn4LiV4Lix4Lin4LmA4Lih4Li34Lit4LiH4Lil4Liz4Lib4Liy4LiHJywKICAgIHNob3BzOiBbCiAgICAgIHsgbmFtZTogJ+C4o+C5ieC4suC4meC4peC4s+C4m+C4suC4h+C5gOC4i+C4o+C4suC4oeC4tOC4gScsIGl0ZW06ICfguYDguIvguKPguLLguKHguLTguIHguKXguLLguKLguYTguIHguYgnIH0sCiAgICAgIHsgbmFtZTogJ+C4guC4meC4oeC4hOC4uOC4k+C4ouC4suC4oicsIGl0ZW06ICfguILguJnguKHguJ7guLfguYnguJnguYDguKHguLfguK3guIcnIH0sCiAgICAgIHsgbmFtZTogJ+C4nOC5ieC4suC4l+C4reC5hOC4l+C4peC4t+C5ieC4rScsIGl0ZW06ICfguJzguYnguLLguJ3guYnguLLguKLguJfguK3guKHguLfguK0nIH0sCiAgICBdLAogIH0sCiAgewogICAgbmFtZTogJ+C4leC4peC4suC4lOC4reC4seC4qOC4p+C4tOC4mScsCiAgICBsb2NhdGlvbjogJ+C4reC4s+C5gOC4oOC4reC5gOC4oeC4t+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AgICAgICAgJmx0Oy9kaXYmZ3Q7CiAgICAgICAgKSl9CiAgICAgICZsdDsvZGl2Jmd0OwogICAgJmx0Oy9kaXYmZ3Q7CiAgKTsKfQ==
// ตลาดลำปาง.jsx
import React from 'react';
const markets = [
{
name: 'กาดกองต้า',
location: 'ตัวเมืองลำปาง',
shops: [
{ name: 'ร้านลำปางเซรามิก', item: 'เซรามิกลายไก่' },
{ name: 'ขนมคุณยาย', item: 'ขนมพื้นเมือง' },
{ name: 'ผ้าทอไทลื้อ', item: 'ผ้าฝ้ายทอมือ' },
],
},
{
name: 'ตลาดอัศวิน',
location: 'อำเภอเมือง',
shops: [
{ name: 'ลำปางฟาร์ม', item: 'ผักปลอดสาร' },
{ name: 'ก๋วยเตี๋ยวป้าแดง', item: 'ก๋วยเตี๋ยวต้มยำ' },
],
},
{
name: 'ตลาดแม่เมาะ',
location: 'อำเภอแม่เมาะ',
shops: [
{ name: 'ร้านถ่านไม้ไผ่', item: 'ถ่านไม้ไผ่อัดแท่ง' },
{ name: 'กาแฟเหมืองเก่า', item: 'กาแฟดริปร้อน' },
],
},
];
export default function ตลาดลำปาง() {
return (
<div className="p-4 bg-yellow-50 min-h-screen">
<h1 className="text-3xl font-bold mb-4 text-center text-orange-800">ตลาดน่าเดินในลำปาง</h1>
<div className="grid md:grid-cols-2 gap-4">
{markets.map((market) => (
<div key={market.name} className="bg-white rounded-2xl shadow-md p-4">
<h2 className="text-xl font-semibold text-teal-700">{market.name}</h2>
<p className="text-sm text-gray-500">ที่ตั้ง: {market.location}</p>
<ul className="mt-2 list-disc list-inside">
{market.shops.map((shop) => (
<li key={shop.name}>
<span className="font-medium">{shop.name}</span> — {shop.item}
</li>
))}
</ul>
</div>
))}
</div>
</div>
);
}
// ตลาดลำปาง.jsx
import React from 'react';
const markets = [
{
name: 'กาดกองต้า',
location: 'ตัวเมืองลำปาง',
shops: [
{ name: 'ร้านลำปางเซรามิก', item: 'เซรามิกลายไก่' },
{ name: 'ขนมคุณยาย', item: 'ขนมพื้นเมือง' },
{ name: 'ผ้าทอไทลื้อ', item: 'ผ้าฝ้ายทอมือ' },
],
},
{
name: 'ตลาดอัศวิน',
location: 'อำเภอเมือง',
shops: [
{ name: 'ลำปางฟาร์ม', item: 'ผักปลอดสาร' },
{ name: 'ก๋วยเตี๋ยวป้าแดง', item: 'ก๋วยเตี๋ยวต้มยำ' },
],
},
{
name: 'ตลาดแม่เมาะ',
location: 'อำเภอแม่เมาะ',
shops: [
{ name: 'ร้านถ่านไม้ไผ่', item: 'ถ่านไม้ไผ่อัดแท่ง' },
{ name: 'กาแฟเหมืองเก่า', item: 'กาแฟดริปร้อน' },
],
},
];
export default function ตลาดลำปาง() {
return (
<div className="p-4 bg-yellow-50 min-h-screen">
<h1 className="text-3xl font-bold mb-4 text-center text-orange-800">ตลาดน่าเดินในลำปาง</h1>
<div className="grid md:grid-cols-2 gap-4">
{markets.map((market) => (
<div key={market.name} className="bg-white rounded-2xl shadow-md p-4">
<h2 className="text-xl font-semibold text-teal-700">{market.name}</h2>
<p className="text-sm text-gray-500">ที่ตั้ง: {market.location}</p>
<ul className="mt-2 list-disc list-inside">
{market.shops.map((shop) => (
<li key={shop.name}>
<span className="font-medium">{shop.name}</span> — {shop.item}
</li>
))}
</ul>
</div>
))}
</div>
</div>
);
}