Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
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
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
node_modules/
.DS_Store
dist/

10 changes: 9 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,10 @@
# css-frameworks-ca
Replace this text with a description of your social media project.

##### This is a simple 3 page social media site built with html and bootstrap. No functionality.

## Installation

#### git clone
#### git npm install
#### npm start

343 changes: 343 additions & 0 deletions feed.html

Large diffs are not rendered by default.

41 changes: 41 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="https://fonts.googleapis.com/css2?family=Roboto&display=swap" rel="stylesheet">
<link rel="stylesheet" href="/dist/css/main.css">
<title>CSS Course Assignment</title>
</head>
<body>
<header class="container">
<h1 class="display-4 text-center mt-4">CSS framework CA, Social Media Page</h1>
</header>
<main class="mt-5">
<section class="row justify-content-center">
<article id="loginform">
<div class="card border-dark profile-card">
<header class="card-header bg-white">
<h2 class="text-center display-5">Enter site</h2>
</header>
<div class="card-body">
<form id="login-form" action="profile.html">
<div class="form-group">
<label for="email">E-mail:</label>
<input type="email" id="email" name="email" class="form-control" required>
</div>
<div class="form-group">
<label for="password">Password:</label>
<input type="password" id="password" name="password" class="form-control" required minlength="8">
</div>
<a href="feed.html" class="btn btn-primary btn-block d-none" id="login-link">Log in</a>
<a href="profile.html" class="btn btn-primary btn-block d-none" id="register-link">Register</a>
<button type="submit" class="btn btn-block btn-primary" id="loginform-button">Log in</button>
</form>
</div>
</div>
</article>
</section>
</main>
</body>
</html>
Binary file added media/avatar.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
245 changes: 245 additions & 0 deletions package-lock.json

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

12 changes: 9 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@
"version": "0.0.1",
"description": "A starting point for the CSS Frameworks CA project",
"scripts": {
"test": "echo \"We will learn more about testing in the Workflow course\" && exit 1"
"test": "echo \"We will learn more about testing in the Workflow course\" && exit 1",
"build": "sass src/scss/main.scss:dist/css/main.css --style compressed --watch",
"start": "live-server"
},
"repository": {
"type": "git",
Expand All @@ -22,5 +24,9 @@
"bugs": {
"url": "https://github.com/NoroffFEU/css-frameworks-ca/issues"
},
"homepage": "https://github.com/NoroffFEU/css-frameworks-ca#readme"
}
"homepage": "https://github.com/NoroffFEU/css-frameworks-ca#readme",
"dependencies": {
"bootstrap": "^5.3.3",
"sass": "^1.74.1"
}
}
Loading