Compare commits

..

2 commits

Author SHA1 Message Date
37e80e6c96
ditch webpack
All checks were successful
/ build (push) Successful in 9s
2024-07-06 00:26:49 -07:00
e2f220d4bb
css 2024-07-06 00:20:25 -07:00
11 changed files with 22 additions and 12 deletions

View file

@ -11,13 +11,15 @@ jobs:
ruby-version: '3.2.2' # Not needed with a .ruby-version file
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
cache-version: 0 # Increment this number if you need to re-download cached gems
- uses: actions/setup-node@v4
with:
node-version: 22
cache: 'npm'
- name: Install node dependencies
run: npm install
# - uses: actions/setup-node@v4
# with:
# node-version: 22
# cache: 'npm'
# - name: Install node dependencies
# run: npm install
# - name: Build
# run: npm run build
- name: Build
run: npm run build
run: bundle exec jekyll build
- name: Copy
run: cp -r dist/* /pages/

2
.gitignore vendored
View file

@ -130,4 +130,4 @@ dist
.yarn/install-state.gz
.pnp.*
assets
#assets

View file

@ -30,8 +30,8 @@ github_username: sneakers-the-rat
# directories
source: ./src
destination: ./dist
keep_files:
- assets # Build settings
# keep_files:
# - assets # Build settings
#theme: minima
plugins:
- jekyll-feed

View file

@ -2,5 +2,6 @@
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="x-ua-compatible" content="ie=edge" />
<link rel="stylesheet" href="{{ "/assets/css/main.css" | relative_url }}">
<title>{{ page.title }}</title>

View file

@ -1,8 +1,10 @@
<!DOCTYPE html>
<html lang="en" prefix="foaf: http://xmlns.com/foaf/0.1/"><head><script defer src="/assets/app.bundle.js"></script></head>
<html lang="en" prefix="foaf: http://xmlns.com/foaf/0.1/"><head>
{% include head.html %}
</head>
<body>
{% if page.navigation %}

View file

@ -1,6 +1,7 @@
body {
width: 100%;
height: 100%
height: 100%;
background-color: #ff0000;
}
#container {

4
src/assets/css/main.scss Normal file
View file

@ -0,0 +1,4 @@
---
---
@import "index";