xref: /DragonOS/user/apps/about/about.c (revision 2291ffdece1dc5a703602f79f74df8a4854d215b)
1 #include <libc/math.h>
2 #include <libc/stdio.h>
3 #include <libc/stdlib.h>
4 #include <libc/time.h>
5 #include <libc/unistd.h>
6 
7 void print_ascii_logo()
8 {
9     printf(" ____                                      ___   ____ \n");
10     printf("|  _ \\  _ __   __ _   __ _   ___   _ __   / _ \\ / ___| \n");
11     printf("| | | || '__| / _` | / _` | / _ \\ | '_ \\ | | | |\\___ \\  \n");
12     printf("| |_| || |   | (_| || (_| || (_) || | | || |_| | ___) |\n");
13     printf("|____/ |_|    \\__,_| \\__, | \\___/ |_| |_| \\___/ |____/ \n");
14     printf("                     |___/     \n");
15 }
16 void print_copyright()
17 {
18     printf(" DragonOS - An opensource operating system.\n");
19     printf(" Copyright: fslongjin & DragonOS Community. 2022, All rights reserved.\n");
20     printf(" Version: ");
21     put_string("V0.1.1 - 20221127\n", COLOR_GREEN, COLOR_BLACK);
22     printf(" You can visit the project via:\n");
23     printf("\n");
24     put_string("    Official Website: https://DragonOS.org\n", COLOR_INDIGO, COLOR_BLACK);
25     put_string("    GitHub: https://github.com/fslongjin/DragonOS\n", COLOR_ORANGE, COLOR_BLACK);
26     printf("\n");
27     printf(" Maintainer: longjin <longjin@RinGoTek.cn>\n");
28     printf(" Get contact with the community: <contact@DragonOS.org>\n");
29     printf("\n");
30     printf(" If you find any problems during use, please visit:\n");
31     put_string("    https://bbs.DragonOS.org\n", COLOR_ORANGE, COLOR_BLACK);
32     printf("\n");
33 }
34 
35 int main()
36 {
37     // printf("Hello World!\n");
38     print_ascii_logo();
39 
40     print_copyright();
41     // exit(0);
42     // while (1)
43     //     ;
44 
45     return 0;
46 }