From 22dcb0fe625d486f08baf43ce232709d8e55db83 Mon Sep 17 00:00:00 2001 From: chark1es Date: Mon, 3 Feb 2025 03:25:45 -0800 Subject: [PATCH] fix the resume preview --- src/components/profile/UserSettings.astro | 94 ++++++++--------------- 1 file changed, 32 insertions(+), 62 deletions(-) diff --git a/src/components/profile/UserSettings.astro b/src/components/profile/UserSettings.astro index 49598a1..9f2a7b1 100644 --- a/src/components/profile/UserSettings.astro +++ b/src/components/profile/UserSettings.astro @@ -1,6 +1,8 @@ --- -// Import the majors list +// Import the majors list and FilePreviewModal import allMajors from "../../data/allUCSDMajors.txt?raw"; +import FilePreviewModal from "../modals/FilePreviewModal.astro"; + const majorsList: string[] = allMajors .split("\n") .filter((major: string) => major.trim()) @@ -226,49 +228,8 @@ const majorsList: string[] = allMajors - - - - - + +