Skip to content

Instantly share code, notes, and snippets.

View mfissehaye's full-sized avatar

Merhawi Fissehaye mfissehaye

View GitHub Profile
<extends src="src/layouts/main.html">
<block name="template">
<h2
class="leading-[2rem] p-10 bg-black text-white border-solid border-t-0 border-b-0 border-r-0 border-l-4 border-red-700">
@{{ strtoupper($dataRoom->campaign->name) }} DATA ROOM ACCESSO GRANTITO
</h2>
<p>Ciao <strong>@{{ $dataRoom->requester->first_name }},</strong></p>
<p>Il tuo accesso alla data room di {{ $dataRoom->campaign->name }} è stato concesso. Assicurati di impegnarti sul
sito per registrare il tuo interesse e investi prima che la campagna si chiuda.</p>
<div class="leading-24 sm:h-32">&zwnj;</div>
@mfissehaye
mfissehaye / weather-reporter.vue
Last active February 10, 2022 13:02
Weather reporter
<template>
<div>
<div>{{ WeatherData }}</div> <!-- Show weather data here -->
<form action="#" @submit.prevent="getWeatherData">
<input v-model="zipCode" type="text" placeholder="Enter your ZIP code" />
</form>
</div>
</template>
@mfissehaye
mfissehaye / component-switcher.vue
Created February 10, 2022 13:00
Component Switcher Vue
<template>
<div :is="`Component${componentLabel}`"></div>
</template>
<script>
export default {
props: {
componentLabel: {
type: String,
validator: function (value) {