Skip to content

Commit

Permalink
adding container-swagger for options; adding missing ui resources; up…
Browse files Browse the repository at this point in the history
…dating menu; adding js to prepend companys website to links
  • Loading branch information
2amjsouza committed Sep 14, 2023
1 parent d55b029 commit d3a32e9
Show file tree
Hide file tree
Showing 18 changed files with 265 additions and 102 deletions.
Binary file added public/images/2am_beyond_software.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions public/images/about/work-with-us-dots.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions public/images/about/work-with-us-dots2.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions public/images/betterProductsBg.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/media/footer_banner_bg.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions resources/css/app.css
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,8 @@
border-radius: 100%;
margin-right: 5px;
}

.pickr .pcr-button {
width: 22px;
height: 22px;
}
18 changes: 18 additions & 0 deletions resources/js/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,21 @@ window.addEventListener("scroll", (event) => {
document.getElementsByClassName('header')[0].classList.remove('visible');
}
});

let parseLinks = () => {
let links = document.querySelectorAll('a');

links.forEach((el, key) => {
let href = links.item(key).getAttribute('href')

if (href === null || href === undefined || href[0] !== '/') return;

href = 'https://2am.tech' + href
links.item(key).setAttribute('href', href)

})
}

window.addEventListener('load', () => {
parseLinks()
})
3 changes: 3 additions & 0 deletions resources/views/components/icons/chev-down.blade.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="w-6 h-6">
<path stroke-linecap="round" stroke-linejoin="round" d="M19.5 8.25l-7.5 7.5-7.5-7.5" />
</svg>
3 changes: 3 additions & 0 deletions resources/views/components/icons/chev-up.blade.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="w-6 h-6">
<path stroke-linecap="round" stroke-linejoin="round" d="M4.5 15.75l7.5-7.5 7.5 7.5" />
</svg>
11 changes: 3 additions & 8 deletions resources/views/components/inputs/color-picker.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
theme: 'nano',
closeWithKey: 'Enter',
default: colorField,
appClass: 'color-picker-widget',
swatches: [
'rgba(244, 67, 54, 1)',
'rgba(233, 30, 99, 1)',
Expand Down Expand Up @@ -49,10 +50,10 @@
})
">
<div class="my-2 flex flex-row w-full">
<div class="h-10 font-sm lowercase basis-11/12 bg-white text-[{{ $this->{$model} }}] rounded rounded-r-none shadow p-3 flex items-center font-bold" x-ref="colorField">
<div class="h-10 border border-gray border-r-0 font-sm lowercase basis-11/12 bg-white text-[{{ $this->{$model} }}] rounded rounded-r-none shadow p-3 flex items-center font-bold" x-ref="colorField">
{{ $this->{$model} }}
</div>
<div class="rounded rounded-l-none border-gray-100 h-10 p-1 bg-[#FAFAFA] shadow">
<div class="rounded rounded-l-none h-10 p-2 bg-[#FAFAFA] shadow border border-gray border-l-0">
<div wire:ignore>
<button class="color-picker border-black">
Pick a Color
Expand All @@ -61,9 +62,3 @@
</div>
</div>
</div>
<style>
.pcr-button {
width: 8px;
height: 8px;
}
</style>
Loading

0 comments on commit d3a32e9

Please sign in to comment.