-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🎨 Tailwind configuration & other improvements
- Loading branch information
Showing
10 changed files
with
432 additions
and
142 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,7 @@ | ||
<footer | ||
class="bg-background dark:bg-background-dark prose dark:prose-invert max-w-none flex flex-col items-center justify-center w-full h-auto pt-10 pb-20"> | ||
<div class="flex w-full flex-wrap justify-center"><a | ||
class="inline-flex items-center mx-4 px-1 pt-1 font-regular hover:text-slate-300 no-underline" | ||
href="/about">About</a><a | ||
class="inline-flex items-center mx-4 px-1 pt-1 font-regular hover:text-slate-300 no-underline" | ||
href="/people">People</a><a | ||
class="inline-flex items-center mx-4 px-1 pt-1 font-regular hover:text-slate-300 no-underline" | ||
href="/upcoming-residencies-gatherings">Residencies</a><a | ||
class="inline-flex items-center mx-4 px-1 pt-1 font-regular hover:text-slate-300 no-underline" | ||
href="/initiatives">Initiatives</a><a | ||
class="inline-flex items-center mx-4 px-1 pt-1 font-regular hover:text-slate-300 no-underline" | ||
href="/ecosystem">Ecosystem</a><a | ||
class="inline-flex items-center mx-4 px-1 pt-1 font-regular hover:text-slate-300 no-underline" | ||
href="/blog">Blog</a><a | ||
class="inline-flex items-center mx-4 px-1 pt-1 font-regular hover:text-slate-300 no-underline" | ||
href="/podcast">Podcast</a><a | ||
class="inline-flex items-center mx-4 px-1 pt-1 font-regular hover:text-slate-300 no-underline" | ||
href="/contact">Contact</a></div> | ||
<p class="flex items-center justify-center">Created by<a href="https://lifeitself.org" target="_blank" | ||
rel="noopener noreferrer" class="flex items-center no-underline"><img | ||
src="{{asset 'images/life-itself-logo.svg'}}" alt="Life Itself" class="my-0 mx-1 h-6 block">Life Itself</a> | ||
</p> | ||
<p class="flex items-center justify-center">Made with<a href="https://flowershow.app/" target="_blank" | ||
rel="noopener noreferrer" class="flex items-center no-underline"><img | ||
src="https://flowershow.app/images/logo.svg" alt="Flowershow" class="my-0 h-6 block">Flowershow</a></p> | ||
<footer class="bg-background dark:bg-background-dark prose dark:prose-invert max-w-none flex flex-col items-center justify-center w-full h-auto pt-10 pb-20"> | ||
<div class="flex w-full flex-wrap justify-center"> | ||
{{navigation type="secondary"}} | ||
</div> | ||
<p class="flex items-center justify-center">Created by<a href="https://lifeitself.org" target="_blank" rel="noopener noreferrer" class="flex items-center no-underline"><img src="{{asset 'images/life-itself-logo.svg'}}" alt="Life Itself" class="my-0 mx-1 h-6 block">Life Itself</a> </p> | ||
<p class="flex items-center justify-center">Made with<a href="https://flowershow.app/" target="_blank" rel="noopener noreferrer" class="flex items-center no-underline"><img src="https://flowershow.app/images/logo.svg" alt="Flowershow" class="my-0 h-6 block">Flowershow</a></p> | ||
</footer> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,15 @@ | ||
{{#if isSecondary}} | ||
<ul class="nav" role="menu"> | ||
{{#foreach navigation}} | ||
<li class="nav-{{slug}}" role="menuitem"> | ||
<a href="{{url}}"> | ||
<svg class="icon" role="img" aria-label="{{slug}} icon"> | ||
<title>{{slug}}</title> | ||
<use xlink:href="#{{slug}}"></use> | ||
</svg> | ||
</a> | ||
</li> | ||
{{/foreach}} | ||
</ul> | ||
{{#foreach navigation}} | ||
<a class="inline-flex items-center mx-4 px-1 pt-1 font-regular hover:text-slate-300 no-underline" href="{{url absolute="true"}}">{{label}}</a> | ||
{{/foreach}} | ||
{{else}} | ||
{{#foreach navigation}} | ||
<div class="relative" data-headlessui-state=""> | ||
<button id="headlessui-menu-button-:r1:" type="button" aria-haspopup="true" aria-expanded="false" | ||
data-headlessui-state=""><a | ||
class="text-slate-500 inline-flex items-center mr-2 px-1 pt-1 text-sm font-medium hover:text-slate-600" | ||
href="{{url absolute="true"}}">{{label}}</a> | ||
</button> | ||
</div> | ||
{{/foreach}} | ||
{{#foreach navigation}} | ||
<div class="relative" data-headlessui-state=""> | ||
<button id="headlessui-menu-button-:r1:" type="button" aria-haspopup="true" aria-expanded="false" | ||
data-headlessui-state=""><a | ||
class="text-slate-500 inline-flex items-center mr-2 px-1 pt-1 text-sm font-medium hover:text-slate-600" | ||
href="{{url absolute="true"}}">{{label}}</a> | ||
</button> | ||
</div> | ||
{{/foreach}} | ||
{{/if}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,42 @@ | ||
/** @type {import('tailwindcss').Config} */ | ||
const defaultTheme = require("tailwindcss/defaultTheme"); | ||
const colors = require("tailwindcss/colors"); | ||
|
||
export default { | ||
content: ["./*.hbs", "./**/*.hbs"], | ||
theme: { | ||
extend: {} | ||
extend: { | ||
// support wider width for large screens >1440px eg. in hero | ||
maxWidth: { | ||
"8xl": "88rem", | ||
}, | ||
fontFamily: { | ||
sans: ["ui-sans-serif", ...defaultTheme.fontFamily.sans], | ||
serif: ["ui-serif", ...defaultTheme.fontFamily.serif], | ||
mono: ["ui-monospace", ...defaultTheme.fontFamily.mono], | ||
headings: ["Restora", ...defaultTheme.fontFamily.sans], | ||
research: ["EB Garamond", ...defaultTheme.fontFamily.serif], | ||
}, | ||
colors: { | ||
background: { | ||
DEFAULT: colors.white, | ||
dark: colors.slate[900], | ||
}, | ||
primary: { | ||
DEFAULT: colors.gray[700], | ||
dark: colors.gray[300], | ||
}, | ||
// lifeitself theme color | ||
secondary: { | ||
DEFAULT: "#F0CA5E", | ||
dark: "#F0CA5E", | ||
}, | ||
}, | ||
}, | ||
}, | ||
plugins: [ | ||
require('@tailwindcss/typography') | ||
require('@tailwindcss/typography'), | ||
require('@tailwindcss/line-clamp'), | ||
require('@tailwindcss/forms'), | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters