-
Notifications
You must be signed in to change notification settings - Fork 4
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
jmiras
authored and
jonas
committed
Nov 6, 2024
1 parent
7ba49b2
commit 81366f6
Showing
51 changed files
with
1,404 additions
and
1,569 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 |
---|---|---|
@@ -1,39 +1,8 @@ | ||
import { Controller } from "@hotwired/stimulus"; | ||
import * as $ from 'jquery'; | ||
import hello_Controller from "./Hello_Controller"; | ||
export default class extends Controller { | ||
// static targets=["hiddenContent"] | ||
connect() { | ||
console.log("vlog1","vlog2","vlog3","vlog4",this.element) | ||
// this.hiddenContentTarget.hidden = true | ||
} | ||
|
||
greet() { | ||
console.log("you press the page") | ||
// in this action i just grab this sub-menu-ul which is the parent of my sub-menu-list. then i add | ||
// toggle clas in which if i click to button it will togle the list of the ul. | ||
// then i just add the class open in which i also add in my css for the list of ul to be displayed | ||
$(".sub-menu-ul").toggleClass("open"); | ||
$(".menu").css({ | ||
"background":"#171717" | ||
}) | ||
$(".first-label2").css({ | ||
"font-weight": "bold" | ||
}) | ||
export default class extends Controller{ | ||
|
||
} | ||
KeyboardKey(event){ | ||
console.log("you press enter") | ||
} | ||
button(){ | ||
console.log("nav item") | ||
$(".navigation1").toggleClass("blow"); | ||
$(".nav-item").css({ | ||
"margin-bottom":"1px solid gray" | ||
}); | ||
// $(".nav-item").css({ | ||
// "border-bottom":"2px solid gray","width":"100%","padding":"2rem" | ||
// }); | ||
// $(".number").toggleClass("blow"); | ||
connect() { | ||
console.log('subMenu working') | ||
} | ||
} |
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 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 |
---|---|---|
@@ -1,68 +1,64 @@ | ||
.advance-text-block { | ||
margin: 90px 0 50px; | ||
|
||
.block-advance-text { | ||
padding-top: 150px; | ||
.advanced-text-grid { | ||
max-width: 1390px; | ||
display: grid; | ||
display: grid;flex-direction: column; | ||
grid-template-columns: repeat(6, 1fr); | ||
grid-gap: 51px; | ||
margin: 0 auto; | ||
} | ||
|
||
.advanced-text-container { | ||
display: flex; | ||
flex-direction: column; | ||
grid-column: 2 /span 4; | ||
} | ||
.advanced-text-big-headline{ | ||
color: #171717; | ||
font-family: "Open Sans"; | ||
font-size: 50px; | ||
font-style: normal; | ||
font-weight: 700; | ||
line-height: 64px; /* 128% */ | ||
text-transform: uppercase; | ||
} | ||
|
||
.advanced-text-text-big { | ||
display: flex; | ||
flex-direction: column; | ||
grid-column: 2 /span 4; | ||
|
||
.advanced-text-big-copy { | ||
margin-top: 20px; | ||
color: #171717; | ||
font-family: "Open Sans"; | ||
font-size: 24px; | ||
font-style: normal; | ||
font-weight: 700; | ||
line-height: 32px; | ||
.advanced-text-headline-breaker{ | ||
grid-column: 2 / span 4; | ||
.bold-headline{ | ||
font-size: 3.125rem; | ||
line-height: 1.28em; | ||
} | ||
} | ||
} | ||
|
||
.advanced-text-one-column { | ||
grid-column: 1 /span 4; | ||
} | ||
|
||
.advanced-text-two-column-wide { | ||
display: flex; | ||
flex-direction: column; | ||
grid-column: 2 /span 4; | ||
} | ||
|
||
.advanced-text-two-column { | ||
display: flex; | ||
flex-direction: column; | ||
grid-column: 1 /span 3; | ||
} | ||
.column { | ||
margin-top: 52px; | ||
grid-column: 4 / span 3; | ||
|
||
.two-button { | ||
.advanced-text-text-big { | ||
display: flex; | ||
flex-direction: column; | ||
grid-column: 2 /span 4; | ||
.bold-headline{ | ||
padding: 5px 0 20px 0; | ||
} | ||
.bold-copy { | ||
font-size: 24px; | ||
font-weight: 700; | ||
} | ||
} | ||
.advanced-text-one-column { | ||
grid-column: 1 /span 3; | ||
.bold-headline{ | ||
padding: 5px 0 15px 0; | ||
} | ||
} | ||
.advanced-text-one-column-wide { | ||
display: flex; | ||
flex-direction: column; | ||
grid-column: 2 /span 4; | ||
.bold-headline{ | ||
padding: 5px 0 15px 0; | ||
} | ||
} | ||
.advanced-text-two-column { | ||
grid-column: span 6; | ||
.two-column-btn { | ||
margin-left: auto | ||
} | ||
.theme-copies { | ||
display: flex; | ||
gap: 51px; | ||
} | ||
} | ||
.advanced-text-button{ | ||
margin-top: 30px; | ||
display: flex; | ||
justify-content: flex-end; | ||
align-items: end; | ||
justify-content: center; | ||
align-items: center; | ||
border-radius: 40px; | ||
border: 2px solid #000; | ||
width: 280px; | ||
height: 51px; | ||
grid-column: span 3; | ||
cursor: pointer; | ||
text-decoration: none; | ||
} | ||
} | ||
} |
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
Oops, something went wrong.