Description |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import type { SanityDocument } from 'sanity'; | |
import type { ListItemBuilder } from 'sanity/desk'; | |
import { AddIcon, WarningFilledIcon } from '@sanity/icons'; | |
import { map } from 'rxjs/operators'; | |
import { defineRegionStructure } from '~/utils/defineStructure'; | |
import { regionalDocumentTypeList } from '~/utils/regionalDocumentListItem'; | |
import { options } from '~/config/options'; | |
import { TEMPLATES } from '~/constants/templates'; | |
import { INTENT } from '~/constants/sanity/intent'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
id: 34241 | |
name: entelechy-api | |
environments: | |
development: | |
domain: dev-api.entelechy.academy | |
memory: 1024 | |
cli-memory: 512 | |
gateway-version: 2 | |
runtime: docker | |
database: entelechy-dev01_laravel |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace App\Constants; | |
use ReflectionClass; | |
abstract class AbstractConstant | |
{ | |
/** | |
* Get a constant value by name |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<template> | |
<component | |
:is="transition ? 'transition' : 'div'" | |
:name="transition" | |
@afterEnter="resetStyles" | |
@beforeEnter="onBeforeEnter" | |
@beforeLeave="onBeforeLeave" | |
@leaveCancelled="resetStyles" | |
> | |
<div v-show="isLoading || boilerplate" :class="classes" v-bind="attributes"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
APP_ENV=ci | |
APP_KEY= | |
APP_DEBUG=true | |
APP_URL=https://localhost | |
LOG_CHANNEL=stack | |
DB_CONNECTION=mysql | |
DB_HOST=127.0.0.1 | |
DB_PORT=33306 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<template> | |
<h1>{{ someObj.someFunction() }}</h1> | |
</template> | |
<script> | |
import { useFetch } from '@nuxtjs/composition-api'; | |
import { doSomethingAsync } from './helpers'; | |
export default { | |
setup() { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { provideApolloClient } from '@vue/apollo-composable'; | |
export default defineNuxtPlugin(({ app }) => { | |
onGlobalSetup(() => { | |
provideApolloClient(app.apolloProvider?.defaultClient); | |
}); | |
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { toRef, ssrRef, useContext } from '@nuxtjs/composition-api'; | |
import type { Ref } from '@nuxtjs/composition-api'; | |
/** | |
* Create a global reactive ref that will be hydrated but not shared across ssr requests | |
* | |
* @param key a unique key ensuring that data fetching can be properly de-duplicated across requests | |
* @param init a function that provides initial value for the state when it's not initiated | |
*/ | |
export const useState = <T>(key: string, init?: () => T): Ref<T> => { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<section class="relative pt-32 pb-16 mb-8 flex content-center items-center justify-center lg:shadow-sm" style="min-height: 55vh;"> | |
<div class="absolute top-0 w-full h-full bg-center bg-cover" | |
style="background-image: url('{{ \Roots\asset('images/header-mock-reversed.jpg') }}');"> | |
<span id="blackOverlay" class="w-full h-full absolute opacity-50 bg-white lg:bg-gradient-to-r lg:from-white lg:to-transparent"></span></div> | |
<div class="container relative mx-auto"> | |
<div class="items-center flex flex-wrap"> | |
<div class="w-full lg:w-8/12 xl:w-6/12 px-4 ml-auto mr-auto text-center lg:mr-12 lg:mt-12 lg:text-left"> | |
<div class="px-4"> | |
<h1 class="text-gray-800 font-semibold text-3xl md:text-5xl font-oxygen leading-none mb-4 lg:text-right"> | |
{{ "Hero Hedline Text" }} |
NewerOlder