This repository has been archived on 2025-01-07. You can view files and clone it, but cannot push or open issues or pull requests.
rebuilding-bartik/src/components/WelcomeToDrupal.vue

92 lines
3.3 KiB
Vue
Raw Normal View History

2018-11-19 20:11:53 +00:00
<template>
<div>
2018-11-19 20:41:47 +00:00
<div class="bg-blue-dark text-white py-4">
2018-11-19 20:11:53 +00:00
<div class="container mx-auto px-4 relative">
<div class="text-sm flex justify-end">
<a href="#0" class="text-white no-underline hover:underline">Log in</a>
</div>
<div class="flex items-center">
<img src="img/logo.svg" alt="" class="mr-4">
<div class="text-2xl">
<a href="#0" class="text-white no-underline">Drupal {{ version }}</a>
</div>
</div>
</div>
</div>
2018-11-19 20:41:47 +00:00
<main-menu></main-menu>
2018-11-19 20:27:19 +00:00
<div class="bg-white pt-3 pb-4 lg:pb-12">
2018-11-19 20:11:53 +00:00
<div class="container mx-auto px-4">
2018-11-19 20:27:19 +00:00
<div class="flex flex-col md:flex-row-reverse md:-mx-8 my-6">
<div class="w-full md:w-auto md:flex-1 md:px-6 mb-8 md:mb-0">
2018-11-19 20:11:53 +00:00
<div class="font-serif">
<h1 class="font-normal">Welcome to Drupal {{ version }}</h1>
<p>No front page content has been created yet.</p>
<p>Follow the <a href="#0" class="text-blue-dark hover:text-blue no-underline border-b border-blue border-dotted hover:bg-solid">User Guide</a> to start building your site.</p>
</div>
<div class="mt-10">
<a href="#0">
<img src="img/feed.svg" alt="">
</a>
</div>
</div>
2018-11-19 20:27:19 +00:00
<div class="w-full md:w-1/3 lg:w-1/4 flex-none md:px-6">
<div class="p-4" style="background-color: #f6f6f2">
<h2 class="font-serif font-normal text-base border-b border-solid border-grey-light mb-3">Search</h2>
<div>
<form action="#" class="flex">
<input type="text" class="border border-solid border-grey p-2 w-full xl:w-auto">
<button type="submit" class="bg-grey-light px-3 rounded-full border-b border-solid border-grey-dark ml-2 flex-none" style="background-color: #f0f0f0">
<img src="img/loupe.svg" class="block">
</button>
</form>
</div>
</div>
</div>
2018-11-19 20:11:53 +00:00
</div>
</div>
</div>
<div class="text-xs text-white">
<div class="container mx-auto px-4 pt-16 pb-4">
<div class="border-t border-solid border-grey-darkest pt-6 -mb-6">
<div class="mb-6">
<p><a href="#0" class="text-white no-underline border-b border-dotted border-white">Contact</a></p>
</div>
<div class="mb-6">
2018-11-19 21:09:09 +00:00
<p>
A clone of <a href="https://www.drupal.org" class="text-white no-underline border-b border-dotted border-white">Drupal</a>s default theme (Bartik).
Built by <a href="https://www.oliverdavies.uk" class="text-white no-underline border-b border-dotted border-white">Oliver Davies</a>
using <a href="https://vuejs.org" class="text-white no-underline border-b border-dotted border-white">Vue.js</a>
and <a href="https://tailwindcss.com" class="text-white no-underline border-b border-dotted border-white">Tailwind CSS</a>.
</p>
2018-11-19 20:11:53 +00:00
</div>
</div>
</div>
</div>
</div>
</template>
<script>
2018-11-19 20:41:47 +00:00
import MainMenu from './MainMenu.vue';
2018-11-19 20:11:53 +00:00
export default {
2018-11-19 20:41:47 +00:00
components: { MainMenu },
2018-11-19 20:11:53 +00:00
props: {
version: {
type: String,
required: true
}
}
}
</script>