mirror of
https://github.com/hex248/ob248.com.git
synced 2026-02-08 02:33:02 +00:00
added github and cv as options to command palette
This commit is contained in:
@@ -7,6 +7,15 @@ interface Props {}
|
|||||||
const {} = Astro.props;
|
const {} = Astro.props;
|
||||||
|
|
||||||
const options = [{ name: "home", location: "/" }];
|
const options = [{ name: "home", location: "/" }];
|
||||||
|
options.push({
|
||||||
|
name: "GitHub",
|
||||||
|
location: "https://github.com/hex248",
|
||||||
|
});
|
||||||
|
options.push({
|
||||||
|
name: "CV",
|
||||||
|
location: "/cv.pdf",
|
||||||
|
});
|
||||||
|
|
||||||
// add all individual projects to options
|
// add all individual projects to options
|
||||||
Object.values(
|
Object.values(
|
||||||
import.meta.glob<AstroModule>("../pages/projects/*.astro", { eager: true })
|
import.meta.glob<AstroModule>("../pages/projects/*.astro", { eager: true })
|
||||||
|
|||||||
Reference in New Issue
Block a user