Skip to content

Commit 4b00c34

Browse files
committed
update: hero.njk — convert to download on click
1 parent 6b1774f commit 4b00c34

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

playwright.config.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ import { defineConfig, devices } from '@playwright/test';
44
* Read environment variables from file.
55
* https://github.com/motdotla/dotenv
66
*/
7-
import dotenv from 'dotenv';
8-
import path from 'path';
9-
dotenv.config({ path: path.resolve(path.dirname("/"), '.env') });
7+
// import dotenv from 'dotenv';
8+
// import path from 'path';
9+
// dotenv.config({ path: path.resolve(path.dirname("/"), '.env') });
1010

1111

1212
const localhost = "http://localhost:8080"

src/_includes/sections/hero.njk

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,10 +78,10 @@
7878
<ul class="title-action__group">
7979
<li data-animation="left-show" data-delay="2">
8080
<a href="./assets/Curriculum Vitae.pdf"
81-
aria-label="Open PDF of my Curriculum Vitae"
81+
aria-label="Download my Curriculum Vitae"
8282
target="_blank"
8383
rel="noopener noreferrer"
84-
class="title-action">
84+
class="title-action" download>
8585
<svg fill="currentColor"
8686
viewBox="0 0 20 20"
8787
xmlns="http://www.w3.org/2000/svg"

0 commit comments

Comments
 (0)