...
This commit is contained in:
@@ -15,7 +15,7 @@ import securityImage from '../assets/person.jpg'; // Digital privacy
|
||||
import swarmImage from '../assets/swarm.jpg'; // AI Agent Creation
|
||||
|
||||
// Use Vite's import.meta.glob to import all tech markdown files
|
||||
const techModules = import.meta.glob('../blogs/tech_*.md', { query: '?raw', import: 'default', eager: true });
|
||||
const techModules = import.meta.glob('../content/tech/*.md', { query: '?raw', import: 'default', eager: true });
|
||||
|
||||
const Technology = () => {
|
||||
const [technologies, setTechnologies] = useState([]);
|
||||
@@ -225,7 +225,7 @@ const Technology = () => {
|
||||
))
|
||||
) : (
|
||||
technologies.map((spec, index) => (
|
||||
<Link key={index} to={`/tech/${spec.slug}`} className="block">
|
||||
<Link key={index} to={`/blog/tech/${spec.slug}`} className="block">
|
||||
<FeatureCard
|
||||
icon={spec.icon}
|
||||
title={spec.title}
|
||||
|
Reference in New Issue
Block a user