-
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.
I made the programs section of the landing page including responsive desing
- Loading branch information
Showing
11 changed files
with
163 additions
and
57 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
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.
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
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 |
---|---|---|
@@ -0,0 +1,68 @@ | ||
@import './variables.scss'; | ||
|
||
.programs_container { | ||
text-align: center; | ||
margin: 1rem auto; | ||
display: flex; | ||
justify-content: center; | ||
flex-direction: column; | ||
background-color: #f5f6f8; | ||
align-items: center; | ||
|
||
h1 { | ||
margin: 1.5rem auto; | ||
font-weight: 800; | ||
} | ||
} | ||
|
||
.white_container { | ||
margin: 1rem auto; | ||
background-color: white; | ||
border-radius: 15px; | ||
width: 85vw; | ||
} | ||
|
||
.program { | ||
margin: 1rem auto; | ||
&_img { | ||
margin: 2rem auto; | ||
max-width: 13rem; | ||
} | ||
.ux { | ||
margin: 2rem auto; | ||
max-width: 6rem; | ||
} | ||
h4 { | ||
font-weight: 700; | ||
color: $blue; | ||
} | ||
p { | ||
font-weight: 600; | ||
} | ||
} | ||
|
||
@media (min-width: 768px) { | ||
.white_container { | ||
display: grid; | ||
grid-template-columns: 50% 50%; | ||
padding: 1rem; | ||
} | ||
.program { | ||
max-width: 100%; | ||
max-height: 40vh; | ||
align-items: center; | ||
display: flex; | ||
flex-direction: column; | ||
|
||
&_img { | ||
margin: auto; | ||
max-width: 60%; | ||
} | ||
} | ||
} | ||
|
||
@media (min-width: 1024px) { | ||
.white_container { | ||
grid-template-columns: 25% 25% 25% 25%; | ||
} | ||
} |
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,19 +1,18 @@ | ||
#!/usr/bin/env ruby | ||
# frozen_string_literal: true | ||
|
||
ENV['RAILS_ENV'] ||= ENV['RACK_ENV'] || 'development' | ||
ENV['NODE_ENV'] ||= 'development' | ||
ENV["RAILS_ENV"] ||= ENV["RACK_ENV"] || "development" | ||
ENV["NODE_ENV"] ||= "development" | ||
|
||
require 'pathname' | ||
ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', | ||
Pathname.new(__FILE__).realpath) | ||
require "pathname" | ||
ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile", | ||
Pathname.new(__FILE__).realpath) | ||
|
||
require 'bundler/setup' | ||
require "bundler/setup" | ||
|
||
require 'webpacker' | ||
require 'webpacker/webpack_runner' | ||
require "webpacker" | ||
require "webpacker/webpack_runner" | ||
|
||
APP_ROOT = File.expand_path('..', __dir__) | ||
APP_ROOT = File.expand_path("..", __dir__) | ||
Dir.chdir(APP_ROOT) do | ||
Webpacker::WebpackRunner.run(ARGV) | ||
end |
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,19 +1,18 @@ | ||
#!/usr/bin/env ruby | ||
# frozen_string_literal: true | ||
|
||
ENV['RAILS_ENV'] ||= ENV['RACK_ENV'] || 'development' | ||
ENV['NODE_ENV'] ||= 'development' | ||
ENV["RAILS_ENV"] ||= ENV["RACK_ENV"] || "development" | ||
ENV["NODE_ENV"] ||= "development" | ||
|
||
require 'pathname' | ||
ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', | ||
Pathname.new(__FILE__).realpath) | ||
require "pathname" | ||
ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile", | ||
Pathname.new(__FILE__).realpath) | ||
|
||
require 'bundler/setup' | ||
require "bundler/setup" | ||
|
||
require 'webpacker' | ||
require 'webpacker/dev_server_runner' | ||
require "webpacker" | ||
require "webpacker/dev_server_runner" | ||
|
||
APP_ROOT = File.expand_path('..', __dir__) | ||
APP_ROOT = File.expand_path("..", __dir__) | ||
Dir.chdir(APP_ROOT) do | ||
Webpacker::DevServerRunner.run(ARGV) | ||
end |
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
0ba178c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull reviewers stats for the lasts 30 days:
π₯
ββ
βββββββ
π₯
β
ββ
ββ
π₯
ββ
βββ
β
βββ
β
ββ
β
ββ
β