chore: add Innofounder logo to public, wire to home page
This commit is contained in:
parent
49f5d976fb
commit
6cbab5ba36
4 changed files with 4 additions and 3 deletions
|
|
@ -11,7 +11,8 @@
|
|||
"Bash(node scripts/migrate.js)",
|
||||
"Bash(node scripts/seed.js)",
|
||||
"Bash(pnpm typecheck *)",
|
||||
"Bash(pnpm build *)"
|
||||
"Bash(pnpm build *)",
|
||||
"Bash(identify /home/jonathan/Documents/DEV/Project-Bifrost/public/innofounder-logo.png)"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
|
|||
BIN
design/assets/innovationsfonden_logo.png
Normal file
BIN
design/assets/innovationsfonden_logo.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 61 KiB |
BIN
public/innofounder-logo.png
Normal file
BIN
public/innofounder-logo.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 61 KiB |
|
|
@ -8,7 +8,7 @@ import { join } from 'path';
|
|||
const user = Astro.locals.user;
|
||||
const firstName = user.name.split(' ')[0];
|
||||
const alreadyJoined = hasJoinRequest(user.id);
|
||||
const innofoundarLogoExists = existsSync(join(process.cwd(), 'public/innofounder-logo.svg'));
|
||||
const innofoundarLogoExists = existsSync(join(process.cwd(), 'public/innofounder-logo.png'));
|
||||
---
|
||||
<AppLayout title="Home" user={user}>
|
||||
<div class="page">
|
||||
|
|
@ -80,7 +80,7 @@ const innofoundarLogoExists = existsSync(join(process.cwd(), 'public/innofounder
|
|||
<section class="section innofounder-section">
|
||||
<div class="innofounder-header">
|
||||
{innofoundarLogoExists ? (
|
||||
<img src="/innofounder-logo.svg" alt="Innofounder — Innovation Fund Denmark" class="innofounder-logo" />
|
||||
<img src="/innofounder-logo.png" alt="Innofounder — Innovation Fund Denmark" class="innofounder-logo" />
|
||||
) : (
|
||||
<div class="innofounder-placeholder" aria-label="Innofounder logo — add file">
|
||||
<span class="label-sm">Innofounder logo — add <code>public/innofounder-logo.svg</code></span>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue