Git Product home page Git Product logo

alpine's Introduction

Alpine

Alpine

npm version License npm downloads Nuxt Nuxt Studio Volta

The minimalist blog theme, powered by Nuxt.

Features

Quick Start

npx nuxi@latest init -t themes/alpine

Contributing 🙏

  1. Clone this repository
  2. Install dependencies using pnpm install
  3. Run pnpm prepare to generate type stubs.
  4. Use pnpm dev to start playground in development mode.

License

MIT

alpine's People

Contributors

anikghosh256 avatar atinux avatar bdrtsky avatar benjamincanac avatar bokub avatar clemcode avatar danielroe avatar deepinder10 avatar elkmod avatar eunjae-lee avatar farnabaz avatar flosciante avatar jdebarochez avatar larbish avatar lazygeniusman avatar novout avatar redcommand avatar renovate[bot] avatar sevichecc avatar shingangan avatar shiv19 avatar tahul avatar youhan avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

alpine's Issues

Support `<Markdown>` slot

I would like to explore the possibility of using slots for Markdown, see

alpine/elements/Hero.vue

Lines 19 to 20 in 00b07fe

<span v-if="$slots.title"><Markdown :use="$slots.title" unwrap="p" class="!my-0" /></span>
<span v-else>Default title</span>

Transforming:

<h1 class="text-3xl font-bold text-primary-900 dark:text-primary-100">
  <Markdown v-if="$slots.title" :use="$slots.title" unwrap="p" class="!my-0" />
  <span v-else>Default title</span>
</h1>

Into

<h1 class="text-3xl font-bold text-primary-900 dark:text-primary-100">
  <Markdown :use="$slots.title" unwrap="p" class="!my-0">Default title</Markdown>
</h1>

Also, with the current Hero implementation, I have this warning:
Screenshot 2022-08-02 at 02.13.51@2x.png

Improve theme config

The theme config should have at least:

  • title
  • description
  • image (used as global og:image)

The title can be used for the header.logo.alt by default.

You can use useContentHead(theme.value) in AppLayout.vue in order to give directly the meta data and let it handle the meta tags.

[Review] Contact page

Desktop, Tablet & Mobile

  • There is no label inside the input :
    Capture d’écran 2022-08-01 à 12.45.41.png

  • Reduce margin top & bottom of all the inputs a bit :
    Capture d’écran 2022-08-01 à 12.47.07.png

  • There is a bug on mobile with safari : needs border radius on the inputs :
    Get in touch.png

  • DarkMode : change colors of inputs : bg=gray/900 and stroke=gray/800

Logo

Customizable logo in config

[Review] Single article

  • Try to align the icon with text :
    Capture d’écran 2022-08-01 à 12.30.21.png
  • Try to fix the bug for the underline
    Capture d’écran 2022-08-01 à 12.31.01.png
  • Problem on the code block : add spacing between code and Yarn
    Capture d’écran 2022-08-01 à 12.31.31.png
  • Remove some spacing between title and list
    Capture d’écran 2022-08-01 à 12.32.36.png
  • Remove some spacing
    Capture d’écran 2022-08-01 à 12.33.59.png
  • Can you try to add a video :
    Capture d’écran 2022-08-01 à 12.35.03.png
  • Add border-radius on all medias :
    Capture d’écran 2022-08-01 à 12.36.44.png
  • Can you try to add an image here :
    Capture d’écran 2022-08-01 à 12.36.03.png

Tablet & Mobile

  • Add more line height on the title : 1 -> 1.25rem
    Capture d’écran 2022-08-01 à 12.41.02.png
    Understanding.png

Layouts

  • Default (header + footer + container with prose)
  • Page (header + footer + container)

Blocked by #10 #11

404 on /

404 error en / when no index.md

Page background

page background on bottom or when over-scroll on top / bottom

Cannot use with `extends`

Reproduction: yarn play in dev branch

Current error:
Screenshot 2022-08-01 at 20.23.00@2x.png

Following with this page on localhost:3000

Screenshot 2022-08-01 at 20.23.55.png

Note that yarn dev works perfectly as a normal Nuxt 3 app.

[Review] About page

Desktop

  • Title line height : 2.25 -> 2.5rem
  • Padding bottom : add 2.25rem
    Capture d’écran 2022-08-01 à 12.10.20.png
  • Add more margin-top : 1.25 -> 2.25rem
    Capture d’écran 2022-08-01 à 12.11.48.png
  • Same here : 1.25 -> 2.25 rem
    Capture d’écran 2022-08-01 à 12.12.47.png

Tablet & Mobile

  • Add padding bottom on the image and padding top on the text
    Capture d’écran 2022-08-01 à 12.16.08.png

`<ArticlesList>` component

This component should fetch the content/articles/ dir and render <ArticlesItem> components.

When iterating on articles, the highlight prop should be set automatically on the first item.

[Review] Articles page

  • Date color : should be one color lighter than the blog excerpt
    Capture d’écran 2022-08-01 à 12.24.02.png

  • Change title size to 32px
    Capture d’écran 2022-08-01 à 14.24.01.png

**Mobile **

  • Spacing should be the same everywhere
    Going Full Static.png

Prose config

configure prose to respect figma (ex: h2 underline)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.