Skip to content

Commit 8a6db04

Browse files
authored
feat: center all things that need to be centered (#46)
1 parent d3265df commit 8a6db04

File tree

13 files changed

+31
-44508
lines changed

13 files changed

+31
-44508
lines changed

README.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,3 @@ Run `npm run start`
1010
## Build and deploy
1111
1. Run `npm run build`
1212
2. Commit and push changes. Deployment will process automatically
13-
14-
## Update tact compiler
15-
1. Replace `src/scripts/compiler.js` with a new compiler
16-
2. Rebuild app
17-
18-
**Important**: file path must be `src/scripts/compiler.js`

angular.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
"node_modules/@taiga-ui/core/styles/taiga-ui-theme.less",
5555
"src/styles.scss"
5656
],
57-
"scripts": ["src/scripts/ace.js", "src/scripts/tact-mode.js", "src/scripts/func-mode.js", "src/scripts/compiler.js"]
57+
"scripts": ["src/scripts/ace.js", "src/scripts/tact-mode.js", "src/scripts/func-mode.js"]
5858
},
5959
"configurations": {
6060
"production": {

docs/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,6 @@
4040

4141
<body>
4242
<app-root></app-root>
43-
<script src="runtime.e94c38966dbbafb1.js" type="module"></script><script src="polyfills.b805f680e766c15d.js" type="module"></script><script src="scripts.a4cd5d96054834e4.js" defer></script><script src="main.7bf4b863d126275e.js" type="module"></script>
43+
<script src="runtime.e94c38966dbbafb1.js" type="module"></script><script src="polyfills.b805f680e766c15d.js" type="module"></script><script src="scripts.4c12992b7de4b226.js" defer></script><script src="main.999229904b254152.js" type="module"></script>
4444

4545
</body></html>

docs/main.7bf4b863d126275e.js

Lines changed: 0 additions & 1 deletion
This file was deleted.

docs/main.999229904b254152.js

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/scripts.4c12992b7de4b226.js

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/scripts.a4cd5d96054834e4.js

Lines changed: 0 additions & 1 deletion
This file was deleted.

src/app/app.component.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,10 @@
2727
}
2828
}
2929

30+
@include styles.b(tablet) {
31+
padding: 0 48px;
32+
}
33+
3034
@include styles.b(mobile) {
3135
padding: 0 24px;
3236
}

src/app/core/components/footer/footer.component.scss

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,15 @@
11
@use 'src/styles';
22

3+
footer {
4+
max-width: 850px;
5+
margin: 0 auto;
6+
}
7+
38
.footer-container {
49
display: flex;
5-
gap: 75px;
610
margin-bottom: 76px;
711

812
@include styles.b(mobile) {
9-
flex-direction: column;
1013
margin-bottom: 64px;
1114
}
1215
}

src/app/core/components/header/header.component.scss

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,16 @@ header {
66
display: flex;
77
justify-content: space-between;
88
align-items: center;
9+
max-width: 850px;
10+
margin: 0 auto;
911
margin-top: 14px;
1012

1113
background: transparent;
1214

1315
img {
16+
margin-right: 18px;
1417
opacity: 1;
15-
transition: opacity 0.3s ease-in-out
18+
transition: opacity 0.3s ease-in-out;
1619
}
1720

1821
@include styles.burgerOpened {
@@ -32,7 +35,11 @@ header {
3235

3336
.link {
3437
&:not(:last-child) {
35-
margin-right: 48px;
38+
margin-right: 36px;
39+
40+
@include styles.b(tablet) {
41+
margin-right: 18px;
42+
}
3643
}
3744
}
3845

@@ -102,7 +109,7 @@ header {
102109

103110
transition: opacity 0.3s ease-in-out, max-height 0.3s ease-in-out, padding 0.3s ease-in-out;
104111

105-
> a {
112+
>a {
106113
padding-left: 20px;
107114
text-align: left;
108115

0 commit comments

Comments
 (0)