Skip to content

Commit

Permalink
fix: projects template
Browse files Browse the repository at this point in the history
  • Loading branch information
andreiio committed Nov 27, 2023
1 parent edae666 commit 1a4abe5
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 25 deletions.
30 changes: 14 additions & 16 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,33 +1,31 @@
/.fleet
/.idea
/.phpunit.cache
/bootstrap/ssr
/.vscode
/coverage
/node_modules
/public/build
/public/hot
/public/storage
/public/vendor
/storage/*.key
/vendor
_ide_helper_models.php
_ide_helper.php
.env
.env.backup
.env.production
.phpunit.result.cache
Homestead.json
Homestead.yaml
auth.json
npm-debug.log
yarn-error.log
/.fleet
/.idea
/.vscode
build.sh
connect.sh
stop.sh
up.sh
.php_cs.cache
.php-cs-fixer.cache
.php-cs-fixer.php
.phpstorm.meta.php
.phpunit.result.cache
auth.json
docker-compose.override.yml
Homestead.json
Homestead.yaml
npm-debug.log
phpunit.xml
_ide_helper_models.php
_ide_helper.php
/.scannerwork/
yarn-error.log
.DS_Store
15 changes: 8 additions & 7 deletions resources/js/Pages/Public/Bcr/Show.vue
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,16 @@
</div>

<!-- Social share -->
<div class="container grid mx-auto mb-8 gap-y-8 gap-x-20 lg:grid-cols-5">
<div class="container grid items-start mx-auto mb-8 gap-y-8 gap-x-20 lg:grid-cols-5">
<div class="lg:col-span-3">
<h2 class="mb-8 text-3xl font-bold text-cyan-900">{{ $t('share_project') }}</h2>

<SharePage class="mb-20" :pageRoute="route('bcr.show', project.slug)" />

<div class="mb-10" v-if="project.description">
<h2 class="mb-6 text-3xl font-bold text-cyan-900">{{ $t('description') }}</h2>
<div class="text-lg text-gray-500" v-html="project.description"></div>
</div>
</div>

<div class="bg-white shadow-lg drop-shadow-sm lg:col-span-2">
Expand Down Expand Up @@ -67,12 +73,7 @@
</div>
</div>
</div>
<div class="container grid mx-auto mb-8 gap-y-8 gap-x-20">
<div class="mb-10" v-if="project.description">
<h2 class="mb-6 text-3xl font-bold text-cyan-900">{{ $t('description') }}</h2>
<div class="text-lg text-gray-500" v-html="project.description"></div>
</div>
</div>

<div class="container space-y-10">
<div v-if="project.external_links.length">
<div class="flex items-center gap-4 mb-8">
Expand Down
4 changes: 2 additions & 2 deletions resources/js/Pages/Public/Projects/Show.vue
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@
</div>

<!-- Social share -->
<div class="container grid mx-auto mb-8 gap-y-8 gap-x-20 lg:grid-cols-5">
<div class="container grid items-start mx-auto mb-8 gap-y-8 gap-x-20 lg:grid-cols-5">
<div class="lg:col-span-3">
<h2 class="mb-8 text-3xl font-bold text-cyan-900">{{ $t('share_project') }}</h2>

Expand Down Expand Up @@ -285,7 +285,7 @@
import SharePage from '@/Components/SharePage.vue';
import LargeSquarePattern from '@/Components/patterns/LargeSquarePattern.vue';
import { ExternalLinkIcon } from '@heroicons/vue/outline';
import Gallery from "@/Components/Gallery.vue";
import Gallery from '@/Components/Gallery.vue';
const props = defineProps({
project: {
Expand Down

0 comments on commit 1a4abe5

Please sign in to comment.