v0.12.5 Remove download button from publications
This commit is contained in:
parent
157905b55d
commit
01be75571f
3 changed files with 38 additions and 5 deletions
|
|
@ -10,7 +10,7 @@ const publicationsData = [
|
||||||
year: 2024,
|
year: 2024,
|
||||||
doi: "10.1109/CCECE59415.2024.10667089",
|
doi: "10.1109/CCECE59415.2024.10667089",
|
||||||
link: "https://ieeexplore.ieee.org/document/10667089",
|
link: "https://ieeexplore.ieee.org/document/10667089",
|
||||||
pdfLink: "/assets/papers/sem_com01.pdf",
|
// pdfLink: "/assets/papers/sem_com01.pdf",
|
||||||
},
|
},
|
||||||
// Add more publications as needed
|
// Add more publications as needed
|
||||||
];
|
];
|
||||||
|
|
@ -32,9 +32,9 @@ const Publications = () => {
|
||||||
<a href={pub.link} target="_blank" rel="noopener noreferrer" className={styles.readLink}>
|
<a href={pub.link} target="_blank" rel="noopener noreferrer" className={styles.readLink}>
|
||||||
Read Publication
|
Read Publication
|
||||||
</a>
|
</a>
|
||||||
<a href={pub.pdfLink} download className={styles.downloadLink}>
|
{/* <a href={pub.pdfLink} download className={styles.downloadLink}>
|
||||||
Download PDF
|
Download PDF
|
||||||
</a>
|
</a> */}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
))}
|
))}
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,40 @@ export const fetchEducationData = async () => {
|
||||||
const response = await fetch("/assets/data/educationData.json");
|
const response = await fetch("/assets/data/educationData.json");
|
||||||
return await response.json();
|
return await response.json();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
// import axios from 'axios';
|
||||||
|
|
||||||
|
// export const educationService = {
|
||||||
|
// async getEducation() {
|
||||||
|
// try {
|
||||||
|
// const response = await axios.get('/api/portfolio/education');
|
||||||
|
|
||||||
|
// // Transform the API response to match your component's expected format
|
||||||
|
// return response.data.map(({ education, achievements, skills, techStack }) => ({
|
||||||
|
// id: education.id,
|
||||||
|
// title: education.title,
|
||||||
|
// organization: education.organization,
|
||||||
|
// logo: education.logo,
|
||||||
|
// location: education.location,
|
||||||
|
// duration: education.duration,
|
||||||
|
// description: education.description,
|
||||||
|
// // Convert achievements array of objects to array of strings
|
||||||
|
// achievements: achievements.map(a => a.description),
|
||||||
|
// // Convert skills array of objects to array of strings
|
||||||
|
// skills: skills.map(s => s.name),
|
||||||
|
// // Convert techStack array of objects to array of strings
|
||||||
|
// techStack: techStack.map(t => t.name),
|
||||||
|
// skillsTitle: education.skillsTitle,
|
||||||
|
// techStackTitle: education.techStackTitle
|
||||||
|
// }));
|
||||||
|
|
||||||
|
// } catch (error) {
|
||||||
|
// console.error('Error fetching education data:', error);
|
||||||
|
// throw error;
|
||||||
|
// }
|
||||||
|
// }
|
||||||
|
// };
|
||||||
|
|
||||||
export const fetchExperienceData = async () => {
|
export const fetchExperienceData = async () => {
|
||||||
const response = await fetch("/assets/data/experienceData.json");
|
const response = await fetch("/assets/data/experienceData.json");
|
||||||
return await response.json();
|
return await response.json();
|
||||||
|
|
|
||||||
|
|
@ -1 +1 @@
|
||||||
0.12.4
|
0.12.5
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue