-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
24c7386
commit 2388b70
Showing
5 changed files
with
73 additions
and
59 deletions.
There are no files selected for viewing
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
This file was deleted.
Oops, something went wrong.
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,24 +8,31 @@ defineProps({ | |
university: String, | ||
universityLogo: String, | ||
sections: Array, | ||
counters: Array, | ||
}) | ||
</script> | ||
|
||
<template> | ||
<PublicLayout> | ||
<div class="relative isolate bg-white pt-14"> | ||
<svg class="absolute inset-0 -z-10 h-full w-full stroke-gray-200 [mask-image:radial-gradient(100%_100%_at_top_right,white,transparent)]" aria-hidden="true"> | ||
<svg | ||
class="absolute inset-0 -z-10 h-full w-full stroke-gray-200 [mask-image:radial-gradient(100%_100%_at_top_right,white,transparent)]" | ||
aria-hidden="true"> | ||
<defs> | ||
<pattern id="83fd4e5a-9d52-42fc-97b6-718e5d7ee527" width="200" height="200" x="50%" y="-1" patternUnits="userSpaceOnUse"> | ||
<path d="M100 200V.5M.5 .5H200" fill="none" /> | ||
<pattern id="83fd4e5a-9d52-42fc-97b6-718e5d7ee527" width="200" height="200" x="50%" y="-1" | ||
patternUnits="userSpaceOnUse"> | ||
<path d="M100 200V.5M.5 .5H200" fill="none"/> | ||
</pattern> | ||
</defs> | ||
<svg x="50%" y="-1" class="overflow-visible fill-gray-50"> | ||
<path d="M-100.5 0h201v201h-201Z M699.5 0h201v201h-201Z M499.5 400h201v201h-201Z M-300.5 600h201v201h-201Z" stroke-width="0" /> | ||
<path | ||
d="M-100.5 0h201v201h-201Z M699.5 0h201v201h-201Z M499.5 400h201v201h-201Z M-300.5 600h201v201h-201Z" | ||
stroke-width="0"/> | ||
</svg> | ||
<rect width="100%" height="100%" stroke-width="0" fill="url(#83fd4e5a-9d52-42fc-97b6-718e5d7ee527)" /> | ||
<rect width="100%" height="100%" stroke-width="0" fill="url(#83fd4e5a-9d52-42fc-97b6-718e5d7ee527)"/> | ||
</svg> | ||
<div class="mx-auto max-w-7xl px-6 py-24 sm:py-32 lg:flex lg:items-center lg:gap-x-10 lg:px-8 lg:py-40"> | ||
<img src="/cwup.png" alt="" class="w-[50%] absolute right-0 opacity-10"> | ||
<div class="mx-auto max-w-7xl px-6 py-24 sm:py-32 lg:flex lg:items-center lg:gap-x-10 lg:px-8 lg:py-32"> | ||
<div class="mx-auto max-w-7xl text-center lg:mx-0 lg:flex-auto"> | ||
<h1 class="mx-auto mt-10 max-w-4xl text-4xl font-bold tracking-tight text-gray-900 sm:text-6xl"> | ||
<span class="font-normal">{{ title }}</span> | ||
|
@@ -43,16 +50,21 @@ defineProps({ | |
</div> | ||
|
||
<div class="relative isolate bg-gradient-to-r from-gray-50 to-gray-100 py-24 sm:py-32"> | ||
<svg class="absolute inset-0 -z-10 h-full w-full stroke-gray-200 [mask-image:radial-gradient(100%_100%_at_top_left,white,transparent)]" aria-hidden="true"> | ||
<svg | ||
class="absolute inset-0 -z-10 h-full w-full stroke-gray-200 [mask-image:radial-gradient(100%_100%_at_top_left,white,transparent)]" | ||
aria-hidden="true"> | ||
<defs> | ||
<pattern id="83fd4e5a-9d52-42fc-97b6-718e5d7ee527" width="200" height="200" x="50%" y="-1" patternUnits="userSpaceOnUse"> | ||
<path d="M100 200V.5M.5 .5H200" fill="none" /> | ||
<pattern id="83fd4e5a-9d52-42fc-97b6-718e5d7ee527" width="200" height="200" x="50%" y="-1" | ||
patternUnits="userSpaceOnUse"> | ||
<path d="M100 200V.5M.5 .5H200" fill="none"/> | ||
</pattern> | ||
</defs> | ||
<svg x="50%" y="-1" class="overflow-visible fill-gray-50"> | ||
<path d="M-100.5 0h201v201h-201Z M699.5 0h201v201h-201Z M499.5 400h201v201h-201Z M-300.5 600h201v201h-201Z" stroke-width="0" /> | ||
<path | ||
d="M-100.5 0h201v201h-201Z M699.5 0h201v201h-201Z M499.5 400h201v201h-201Z M-300.5 600h201v201h-201Z" | ||
stroke-width="0"/> | ||
</svg> | ||
<rect width="100%" height="100%" stroke-width="0" fill="url(#83fd4e5a-9d52-42fc-97b6-718e5d7ee527)" /> | ||
<rect width="100%" height="100%" stroke-width="0" fill="url(#83fd4e5a-9d52-42fc-97b6-718e5d7ee527)"/> | ||
</svg> | ||
<div class="mx-auto max-w-7xl px-6 lg:px-8"> | ||
<div class="mx-auto max-w-2xl lg:mx-0"> | ||
|
@@ -63,19 +75,56 @@ defineProps({ | |
Kilka słów o mnie. | ||
</p> | ||
</div> | ||
<div class="mx-auto grid max-w-2xl grid-cols-1 gap-x-8 gap-y-16 pt-10 lg:mx-0 lg:max-w-none lg:grid-cols-3"> | ||
<article v-for="section in sections" :key="section.title" class="flex max-w-xl flex-col items-start justify-between"> | ||
<div | ||
class="mx-auto grid max-w-2xl grid-cols-1 gap-x-8 gap-y-16 pt-10 lg:mx-0 lg:max-w-none lg:grid-cols-3"> | ||
<article v-for="section in sections" :key="section.title" | ||
class="flex max-w-xl flex-col items-start justify-between"> | ||
<div class="group relative"> | ||
<h3 class="mt-3 text-lg font-semibold leading-6 text-gray-900 group-hover:text-gray-600"> | ||
<h3 class="mt-3 text-lg font-semibold leading-6 text-gray-900"> | ||
{{ section.header }} | ||
</h3> | ||
<p v-for="(paragraph, i) in section.paragraphs" :key="i" class="mt-5 text-sm leading-6 text-gray-600"> | ||
<p v-for="(paragraph, i) in section.paragraphs" :key="i" | ||
class="mt-5 text-sm leading-6 text-gray-600"> | ||
{{ paragraph }} | ||
</p> | ||
</div> | ||
</article> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
<div class="relative isolate overflow-hidden bg-gray-900 py-24 sm:py-32"> | ||
<img | ||
src="https://images.unsplash.com/photo-1542831371-29b0f74f9713?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxzZWFyY2h8M3x8cHJvZ3JhbW1pbmd8ZW58MHx8MHx8fDA%3D&auto=format&fit=crop&w=2850&q=80&blend=111827&blend-mode=multiply&sat=-100&exp=15" | ||
alt="" class="absolute inset-0 -z-10 h-full w-full object-cover"/> | ||
<div class="relative mx-auto max-w-7xl px-6 lg:px-8"> | ||
<dl | ||
class="mx-auto grid max-w-2xl grid-cols-1 gap-x-8 gap-y-10 text-white sm:grid-cols-2 sm:gap-y-16 lg:mx-0 lg:max-w-none lg:grid-cols-4"> | ||
<div v-for="counter in counters" :key="counter.id" class="flex flex-col gap-y-3 border-l border-white pl-6"> | ||
<dt class="text-sm ">{{ counter.name }}</dt> | ||
<dd class="order-first text-5xl font-semibold tracking-tight">{{ counter.value }}</dd> | ||
</div> | ||
</dl> | ||
</div> | ||
</div> | ||
|
||
<div class="bg-white py-16 sm:py-24 lg:py-32"> | ||
<div class="w-full flex gap-16 items-center"> | ||
<div class="w-2/5 flex flex-col gap-1 text-right"> | ||
<h2 class="text-4xl font-bold inline sm:block lg:inline xl:block">Jakiekolwiek pytania?</h2> | ||
<h3 class="text-xl font-semibold inline sm:block lg:inline xl:block">Wystarczy napisać mejla.</h3> | ||
</div> | ||
<div class="flex-1"> | ||
<a href="mailto:[email protected]" class="flex items-end justify-content"> | ||
<span class="text-5xl font-bold"> | ||
krzysztof.rewak | ||
</span> | ||
<span class="text-3xl"> | ||
@collegiumwitelona.pl | ||
</span> | ||
</a> | ||
</div> | ||
</div> | ||
</div> | ||
</PublicLayout> | ||
</template> |