Several changes :)
All checks were successful
Docker Deploy / build-and-push (push) Successful in 3m16s
All checks were successful
Docker Deploy / build-and-push (push) Successful in 3m16s
This commit is contained in:
@@ -49,7 +49,7 @@ export default function ResumeDownloadButton({
|
||||
<button
|
||||
onClick={handleDownload}
|
||||
disabled={isLoading}
|
||||
class={`btn btn-primary inline-flex items-center gap-2 text-sm sm:text-base ${className}`}
|
||||
class={`btn btn-primary rounded-full inline-flex items-center gap-2 text-sm sm:text-base ${className}`}
|
||||
>
|
||||
{isLoading ? (
|
||||
<>
|
||||
|
@@ -205,22 +205,20 @@ export default function ResumeSettingsModal({
|
||||
>
|
||||
<button
|
||||
role="tab"
|
||||
class={`px-4 py-2 rounded-full text-sm font-medium transition-all duration-200 ${
|
||||
activeTab === "upload"
|
||||
? "bg-primary text-primary-content shadow-sm"
|
||||
: "text-base-content/70 hover:text-base-content hover:bg-base-200"
|
||||
}`}
|
||||
class={`px-4 py-2 rounded-full text-sm transition-all duration-200 ${activeTab === "upload"
|
||||
? "bg-primary font-bold text-primary-content shadow-sm"
|
||||
: "text-base-content/70 hover:text-base-content font-bold hover:bg-base-200"
|
||||
}`}
|
||||
onClick={() => setActiveTab("upload")}
|
||||
>
|
||||
Upload File
|
||||
</button>
|
||||
<button
|
||||
role="tab"
|
||||
class={`px-4 py-2 rounded-full text-sm font-medium transition-all duration-200 ${
|
||||
activeTab === "edit"
|
||||
? "bg-primary text-primary-content shadow-sm"
|
||||
: "text-base-content/70 hover:text-base-content hover:bg-base-200"
|
||||
}`}
|
||||
class={`px-4 py-2 rounded-full text-sm font-bold transition-all duration-200 ${activeTab === "edit"
|
||||
? "bg-primary text-primary-content shadow-sm"
|
||||
: "text-base-content/70 hover:text-base-content font-bold hover:bg-base-200"
|
||||
}`}
|
||||
onClick={() => setActiveTab("edit")}
|
||||
>
|
||||
Edit TOML
|
||||
@@ -234,22 +232,20 @@ export default function ResumeSettingsModal({
|
||||
{activeTab === "upload" && (
|
||||
<div class="h-full">
|
||||
<div
|
||||
class={`border-2 border-dashed rounded-lg p-6 text-center transition-colors h-full flex items-center justify-center ${
|
||||
dragActive.value
|
||||
? "border-primary bg-primary/10"
|
||||
: "border-base-300 hover:border-primary/50"
|
||||
}`}
|
||||
class={`border-2 border-dashed rounded-lg p-6 text-center transition-colors h-full flex items-center justify-center ${dragActive.value
|
||||
? "border-primary bg-primary/10"
|
||||
: "border-base-300 hover:border-primary/50"
|
||||
}`}
|
||||
onDrop={handleDrop}
|
||||
onDragOver={handleDragOver}
|
||||
onDragLeave={handleDragLeave}
|
||||
>
|
||||
<div class="space-y-4">
|
||||
<div class="text-4xl">📄</div>
|
||||
<div>
|
||||
<p class="text-lg font-medium">
|
||||
Drop your TOML file here
|
||||
</p>
|
||||
<p class="text-base-content/70">or click to browse</p>
|
||||
<p class="text-base-content/70">or click below to browse</p>
|
||||
</div>
|
||||
<input
|
||||
type="file"
|
||||
|
@@ -62,11 +62,6 @@ export const homepageSections: HomepageSections = {
|
||||
// Resume Configuration
|
||||
export const resumeConfig: ResumeConfig = {
|
||||
tomlFile: resumeToml,
|
||||
pdfFile: {
|
||||
path: "/files/Atridad_Lahiji_Resume.pdf",
|
||||
filename: "Atridad_Lahiji_Resume.pdf",
|
||||
displayText: "Download Resume (PDF)",
|
||||
},
|
||||
layout: {
|
||||
leftColumn: ["experience", "volunteer"],
|
||||
rightColumn: ["skills", "education", "awards"],
|
||||
|
@@ -52,11 +52,6 @@ export interface NavigationItem {
|
||||
|
||||
export interface ResumeConfig {
|
||||
tomlFile: string; // Can be a file path or raw TOML content
|
||||
pdfFile: {
|
||||
path: string;
|
||||
filename: string;
|
||||
displayText: string;
|
||||
};
|
||||
layout?: {
|
||||
leftColumn?: string[];
|
||||
rightColumn?: string[];
|
||||
|
Reference in New Issue
Block a user