forked from avvazana/Spoofify
-
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
Showing
6 changed files
with
139 additions
and
8 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,85 @@ | ||
.main-container { | ||
height: 1000px; | ||
background-color: red; /* For browsers that do not support gradients */ | ||
background-image: linear-gradient(orange, red, black); | ||
} | ||
|
||
// .main-container { | ||
// /* Set rules to fill background */ | ||
// min-height: 100%; | ||
// min-width: 1024px; | ||
// | ||
// /* Set up proportionate scaling */ | ||
// width: 100%; | ||
// height: auto; | ||
// | ||
// /* Set up positioning */ | ||
// position: fixed; | ||
// top: 0; | ||
// left: 0; | ||
// } | ||
|
||
.main-container .nav-bar { | ||
height: 100%; | ||
width: 250px; | ||
position: fixed; | ||
z-index: 1; | ||
top: 0; | ||
left: 0; | ||
background-color: #111; | ||
overflow-x: hidden; | ||
padding-top: 20px; | ||
opacity: .9; | ||
} | ||
|
||
// .main-container .nav-bar a { | ||
// padding: 6px 8px 6px 16px; | ||
// text-decoration: none; | ||
// font-size: 25px; | ||
// color: purple; | ||
// display: block; | ||
// } | ||
// | ||
// .main-container .nav-bar a:hover { | ||
// color: #f1f1f1; | ||
// } | ||
|
||
// @media screen and (max-width: 1024px) { /* Specific to this particular image */ | ||
// .main-container { | ||
// left: 50%; | ||
// margin-left: -512px; /* 50% */ | ||
// } | ||
// } | ||
// | ||
// .main-container .nav-bar { | ||
// padding: 24px 24px 5px; | ||
// display: -webkit-box; | ||
// display: -ms-flexbox; | ||
// display: flex; | ||
// -webkit-box-orient: vertical; | ||
// -webkit-box-direction: normal; | ||
// -ms-flex-direction: column; | ||
// flex-direction: column; | ||
// height: 100%; | ||
// -webkit-user-select: none; | ||
// -moz-user-select: none; | ||
// -ms-user-select: none; | ||
// user-select: none; | ||
// width: 230px; | ||
// cursor: default; | ||
// } | ||
|
||
|
||
// body { | ||
// --glue-font-family: "spotify-circular","noto-arabic","Helvetica Neue",Helvetica,Arial,"Hiragino Kaku Gothic Pro","Meiryo","MS Gothic",sans-serif; | ||
// } | ||
|
||
// body, button, input { | ||
// font-size: 14px; | ||
// line-height: 20px; | ||
// letter-spacing: .015em; | ||
// font-weight: var(--glue-font-weight-normal); | ||
// color: #b3b3b3; | ||
// text-transform: none; | ||
// font-family: var(--glue-font-family); | ||
// } |
26 changes: 26 additions & 0 deletions
26
db/migrate/20181115144513_create_active_storage_tables.active_storage.rb
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,26 @@ | ||
# This migration comes from active_storage (originally 20170806125915) | ||
class CreateActiveStorageTables < ActiveRecord::Migration[5.2] | ||
def change | ||
create_table :active_storage_blobs do |t| | ||
t.string :key, null: false | ||
t.string :filename, null: false | ||
t.string :content_type | ||
t.text :metadata | ||
t.bigint :byte_size, null: false | ||
t.string :checksum, null: false | ||
t.datetime :created_at, null: false | ||
|
||
t.index [ :key ], unique: true | ||
end | ||
|
||
create_table :active_storage_attachments do |t| | ||
t.string :name, null: false | ||
t.references :record, null: false, polymorphic: true, index: false | ||
t.references :blob, null: false | ||
|
||
t.datetime :created_at, null: false | ||
|
||
t.index [ :record_type, :record_id, :name, :blob_id ], name: "index_active_storage_attachments_uniqueness", unique: true | ||
end | ||
end | ||
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
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,19 @@ | ||
import { connect } from 'react-redux'; | ||
import React from 'react'; | ||
import { Link } from 'react-router-dom'; | ||
import { login } from '../../actions/session_actions'; | ||
import SessionForm from './session_form'; | ||
|
||
const mapStateToProps = (state) => { | ||
return { | ||
|
||
}; | ||
}; | ||
|
||
const mapDispatchToProps = dispatch => { | ||
return { | ||
|
||
}; | ||
}; | ||
|
||
export default connect(mapStateToProps, mapDispatchToProps)(SessionForm); |
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