Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Linkedin #184

Merged
merged 3 commits into from
Aug 16, 2024
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"clean": "rm -Rf static/files/* && touch static/files/.gitkeep && rm -Rf src/pages/* && touch src/pages/.gitkeep && rm -Rf src/posts/* && touch src/posts/.gitkeep"
},
"devDependencies": {
"@divriots/jampack": "^0.24.4",
"@divriots/jampack": "^0.25.0",
"@playwright/test": "^1.45.1",
"@skeletonlabs/skeleton": "^2.10.1",
"@skeletonlabs/tw-plugin": "^0.4.0",
Expand All @@ -39,7 +39,7 @@
"autoprefixer": "^10.4.19",
"cheerio": "1.0.0-rc.12",
"dompurify": "^3.1.6",
"eslint": "^9.6.0",
"eslint": "^9.8.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-svelte": "^2.41.0",
"husky": "^9.0.11",
Expand All @@ -50,18 +50,18 @@
"postcss": "^8.4.39",
"prettier": "^3.3.2",
"prettier-plugin-organize-imports": "^4.0.0",
"prettier-plugin-svelte": "^3.2.5",
"prettier-plugin-svelte": "^3.2.6",
"prettier-plugin-tailwindcss": "^0.6.5",
"rehype-autolink-headings": "^7.1.0",
"rehype-external-links": "^3.0.0",
"rehype-slug": "^6.0.0",
"remark-captions": "^2.2.4",
"svelte": "^4.2.18",
"svelte-check": "^3.8.4",
"svelte-check": "^3.8.5",
"svelte-maplibre": "^0.9.8",
"tailwindcss": "^3.4.4",
"turndown": "^7.2.0",
"typescript": "^5.5.3",
"typescript": "^5.5.4",
"vite": "^5.3.3",
"vite-plugin-tailwind-purgecss": "^0.3.3",
"vitest": "^2.0.1",
Expand Down
1 change: 1 addition & 0 deletions src/lib/components/Head.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
logo: config.url + '/android-chrome-512x512.png',
sameAs: [
'https://www.instagram.com/' + config.instagramHandle,
'https://www.linkedin.com/company/' + config.linkedinHandle,
'https://twitter.com/' + config.twitterHandle,
'https://github.com/' + config.githubHandle
]
Expand Down
6 changes: 6 additions & 0 deletions src/lib/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,12 @@ export const instagramHandle = 'sta.ge.ba';
*/
export const twitterHandle = '@basel_stadt';

/**
* The LinkedIn handle associated with the website.
* @type {string}
*/
export const linkedinHandle = 'stadt-geschichte-basel';

/**
* The GitHub handle or organization associated with the website's repository.
* @type {string}
Expand Down
8 changes: 4 additions & 4 deletions src/routes/+layout.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -113,14 +113,14 @@
<ul class="grid grid-flow-col gap-4">
<li>
<a
href="https://twitter.com/{config.twitterHandle}/"
aria-label="Twitter"
href="https://www.linkedin.com/company/{config.linkedinHandle}/"
aria-label="LinkedIn"
rel="noopener noreferrer"
target="_blank"
>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="h-8 fill-white"
><!--! Font Awesome Free 6.4.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2023 Fonticons, Inc. --><path
d="M389.2 48h70.6L305.6 224.2 487 464H345L233.7 318.6 106.5 464H35.8L200.7 275.5 26.8 48H172.4L272.9 180.9 389.2 48zM364.4 421.8h39.1L151.1 88h-42L364.4 421.8z"
><!--!Font Awesome Free 6.5.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2024 Fonticons, Inc.--><path
d="M100.3 448H7.4V148.9h92.9zM53.8 108.1C24.1 108.1 0 83.5 0 53.8a53.8 53.8 0 0 1 107.6 0c0 29.7-24.1 54.3-53.8 54.3zM447.9 448h-92.7V302.4c0-34.7-.7-79.2-48.3-79.2-48.3 0-55.7 37.7-55.7 76.7V448h-92.8V148.9h89.1v40.8h1.3c12.4-23.5 42.7-48.3 87.9-48.3 94 0 111.3 61.9 111.3 142.3V448z"
/></svg
></a
>
Expand Down
Loading