Skip to content

Commit b35c0b8

Browse files
committed
add the cClip link and change the status
Signed-off-by: Tejas Mehta <[email protected]>
1 parent 368a62c commit b35c0b8

File tree

3 files changed

+15
-14
lines changed

3 files changed

+15
-14
lines changed

lib/ui/projects.dart

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -118,8 +118,17 @@ class ProjectsState extends State<Projects> with WidgetsBindingObserver {
118118
image: AssetImage("assets/projects/crossclip/website_logo_${ThemeController.of(context).isDark ? "dark" : "light"}.png"),
119119
title: "CrossClip",
120120
description: "A secure, versatile, and seamless cross-platform clipboard manager and file transfer agent",
121-
projectStatus: ProjectStatus.ALPHA,
122-
linkName: "crossclip",
121+
projectStatus: ProjectStatus.RELEASED,
122+
linkRow: Row(
123+
mainAxisAlignment: MainAxisAlignment.spaceEvenly,
124+
children: [
125+
IconLink(
126+
icon: Icons.link,
127+
link: "https://cclip.app",
128+
padding: const EdgeInsets.all(10),
129+
)
130+
]
131+
),
123132
),
124133

125134
//FTC Scouting and Scoring's listing
@@ -128,7 +137,6 @@ class ProjectsState extends State<Projects> with WidgetsBindingObserver {
128137
title: "FTC Scouring and Scoring",
129138
description: "An intuitive, real-time, cloud-based Scouting and Scoring application built for ease and synchronization",
130139
projectStatus: ProjectStatus.RELEASED,
131-
linkName: "ftcscoutscore",
132140
),
133141

134142
//blinkOS's listing
@@ -137,7 +145,6 @@ class ProjectsState extends State<Projects> with WidgetsBindingObserver {
137145
title: "blinkOS - A hackSugar Project",
138146
description: "An Android-based operating system build to ensure the user's privacy, security, and anonymity.",
139147
projectStatus: ProjectStatus.ALPHA,
140-
linkName: "blinkos",
141148
),
142149

143150
//Weasel's listing
@@ -146,7 +153,6 @@ class ProjectsState extends State<Projects> with WidgetsBindingObserver {
146153
title: "Weasel - A hackSugar Project",
147154
description: "An encrypted messaging client built to secure and improve upon the already widespread SMS protocol.",
148155
projectStatus: ProjectStatus.DEVELOPMENT,
149-
linkName: "weasel",
150156
),
151157
];
152158
}

lib/widgets/user_project_list_item.dart

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@ import 'package:portfolio/util/project_status.dart';
77
import 'package:portfolio/widgets/project_column.dart';
88

99
class UserProjectListItem extends StatelessWidget {
10-
final String linkName;
1110
final ImageProvider image;
1211
final String title;
1312
final String description;
1413
final ProjectStatus projectStatus;
14+
final Row? linkRow;
1515

16-
const UserProjectListItem({Key? key, required this.image, required this.title, required this.description, required this.projectStatus, required this.linkName}) : super(key: key);
16+
const UserProjectListItem({Key? key, required this.image, required this.title, required this.description, required this.projectStatus, this.linkRow}) : super(key: key);
1717

1818
///Main widget build method
1919
///Builds the UI on this screen
@@ -26,12 +26,7 @@ class UserProjectListItem extends StatelessWidget {
2626
),
2727
child: ClipRRect(
2828
borderRadius: BorderRadius.circular(15),
29-
child: InkWell(
30-
// onTap: () {
31-
// Navigator.pushReplacementNamed(context, "/project/$linkName");
32-
// },
33-
child: ProjectColumn(image: image, title: title, description: description, projectStatus: projectStatus,)
34-
),
29+
child: ProjectColumn(image: image, title: title, description: description, projectStatus: projectStatus, linkRow: linkRow,),
3530
),
3631
),
3732
);

web/api

Submodule api updated from 60c7b98 to 78dd222

0 commit comments

Comments
 (0)