Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
TDDD27_2023_Social media application
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Ludvig Damberg
TDDD27_2023_Social media application
Commits
a1efc372
Commit
a1efc372
authored
1 year ago
by
Ludvig Damberg
Browse files
Options
Downloads
Patches
Plain Diff
short session
added emojis fixed a width problem creating an extra nudge on the side
parent
b2cd3a5d
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
frontend/src/components/Landing.js
+10
-10
10 additions, 10 deletions
frontend/src/components/Landing.js
frontend/src/index.css
+3
-0
3 additions, 0 deletions
frontend/src/index.css
frontend/src/styles.css
+12
-11
12 additions, 11 deletions
frontend/src/styles.css
with
25 additions
and
21 deletions
frontend/src/components/Landing.js
+
10
−
10
View file @
a1efc372
...
@@ -7,9 +7,9 @@ const Landing = () => {
...
@@ -7,9 +7,9 @@ const Landing = () => {
<
div
className
=
'
Header
'
>
<
div
className
=
'
Header
'
>
<
div
className
=
'
text-container
'
>
<
div
className
=
'
text-container
'
>
<
h1
>
Welcome
to
Liqour
Buddy
!<
/h1
>
<
h1
>
Welcome
to
Liqour
Buddy
!<
/h1
>
<
p
>
A
project
by
Ludvig
Damberg
and
Ludvig
Hillert
for
Linköping
University
<
/p
>
<
p
>
A
project
by
Ludvig
Damberg
and
Ludvig
Hillert
for
Linköping
University
.
<
/p
>
<
p
>
Scroll
down
to
see
a
checklist
for
our
project
and
test
the
current
features
!
Keep
in
mind
that
this
is
a
project
<
p
>
Scroll
down
to
see
a
checklist
for
our
project
and
test
the
current
features
!
Keep
in
mind
that
this
is
a
project
under
developement
,
some
features
might
not
work
or
have
any
response
.
under
developement
,
some
features
might
not
work
or
have
any
response
.
🍹🍻
<
/p
>
<
/p
>
<
/div
>
<
/div
>
<
div
className
=
'
image-container
'
>
<
div
className
=
'
image-container
'
>
...
@@ -18,30 +18,30 @@ const Landing = () => {
...
@@ -18,30 +18,30 @@ const Landing = () => {
<
/div
>
<
/div
>
<
div
className
=
'
Header2
'
>
<
div
className
=
'
Header2
'
>
<
div
className
=
'
card
'
>
<
div
className
=
'
card
'
>
<
h1
>
Functionality
<
/h1
>
<
h1
>
Functionality
🍺
<
/h1
>
<
ul
className
=
'
list
'
>
<
ul
className
=
'
list
'
>
<
li
className
=
'
item
'
>
Creating
Posts
<
/li
>
<
li
className
=
'
item
'
>
Creating
Posts
✅
<
/li
>
<
li
className
=
'
item
'
>
Account
Sign
Up
<
/li
>
<
li
className
=
'
item
'
>
Account
Sign
Up
<
/li
>
<
li
className
=
'
item
'
>
Logging
In
<
/li
>
<
li
className
=
'
item
'
>
Logging
In
<
/li
>
<
li
className
=
'
item
'
>
Authentication
Checking
<
/li
>
<
li
className
=
'
item
'
>
Authentication
Checking
<
/li
>
<
/ul
>
<
/ul
>
<
/div
>
<
/div
>
<
div
className
=
'
card
'
>
<
div
className
=
'
card
'
>
<
h1
>
Pages
<
/h1
>
<
h1
>
Pages
🍺
<
/h1
>
<
ul
className
=
'
list
'
>
<
ul
className
=
'
list
'
>
<
li
className
=
'
item
'
>
Home
<
/li
>
<
li
className
=
'
item
'
>
Home
<
/li
>
<
li
className
=
'
item
'
>
About
<
/li
>
<
li
className
=
'
item
'
>
About
<
/li
>
<
li
className
=
'
item
'
>
Discover
<
/li
>
<
li
className
=
'
item
'
>
Discover
<
/li
>
<
li
className
=
'
item
'
>
Log
In
and
Sign
Up
<
/li
>
<
li
className
=
'
item
'
>
Log
In
and
Sign
Up
<
/li
>
<
li
className
=
'
item
'
>
Crate
Post
<
/li
>
<
li
className
=
'
item
'
>
Crate
Post
✅
<
/li
>
<
/ul
>
<
/ul
>
<
/div
>
<
/div
>
<
div
className
=
'
card
'
>
<
div
className
=
'
card
'
>
<
h1
>
User
Experience
<
/h1
>
<
h1
>
User
Experience
🍺
<
/h1
>
<
ul
className
=
'
list
'
>
<
ul
className
=
'
list
'
>
<
li
className
=
'
item
'
>
Scrolling
U
riggers
<
/li
>
<
li
className
=
'
item
'
>
Scrolling
T
riggers
<
/li
>
<
li
className
=
'
item
'
>
Hover
U
nteractions
<
/li
>
<
li
className
=
'
item
'
>
Hover
I
nteractions
<
/li
>
<
li
className
=
'
item
'
>
Instructional
U
nterface
<
/li
>
<
li
className
=
'
item
'
>
Instructional
I
nterface
<
/li
>
<
li
className
=
'
item
'
>
Easy
Usage
<
/li
>
<
li
className
=
'
item
'
>
Easy
Usage
<
/li
>
<
li
className
=
'
item
'
>
Consistent
Theme
<
/li
>
<
li
className
=
'
item
'
>
Consistent
Theme
<
/li
>
...
...
This diff is collapsed.
Click to expand it.
frontend/src/index.css
+
3
−
0
View file @
a1efc372
...
@@ -3,6 +3,9 @@
...
@@ -3,6 +3,9 @@
body
{
body
{
margin
:
0
;
margin
:
0
;
font-family
:
'Poppins'
,
sans-serif
;
font-family
:
'Poppins'
,
sans-serif
;
box-sizing
:
border-box
;
background-color
:
rgb
(
49
,
117
,
121
);
}
}
.img
{
.img
{
margin-top
:
10px
;
margin-top
:
10px
;
...
...
This diff is collapsed.
Click to expand it.
frontend/src/styles.css
+
12
−
11
View file @
a1efc372
.Header
{
.Header
{
width
:
100vw
;
height
:
100vh
;
height
:
100vh
;
display
:
flex
;
display
:
flex
;
justify-content
:
center
;
justify-content
:
center
;
...
@@ -22,14 +21,14 @@
...
@@ -22,14 +21,14 @@
.image-container
{
.image-container
{
width
:
500px
;
/* set width of image container */
width
:
500px
;
/* set width of image container */
height
:
500px
;
/* set height of image container */
height
:
500px
;
/* set height of image container */
border-radius
:
50%
;
/* make image container circular */
border-radius
:
50%
;
/* make image container circular */
overflow
:
hidden
;
overflow
:
hidden
;
display
:
flex
;
/* Add display flex to center image vertically */
display
:
flex
;
/* Add display flex to center image vertically */
align-items
:
center
;
/* Center image vertically */
align-items
:
center
;
/* Center image vertically */
justify-content
:
center
;
/* Center image horizontally */
justify-content
:
center
;
/* Center image horizontally */
margin
:
2px
;
}
}
.image-container
img
{
.image-container
img
{
...
@@ -49,31 +48,33 @@ object-fit: cover;
...
@@ -49,31 +48,33 @@ object-fit: cover;
}
}
.Header2
{
.Header2
{
width
:
100vw
;
height
:
60vh
;
height
:
60vh
;
display
:
flex
;
display
:
flex
;
justify-content
:
center
;
justify-content
:
center
;
align-items
:
center
;
align-items
:
center
;
background
-color
:
rgb
(
49
,
117
,
121
);
background
:
rgb
(
49
,
117
,
121
);
flex-wrap
:
wrap
;
/* Add flex-wrap property to allow text to wrap */
flex-wrap
:
wrap
;
/* Add flex-wrap property to allow text to wrap */
}
}
.card
{
.card
{
flex
:
1
;
flex
:
1
;
margin
:
0
45px
;
margin
:
0
45px
;
max-width
:
400px
;
max-width
:
400px
;
aspect-ratio
:
1
/
1
;
/* Set aspect ratio to 1:1 */
aspect-ratio
:
1
/
1
;
/* Set aspect ratio to 1:1 */
background
:
rgb
(
94
,
1
38
,
14
1
);
background
:
rgb
(
62
,
1
21
,
1
2
4
);
border-radius
:
10px
;
border-radius
:
10px
;
box-shadow
:
0
8px
13px
0
rgba
(
41
,
41
,
43
,
0.548
);
box-shadow
:
0
8px
13px
0
rgba
(
41
,
41
,
43
,
0.548
);
text-align
:
center
;
text-align
:
center
;
color
:
rgb
(
25
3
,
2
35
,
1
3
3
);
color
:
rgb
(
25
5
,
2
40
,
1
5
3
);
}
}
.list
{
.list
{
list-style
:
none
;
list-style
:
none
;
padding
:
0
;
padding
:
0
;
margin
:
0
;
margin
:
0
;
color
:
rgb
(
255
,
255
,
255
);
color
:
rgb
(
255
,
255
,
255
);
}
font-size
:
120%
;
}
.item
{
.item
{
margin-top
:
30px
;
margin-top
:
30px
;
margin-bottom
:
15px
;
margin-bottom
:
15px
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment