Skip to content

Commit

Permalink
updated base
Browse files Browse the repository at this point in the history
  • Loading branch information
mhmzdev committed Sep 19, 2024
1 parent 120a9f0 commit 3749d2c
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 7 deletions.
9 changes: 9 additions & 0 deletions lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
// To run code on the client, use the @client annotation.

// Server-specific jaspr import.
import 'package:devfolio/constants/theme.dart';
import 'package:jaspr/server.dart';

// Imports the [App] component.
Expand All @@ -24,6 +25,7 @@ void main() {
// with the provided parameters and components.
runApp(Document(
title: 'Hamza',
base: '/devfolio-jaspr/',
head: <Component>[
link(
href:
Expand All @@ -47,6 +49,13 @@ void main() {
family: 'Agustina',
url: '/fonts/agustina/agustina.otf',
),
css('::-webkit-scrollbar').box(width: 8.px, height: 0.px),
css('::-webkit-scrollbar-track').box(
radius: BorderRadius.circular(8.px),
),
css('::-webkit-scrollbar-thumb')
.box(radius: BorderRadius.circular(8.px))
.background(color: themePrimaryColor),
],
body: App(),
));
Expand Down
14 changes: 7 additions & 7 deletions lib/sections/about_me.dart
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ class AboutMeSection extends StatelessComponent {
span(classes: 'subtitle', [
text('Get to know me :)'),
]),
div(classes: 'section-body', [
div(classes: 'about-section-body', [
div(classes: 'profile-picture', []),
div(classes: 'about-details', [
span(
Expand Down Expand Up @@ -159,7 +159,7 @@ class AboutMeSection extends StatelessComponent {
justifyContent: JustifyContent.start,
)
.box(
padding: EdgeInsets.only(top: 5.vh),
// padding: EdgeInsets.only(top: 5.vh),
width: 100.percent,
),
css('.play-icon').text(color: themePrimaryColor),
Expand All @@ -168,15 +168,15 @@ class AboutMeSection extends StatelessComponent {
fontWeight: FontWeight.w100,
fontSize: 40.px,
),
css('.section-body')
css('.about-section-body')
.flexbox(
direction: FlexDirection.row,
// alignItems: AlignItems.center,
// justifyContent: JustifyContent.center,
alignItems: AlignItems.center,
justifyContent: JustifyContent.center,
)
.box(
margin: EdgeInsets.only(top: 50.px),
// width: 100.percent,
width: 100.percent,
),
css('.profile-picture')
.background(
Expand Down Expand Up @@ -271,7 +271,7 @@ class AboutMeSection extends StatelessComponent {
css('.about-me-section').box(
padding: EdgeInsets.only(top: 3.vh, right: 0.vw),
),
css('.section-body').flexbox(
css('.about-section-body').flexbox(
direction: FlexDirection.column,
alignItems: AlignItems.center,
justifyContent: JustifyContent.start,
Expand Down

0 comments on commit 3749d2c

Please sign in to comment.