Skip to content

Commit

Permalink
Merge pull request #27 from data-miner00/dev
Browse files Browse the repository at this point in the history
Revert custom image container
  • Loading branch information
data-miner00 authored May 19, 2024
2 parents e59f9fd + 4eb4874 commit 9f72fa8
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 50 deletions.
6 changes: 5 additions & 1 deletion components/VFooter.vue
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
<script setup lang="ts">
const date = new Date();
</script>

<template>
<footer class="footer relative pt-10 pb-10 lg:pb-24 lg:pt-28">
<div
Expand Down Expand Up @@ -156,7 +160,7 @@
<footer
class="pt-12 mx-auto px-6 lg:max-w-[75rem] text-gray-400 text-sm text-center lg:text-left"
>
Templatr &copy; 2023 by Shaun. All rights unreserved.
Templatr &copy; {{ date.getFullYear() }} by Shaun. All rights unreserved.
</footer>
</footer>
</template>
Expand Down
47 changes: 0 additions & 47 deletions components/content/ProseImg.vue

This file was deleted.

2 changes: 1 addition & 1 deletion content/fr/guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ content/

![ma belle image](/images/demo.png)

Voici à quoi ressemble une image de portrait dans la prose. Il est centré dans un conteneur personnalisé via le fichier `ProseImg.vue` personnalisé dans le dossier `components/content` et s'étendra jusqu'à la largeur maximale disponible dans le conteneur. Les images qui seront servies avec l'application peuvent être placées dans le répertoire `public`. Par exemple, les images du dossier `/public/images` sont accessibles directement via le chemin `/images/img.jpg`.
Voici à quoi ressemble une image de portrait dans la prose. Il est aligné à gauche et s'étendra jusqu'à la largeur maximale disponible dans la prose. Les images qui seront diffusées avec l'application peuvent être placées dans le répertoire "public". Par exemple, les images du dossier `/public/images` sont accessibles via le chemin `/images/img.jpg` directement.

```md
![ma belle image](/images/demo.png)
Expand Down
2 changes: 1 addition & 1 deletion content/guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ content/

![my cool image](/images/demo.png)

This is how a portrait image looks like within the prose. It is centered within a custom container via the custom `ProseImg.vue` in the `components/content` folder and will extend to the max width available in the container. Images that will be served alongside with the app can be placed within the `public` directory. For instance, images within the `/public/images` folder can be accessed via the path `/images/img.jpg` directly.
This is how a portrait image looks like within the prose. It is left aligned and will extend to the max width available in the prose. Images that will be served alongside with the app can be placed within the `public` directory. For instance, images within the `/public/images` folder can be accessed via the path `/images/img.jpg` directly.

```md
![my cool image](/images/demo.png)
Expand Down

0 comments on commit 9f72fa8

Please sign in to comment.