Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

part1 #44

Merged
merged 1 commit into from
Jan 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 1 addition & 12 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 7 additions & 0 deletions resources/css/app.scss
Original file line number Diff line number Diff line change
Expand Up @@ -356,3 +356,10 @@ $utilities: (
.bg-light-danger{
background-color: #FBDBD9 !important;
}

@include media-breakpoint-up(md) {
.bg-md-body-secondary{
--bs-bg-opacity: 1;
background-color: rgba(var(--bs-secondary-bg-rgb), var(--bs-bg-opacity)) !important;
}
}
8 changes: 4 additions & 4 deletions resources/views/components/call-to-action.blade.php
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
<x-container>
<div class="p-5 bg-body-secondary rounded-4 d-flex align-items-center justify-content-between position-relative">
<div class="p-5 bg-body-secondary rounded-4 d-lg-flex align-items-center justify-content-between position-relative">
<figure class="position-absolute top-0 start-0 translate-middle z-n1 ms-4">
<x-icon path="l.cube" width="46" height="53" fill="none"/>
</figure>


<div class="col-7">
<p class="display-6 fw-bold">{!! $title !!}</p>
<p class="mb-0">
<div class="col-lg-7">
<p class="display-6 fw-bold text-center text-lg-start">{!! $title !!}</p>
<p class="mb-lg-0 text-center text-lg-start">
{!! $description !!}
</p>
</div>
Expand Down
10 changes: 5 additions & 5 deletions resources/views/components/header.blade.php
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
<x-container>
<div class="row g-5 py-lg-5 {{ $attributes->get('align', 'align-items-center') }}">
<div class="row g-4 g-md-5 py-lg-5 justify-content-center {{ $attributes->get('align', 'align-items-center') }}">
<div class="col-lg-6">
@isset($sup)
<span class="text-primary mb-3 d-block text-uppercase fw-semibold ls-xl">{{ $sup }}</span>
<span class="text-primary mb-3 d-block text-uppercase text-center text-lg-start fw-semibold ls-xl">{{ $sup }}</span>
@endisset

<h1 class="display-5 fw-bold text-body-emphasis mb-4 text-balance">{!! $title !!}</h1>
<h1 class="display-5 fw-bold text-body-emphasis mb-4 text-balance text-center text-lg-start">{!! $title !!}</h1>

@isset($description)
<p class="lead mb-4 pe-xl-5">
<p class="lead mb-4 pe-xl-5 text-center text-lg-start">
{!! $description !!}
</p>
@endisset

@isset($actions)
<div class="d-grid gap-3 d-md-flex justify-content-md-start align-items-baseline">
<div class="d-grid gap-3 d-md-flex justify-content-center justify-content-lg-start align-items-baseline">
{!! $actions !!}
</div>
@endisset
Expand Down
4 changes: 2 additions & 2 deletions resources/views/layout.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@

<div class="container mt-md-3 mb-3">
<div class="row bg-body-tertiary py-2 px-3 py-lg-4 px-lg-5 rounded shadow-sm">
<header class="d-flex flex-wrap align-items-center justify-content-center justify-content-between">
<div class="col-md-auto d-lg-none me-3">
<header class="d-flex flex-wrap align-items-center justify-content-between">
<div class="col-md-auto d-lg-none me-2 me-sm-3">
<x-icon path="bs.list" width="2em" height="2em" />
</div>
<div class="col-md-auto me-auto me-lg-2">
Expand Down
9 changes: 5 additions & 4 deletions resources/views/pages/courses.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
<x-container>

<div class="row g-4">
<div class="col-8 mb-4">
<div class="col-md-8 mb-4">
<div class="bg-primary bg-opacity-10 rounded-3 p-5 position-relative overflow-hidden mb-4">
<img src="/img/sign.svg" class="position-absolute w-50 bottom-0 end-0">
<div class="row">
Expand All @@ -31,8 +31,9 @@
</div>

<div class="row">
<div class="col-lg-6">
<div class="bg-primary bg-opacity-10 rounded-3 p-5 h-100 position-relative overflow-hidden">
<div class="col-lg-6 mb-4 mb-lg-0">
<div class="bg-primary bg-opacity-10 rounded-3 p-5 h-100 position-relative overflow-hidden
">
<img src="/img/ui/tentacle_bottom.svg" class="position-absolute w-50 bottom-0 end-0">
<div class="row">
<div class="col-sm-12 position-relative">
Expand Down Expand Up @@ -65,7 +66,7 @@
</div>
</div>

<div class="col-4 mb-4">
<div class="col-md-4 mb-4">
<div class="bg-primary bg-opacity-10 rounded-3 p-5 h-100 position-relative overflow-hidden">

<ul class="d-grid gap-4 list-unstyled">
Expand Down
Loading