Welcome to the Alpine Theme !!!
this is a blog theme and there is a lot of compenent that can help you crete your own blogs :)
for now, theses are the available components:
The hero compenent:
Hello I am a title
And here is a description.
This is the
right
layout (default)
The title is required but the description and the image is optional.
You can also use props
for the title and description instead of slots
.This is the left layout
You can even do markdown for the description and the title.
The title is required but the description and the image is optional.
You can also use
props
for the title and description instead of slots
.This is the layout without image.
props
supports YML and HTML syntax.
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris auctor dolor ante, vel vestibulum quam aliquet in. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis massa leo, malesuada ac ornare vitae, congue vel arcu. Sed molestie hendrerit posuere. Donec ex tortor, pretium ut eros at, pretium efficitur mi. Interdum et malesuada fames ac ante ipsum primis in faucibus. Pellentesque efficitur rhoncus nulla eget malesuada. Donec pharetra purus non rhoncus sodales. Nulla finibus quam sit amet rhoncus tempor.The gallery component:
With one image :
With two images :
With three images :
The code-block component:
#include <unistd.h>#include <stddef.h>void my_putchar(char c);int my_strlen(char const *str);int my_putstr(char const *str){ int lenstr = my_strlen(str); if (str == NULL) return 84; write(1, str, lenstr); return 0;}int my_put_nstr(char const *str, int nb){ int lenstr = my_strlen(str); if (lenstr > nb) { for (int i = 0; i < nb; i++) write(1, &str[i], 1); } else { for (int i = 0; i < nb - lenstr; i++) { my_putchar(' '); } my_putstr(str); } return 0;}