Skip to content

Commit

Permalink
feat: Added logo and compiled assets
Browse files Browse the repository at this point in the history
  • Loading branch information
holmey committed Apr 3, 2023
1 parent 223abea commit 0e91ac4
Show file tree
Hide file tree
Showing 9 changed files with 27 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -48,4 +48,5 @@ logs
*.log
node_modules
dist
!public/assets/dist
.dev
1 change: 1 addition & 0 deletions public/assets/dist/assets/main-29324a2a.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
console.log("halwlo");
1 change: 1 addition & 0 deletions public/assets/dist/assets/main-5f11c2bd.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 14 additions & 0 deletions public/assets/dist/manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"main.css": {
"file": "assets/main-5f11c2bd.css",
"src": "main.css"
},
"main.ts": {
"css": [
"assets/main-5f11c2bd.css"
],
"file": "assets/main-29324a2a.js",
"isEntry": true,
"src": "main.ts"
}
}
1 change: 1 addition & 0 deletions public/assets/logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions site/snippets/header.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@
</head>
<body>
<header>
<a href="/" class="logo">
<?= svg("assets/logo.svg") ?>
</a>
<nav>
<?php if($site->navigation()->isNotEmpty()): ?>
<ul>
Expand Down
3 changes: 2 additions & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import './style.css';
import './reset.css';
import './styles.css';

import Alpine from 'alpinejs';

Expand Down
File renamed without changes.
4 changes: 4 additions & 0 deletions src/styles.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
.logo {
display: inline-block;
width: 100px;
}

0 comments on commit 0e91ac4

Please sign in to comment.