From 8f2f4de5dc9a882030ca01e50cec66ed0f3dfc80 Mon Sep 17 00:00:00 2001 From: Ben Holmes Date: Tue, 26 Apr 2022 20:37:58 -0400 Subject: Feat: new just the basics template (#3206) * feat: new just-the-basics example * chore: update package name * chore: update lockfile * refactor: simplify meta tags Co-authored-by: Nate Moore * refactor: use `system-ui` for base font Co-authored-by: Nate Moore * Update examples/just-the-basics/src/components/Layout.astro Co-authored-by: Nate Moore * refactor: just-the-basics -> basics (now 10% more basic!) * refactor: add type checking to layout prop * nit: change "astro-text" to "text-gradient" * refactor: simplify CSS grid * feat: make transition easing 10% fancier * change to text gradient because people gooootta have opinions huh * nit: rename CSS class to "instructions" * refactor: use ul > li for containers * chore: update lockfile * feat: style tweaks Co-authored-by: Nate Moore Co-authored-by: Nate Moore --- examples/basics/src/components/Layout.astro | 55 +++++++++++++++++++++++++++++ 1 file changed, 55 insertions(+) create mode 100644 examples/basics/src/components/Layout.astro (limited to 'examples/basics/src/components') diff --git a/examples/basics/src/components/Layout.astro b/examples/basics/src/components/Layout.astro new file mode 100644 index 000000000..cf1c00262 --- /dev/null +++ b/examples/basics/src/components/Layout.astro @@ -0,0 +1,55 @@ +--- +export interface Props { + title: string; +} + +const { title } = Astro.props as Props; +--- + + + + + + + + {title} + + + + + + + -- cgit v1.2.3