Skip to content

Commit

Permalink
[🎨,theme][l]: Basic PoC implementation
Browse files Browse the repository at this point in the history
-  Prepare a Ghost instance (staging environment) for testing the theme
-  Setup a Ghost theme using Tailwind CSS integration

- [home] Embed a list of posts and embed list of projects on the front page
- [home] Implement the hero section
- [home] Implement the Initiatives Page with a few sample project pages
  • Loading branch information
rufuspollock authored Sep 21, 2024
2 parents d342e82 + 3932159 commit ded6ec8
Show file tree
Hide file tree
Showing 26 changed files with 6,678 additions and 1,479 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/deploy-theme.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Learn more → https://github.com/TryGhost/action-deploy-theme#getting-started
name: Deploy Theme
on:
push:
branches:
- master
- main
jobs:
deploy:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- name: Deploy Ghost Theme
uses: TryGhost/action-deploy-theme@v1
with:
api-url: ${{ secrets.GHOST_ADMIN_API_URL }}
api-key: ${{ secrets.GHOST_ADMIN_API_KEY }}
working-directory: 'themes/lifeitself'
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
node_modules
3,140 changes: 3,138 additions & 2 deletions themes/lifeitself/assets/built/index.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion themes/lifeitself/assets/built/index.js

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

2 changes: 1 addition & 1 deletion themes/lifeitself/assets/built/index.js.map

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

26 changes: 26 additions & 0 deletions themes/lifeitself/assets/css/index.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
@tailwind base;
@tailwind components;
@tailwind utilities;

/*
This is a development CSS file that is compiled to a minified
Expand All @@ -8,6 +12,28 @@ production stylesheet in assets/built/screen.css using: npm run dev
/* Lib - Local component imports
/* ---------------------------------------------------------- */

/* Fonts */


@font-face {
font-family: "Restora";
src: url("/assets/fonts/Restora.ttf");
font-style: normal;
font-display: swap;
}
@font-face {
font-family: "Restora";
src: url("/assets/fonts/RestoraBold.ttf");
font-style: bold;
font-display: swap;
}
@font-face {
font-family: "Restora";
src: url("/assets/fonts/RestoraExtraLight.otf");
font-style: light;
font-display: swap;
}

/* Base components */
@import "vars.css";
@import "components/global.css";
Expand Down
Binary file added themes/lifeitself/assets/fonts/Restora.ttf
Binary file not shown.
Binary file added themes/lifeitself/assets/fonts/RestoraBold.ttf
Binary file not shown.
Binary file not shown.
33 changes: 33 additions & 0 deletions themes/lifeitself/assets/images/life-itself-logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
2 changes: 1 addition & 1 deletion themes/lifeitself/assets/js/index.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// JavaScript files are compiled and minified during the build process to the assets/built folder. See available scripts in the package.json file.

// Import CSS
import "../css/index.css";
// import "../css/index.css";

// Import JS
import menuOpen from "./menuOpen";
Expand Down
Loading

0 comments on commit ded6ec8

Please sign in to comment.