mirror of
https://github.com/TandoorRecipes/recipes.git
synced 2026-01-01 12:18:45 -05:00
improving the start page layout
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
<template>
|
||||
<v-row justify="space-between">
|
||||
<v-col>
|
||||
<h2><i class="fas fa-calendar-week fa-fw"></i> Meal Plans</h2>
|
||||
</v-col>
|
||||
</v-row>
|
||||
<!-- <v-row justify="space-between">-->
|
||||
<!-- <v-col>-->
|
||||
<!-- <h2><i class="fas fa-calendar-week fa-fw"></i> Meal Plans</h2>-->
|
||||
<!-- </v-col>-->
|
||||
<!-- </v-row>-->
|
||||
|
||||
<v-row class="mt-0" v-if="mealPlanWindows.length > 0">
|
||||
<v-col>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<template>
|
||||
<v-row justify="space-between">
|
||||
<v-col>
|
||||
<h2><i v-if="icon != 'undefined'" :class="icon + ' fa-fw'"></i> {{ title }}</h2>
|
||||
<h4><i v-if="icon != 'undefined'" :class="icon + ' fa-fw'"></i> {{ title }}</h4>
|
||||
</v-col>
|
||||
</v-row>
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
<v-window-item v-for="w in recipeWindows" class="pt-1 pb-1">
|
||||
<v-row>
|
||||
<v-col v-for="r in w" :key="r.id">
|
||||
<recipe-card :recipe="r" :show_description="true" :show_keywords="true" style="height: 25vh"></recipe-card>
|
||||
<recipe-card :recipe="r" :show_description="true" :show_keywords="true" style="height: 20vh"></recipe-card>
|
||||
</v-col>
|
||||
</v-row>
|
||||
</v-window-item>
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
>
|
||||
<template v-slot:activator="{ props }">
|
||||
<recipe-image
|
||||
height="60%"
|
||||
height="70%"
|
||||
width="100%"
|
||||
:recipe="componentProps.recipe"
|
||||
>
|
||||
@@ -31,17 +31,17 @@
|
||||
<!-- TODO decide if context menu should be re-added (maybe make it a setting) -->
|
||||
<!-- <recipe-context-menu class="float-end" :recipe="recipe"></recipe-context-menu>-->
|
||||
</v-card-item>
|
||||
<v-card-text>
|
||||
<div class="text-rows-2">
|
||||
<keywords-component variant="outlined" :keywords="componentProps.recipe.keywords">
|
||||
<template #prepend>
|
||||
<v-chip class="mb-1 me-1" size="x-small" prepend-icon="far fa-clock" label variant="outlined" v-if="componentProps.recipe.workingTime != undefined && componentProps.recipe.workingTime > 0">
|
||||
{{ recipe.workingTime! + recipe.waitingTime! }}
|
||||
</v-chip>
|
||||
</template>
|
||||
</keywords-component>
|
||||
</div>
|
||||
</v-card-text>
|
||||
<!-- <v-card-text>-->
|
||||
<!-- <div class="text-rows-2">-->
|
||||
<!-- <keywords-component variant="outlined" :keywords="componentProps.recipe.keywords">-->
|
||||
<!-- <template #prepend>-->
|
||||
<!-- <v-chip class="mb-1 me-1" size="x-small" prepend-icon="far fa-clock" label variant="outlined" v-if="componentProps.recipe.workingTime != undefined && componentProps.recipe.workingTime > 0">-->
|
||||
<!-- {{ recipe.workingTime! + recipe.waitingTime! }}-->
|
||||
<!-- </v-chip>-->
|
||||
<!-- </template>-->
|
||||
<!-- </keywords-component>-->
|
||||
<!-- </div>-->
|
||||
<!-- </v-card-text>-->
|
||||
|
||||
</v-card>
|
||||
</template>
|
||||
|
||||
Reference in New Issue
Block a user